Changeset 2534 in MondoRescue for branches/2.2.9/mindi/analyze-my-lvm


Ignore:
Timestamp:
Jan 8, 2010, 4:01:31 PM (14 years ago)
Author:
Bruno Cornec
Message:

r3755@localhost: bruno | 2010-01-08 14:31:20 +0100

  • Exclude LVs whose VGs are excluded now in analyze-my-lvm
File:
1 edited

Legend:

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

    r2532 r2534  
    5151        fi
    5252    fi
    53     echo "# $LVMCMD lvcreate$params -n $logical_volume $volume_group"
     53    # Do not process LV whose VG are excluded
     54    if ["`grep $volume_group $MINDI_TMP/excludedvgs`" = "" ]; then
     55        echo "# $LVMCMD lvcreate$params -n $logical_volume $volume_group"
     56    fi
     57    rm -f $MINDI_TMP/excludedvgs
    5458}
    5559
     
    131135    fi
    132136
     137    rm -f $MINDI_TMP/excludedvgs
    133138    if [ "$EXCLUDE_DEVS" ] ; then
    134139        for ed in $EXCLUDE_DEVS ; do
    135140            if  [ "`echo " $list_of_devices" | grep " $ed"`" != "" ]; then
     141                echo $current_VG >> $MINDI_TMP/excludedvgs
    136142                return
    137143            fi
Note: See TracChangeset for help on using the changeset viewer.