Changeset 2534


Ignore:
Timestamp:
Jan 8, 2010, 4:01:31 PM (9 years ago)
Author:
bruno
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.