Displaying 4 results from an estimated 4 matches for "root2_part".
Did you mean:
boot_part
2010 Mar 23
1
[PATCH node][RFC] Fix uninstall to detect and cleanup correct partitions
...then
+ root2=RootBackup
+ elif findfs LABEL=RootUpdate 2>&1 >/dev/null; then
+ root2=RootUpdate
+ elif findfs LABEL=RootNew 2>&1 >/dev/null; then
+ root2=RootNew
+ fi
+ local root_dev root_part pv_dev pv_part root2_dev root2_part
+ if ! get_part_info $(findfs LABEL=Root 2>/dev/null) root_dev root_part; then
+ log "Can't find Root device"
+ exit 2
+ fi
+ if ! get_part_info $(findfs LABEL=root2 2>/dev/null) root2_dev root2_part; then
+ log "Can'...
2010 Oct 27
0
[PATCH node] add uninstall module
...subprocess.Popen(root2_label_lookup_cmd, shell=True, stdout=PIPE, stderr=STDOUT)
+ root2_device = root2_label_lookup.stdout.read()
+ if root2_device is None:
+ log("Can't find RootBackup/RootNew/RootUpdate device")
+ 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_...
2010 Mar 23
0
[PATCH node] Fix uninstall to detect and cleanup correct partitions
...then
+ root2=RootNew
+ fi
+ if ! get_part_info $(findfs LABEL=Root 2>/dev/null) root_dev root_part; then
+ log "Can't find Root device"
+ exit 2
+ fi
+ if ! get_part_info $(findfs LABEL=${root2} 2>/dev/null) root2_dev root2_part; then
+ log "Can't find RootBackup/RootNew/RootUpdate device"
+ exit 3
+ fi
+ if ! get_part_info $(pvs --noheadings -o pv_name,vg_name | grep HostVG | awk '{print $1}') pv_dev pv_part; then
+ log "Can't find HostVG device...
2010 Mar 24
2
[PATCH node][REPOST 1/2] Fix uninstall to detect and cleanup correct partitions
...then
+ root2=RootNew
+ fi
+ if ! get_part_info $(findfs LABEL=Root 2>/dev/null) root_dev root_part; then
+ log "Can't find Root device"
+ exit 2
+ fi
+ if ! get_part_info $(findfs LABEL=${root2} 2>/dev/null) root2_dev root2_part; then
+ log "Can't find RootBackup/RootNew/RootUpdate device"
+ exit 3
+ fi
+ if ! get_part_info $(pvs --noheadings -o pv_name,vg_name | grep HostVG | awk '{print $1}') pv_dev pv_part; then
+ log "Can't find HostVG device...