Displaying 1 result from an estimated 1 matches for "pv_devic".
Did you mean:
hv_devic
2010 Oct 27
0
[PATCH node] add uninstall module
...sys.exit(3)
+ root2_dev, root2_part = get_part_info(root2_device)
+
+ pv_lookup_cmd = "pvs --noheadings -o pv_name,vg_name | grep HostVG | awk '{print $1}'"
+ pv_lookup = subprocess.Popen(pv_lookup_cmd, shell=True, stdout=PIPE, stderr=STDOUT)
+ pv_device = pv_lookup.stdout.read()
+ if pv_device is None:
+ log("Can't find HostVG device")
+ sys.exit(4)
+ pv_dev, pv_part = get_part_info(pv_device)
+
+ log("Removing volume group")
+ wipe_volume_group("HostVG")
+...