Changeset 2702


Ignore:
Timestamp:
Jan 27, 2011, 7:31:15 PM (9 years ago)
Author:
bruno
Message:

r4178@localhost: bruno | 2011-01-26 22:08:55 +0100

  • Replace usage of pvs zith pvscan for speed reasons in analyze-my-lvm (still some speed optimizations to do in that script)
File:
1 edited

Legend:

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

    r2701 r2702  
    134134    if [ $lvmversion = 2 ]; then
    135135        VG_params=`GenerateVgcreateParameters $current_VG`
    136         current_PVs=`$LVMCMD pvs | grep " $current_VG " | awk '{print $1}' | tr '\n' ' '`
     136        current_PVs=`$LVMCMD pvscan | grep " $current_VG " | awk '{print $2}' | tr '\n' ' '`
    137137        list_of_devices=$current_PVs
    138138    else
Note: See TracChangeset for help on using the changeset viewer.