Changeset 2576 in MondoRescue for branches/2.2.10/mindi/analyze-my-lvm


Ignore:
Timestamp:
Feb 5, 2010, 5:51:53 PM (14 years ago)
Author:
Bruno Cornec
Message:

svn merge -r 2567:2574 /mondorescue/branches/2.2.9
(At parity with 2.2.9.2)

  • Improve device exclusion for LVM by adding support for symlinks and mapper systematically at all levels (PV, VG, LV). Should really provvide the best support possible for LVM exclusion.
  • Also use the same exclusion technique for MINDI_EXCLUDE_DEVS in mindi itself just in case.
  • ums-cypress also added to module list following user feedback
  • Fix a bug in the vgcreate command generation where too many PVs were mentioned, due to the extension of the list. We now use a $current_PVs variable which is limited to what i needed
  • setfacl doesn't need the -h option to restore physical paths
  • THis version of mondo uses another interface for the mr_asprintf function than the one used just previously which was coredumping
  • Adds support for sata_svw for Proliant DL 385 G5p. Fixes #391.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mindi/analyze-my-lvm

    r2569 r2576  
    134134    if [ $lvmversion = 2 ]; then
    135135        VG_params=`GenerateVgcreateParameters $current_VG`
    136         list_of_devices=`$LVMCMD pvs | grep " $current_VG " | awk '{print $1}'`
     136        current_PVs=`$LVMCMD pvs | grep " $current_VG " | awk '{print $1}'`
     137        list_of_devices=$current_PVs
    137138    else
    138139        info_file=/proc/lvm/VGs/$current_VG/group
     
    145146            list_of_devices="$list_of_devices $device"
    146147        done
     148        current_PVs=$list_of_devices
    147149    fi
    148150    l=""
     
    164166        done
    165167    fi
    166     echo "# $LVMCMD vgcreate $current_VG$VG_params $list_of_devices"
     168    echo "# $LVMCMD vgcreate $current_VG$VG_params $current_PVs"
    167169    echo "# $LVMCMD vgchange -a y $current_VG"
    168170}
Note: See TracChangeset for help on using the changeset viewer.