Changeset 2925 in MondoRescue
- Timestamp:
- Dec 22, 2011, 11:59:41 PM (13 years ago)
- Location:
- branches/3.0/mindi
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/mindi/analyze-my-lvm
r2852 r2925 291 291 } 292 292 293 ListAllLogicalVolumesSortedBydm() { 294 for d in `ListAllLogicalVolumes` ; do 295 dm=`mindi --readalllink $d | tail -1` 296 echo "$dm|$d" >> $MINDI_TMP/sorteddm 297 done 298 sort -t'|' $MINDI_TMP/sorteddm | cut -d'|' -f1 299 } 293 300 294 301 ListAllLogicalVolumes() { … … 414 421 echo "" 415 422 echo "Finally, create the LV's (logical volumes)." 416 all_logical_volumes=`ListAllLogicalVolumes `423 all_logical_volumes=`ListAllLogicalVolumesSortedBydm` 417 424 for current_LV in $all_logical_volumes ; do 418 425 ProcessLogicalVolume $current_LV -
branches/3.0/mindi/rootfs/etc/init.d/rcS
r2918 r2925 657 657 # In some cases, the OBDR tape remains in CD-ROM mode. This branch solves that issue (#498) 658 658 if [ "`grep -i 'obdr ' /tmp/mondo-restore.cfg 2>/dev/null`" ] && [ -x /usr/bin/hpsa_obdr_mode ]; then 659 659 for lun in `/usr/bin/hpsa_obdr_mode -m query /dev/cciss/* 2>&1 | grep "is an OBDR device" | cut -d' ' -f4`; do 660 660 /usr/bin/hpsa_obdr_mode -m query -l $lun /dev/cciss/* 2>&1 | grep -q "is in CD-ROM mode" 661 661 if [ $? -eq 0 ]; then
Note:
See TracChangeset
for help on using the changeset viewer.