Changeset 2566 in MondoRescue for branches/2.2.9/mindi/analyze-my-lvm
- Timestamp:
- Feb 1, 2010, 5:07:15 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi/analyze-my-lvm
r2565 r2566 51 51 fi 52 52 fi 53 54 # Exclude LVs member of that env var 55 if [ "$MINDI_EXCLUDE_DEVS" ] ; then 56 for ed in $MINDI_EXCLUDE_DEVS ; do 57 list_of_devices="`GiveMapperOfdm $LV_full_string`" 58 if [ "`echo " $list_of_devices" | grep " $ed"`" != "" ]; then 59 echo "Not including device $LV_full_string as it was excluded" 60 return 61 fi 62 done 63 fi 53 64 # Do not process LV whose VG are excluded 54 65 if [ -f $MINDI_TMP/excludedvgs ]; then 55 if [ "`grep $volume_group $MINDI_TMP/excludedvgs`" = "" ]; then 56 echo "# $LVMCMD lvcreate$params -n $logical_volume $volume_group" 57 else 66 if [ "`grep $volume_group $MINDI_TMP/excludedvgs`" != "" ]; then 58 67 echo "Not including LV $logical_volume as VG $volume_group was excluded" 59 fi 60 else 61 echo "# $LVMCMD lvcreate$params -n $logical_volume $volume_group" 62 fi 68 return 69 fi 70 fi 71 72 echo "# $LVMCMD lvcreate$params -n $logical_volume $volume_group" 63 73 } 64 74
Note:
See TracChangeset
for help on using the changeset viewer.