"of the volume group.\n" % device )
# this is the lvm partition, if it exists on that device
"of the volume group.\n" % device )
# this is the lvm partition, if it exists on that device
cmd = "pvdisplay %s | grep -q 'planetlab'" % lvm_partition
already_added= utils.sysexec_noerr(cmd, log)
cmd = "pvdisplay %s | grep -q 'planetlab'" % lvm_partition
already_added= utils.sysexec_noerr(cmd, log)