search for: root2_dev

Displaying 4 results from an estimated 4 matches for "root2_dev".

2010 Mar 23
1
[PATCH node][RFC] Fix uninstall to detect and cleanup correct partitions
...dev/null; 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 &q...
2010 Oct 27
0
[PATCH node] add uninstall module
...t find Root device") + sys.exit(2) + root_dev, root_part = get_part_info(root_device) + + root2_label_lookup_cmd = "findfs LABEL=" + root2 + root2_label_lookup = 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_nam...
2010 Mar 23
0
[PATCH node] Fix uninstall to detect and cleanup correct partitions
.../dev/null; 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 Ho...
2010 Mar 24
2
[PATCH node][REPOST 1/2] Fix uninstall to detect and cleanup correct partitions
.../dev/null; 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 Ho...