Displaying 1 result from an estimated 1 matches for "pvs_output".
Did you mean:
ps_output
2011 Aug 31
1
[PATCH node] fix install when VG exists on disk
..., dev)
- if pvs > 0:
+ pvs_cmd = "pvs -o pv_name,vg_uuid --noheadings | grep \"%s\" | egrep -v -q \"%s%s[0-9]+|%s \"" % (vg, dev, part_delim, dev)
+ pvs = subprocess.Popen(pvs_cmd, shell=True, stdout=PIPE, stderr=STDOUT)
+ pvs_output = pvs.stdout.read()
+ if pvs_output > 0:
log("The volume group \"%s\" spans multiple disks.") % vg
log("This operation cannot complete. Please manually")
log("cleanup the storage using standard disk...