Changeset 124


Ignore:
Timestamp:
Nov 19, 2005, 1:04:10 AM (13 years ago)
Author:
bcornec
Message:

add MINDI_CONF to the mindi LOGFILE (The warning that we use /etc/mindi/deplist.txt should be bigger, but that is a first step)
In that case mindi loops fdisk'ing -l /dev/ida/c*d*, including the
/dev/ida/c*d*p*, which is useless, but consumes an enormous amount of time.
The patch also includes some debugging enhancement
(Philippe De Muyter)

Location:
branches/2.05/mindi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.05/mindi/CHANGES

    r102 r124  
    1 MINDI                            CHANGES                           08/23/2004
    2 
    3 1.05
    4 - Bug fix for ldd output incorrectly handled, leading to "grep not found" errors
    5 - NFS now works in interactive mode, and nolock problems are solved
    6 - IA-64 support is now working for rhel
     1MINDI                            CHANGES
     2
     31.05 (2005-11-19)
     4- Bug fix for ldd output incorrectly handled, leading to "grep not found" error
     5  (Andree Leidenfrost)
     6- NFS now works in interactive mode, and nolock problems are solve
     7  (Andree Leidenfrost)
     8- IA-64 support is now working for rhel 3
     9  (Bruno Cornec)
     10- add MINDI_CONF to the mindi LOGFILE
     11  (Philippe De Muyter)
     12- Speed up fdisk'ing dev/ida raid devices
     13  (Philippe De Muyter)
    714
    815
  • branches/2.05/mindi/mindi

    r102 r124  
    651651    echo "MONDO_HOME = $MONDO_HOME" >> $LOGFILE
    652652    [ -e "/etc/mindi" ] && MINDI_CONF=/etc/mindi || MINDI_CONF=$MINDI_HOME
     653    echo "MINDI_CONF = $MINDI_CONF" >> $LOGFILE
    653654    mkdir -p $CACHE_LOC
    654655}
     
    14201421#       partition_format="`$FDISK -l 2>> $LOGFILE | tr -s '\t' ' ' | grep -w "$absolute_partition" | $AWK 'x=$(NF-1}'`"
    14211422        partition_format="`$FDISK -l 2>> $LOGFILE | tr '*' ' ' | tr '+' ' ' | tr -s ' ' '\t' | grep -w "$absolute_partition" | cut -f5`"
    1422             echo "------- $FDISK log ------------" >> $LOGFILE
     1423            echo "------- $FDISK -l log ------------" >> $LOGFILE
    14231424            cat $FDISKLOG >> $LOGFILE
    14241425            echo "------- $FDISK log end ------------" >> $LOGFILE
     
    14351436        fi
    14361437        if [ ! "$partition_mountpt" ] ; then
    1437         for qq in "" `find /dev/ida/c*d*` ; do
     1438        for qq in "" `find /dev/ida/c*d* ! -name '*p*'` ; do
    14381439        partition_format=`$FDISK -l $qq 2>> $LOGFILE | grep -w "$c_p" | sed 's/12/|/' | tr -s '\t' ' ' | cut -d'|' -f2 | cut -d' ' -f2-9`
    1439                 echo "------- $FDISK log ------------" >> $LOGFILE
     1440                echo "------- $FDISK -l log ------------" >> $LOGFILE
    14401441                cat $FDISKLOG >> $LOGFILE
    14411442                echo "------- $FDISK log end ------------" >> $LOGFILE
     
    24452446# patch from Bill <bill@iwizard.biz> - 2003/08/25
    24462447    res=`$FDISK -s $device`
    2447     echo "------- $FDISK log ------------" >> $LOGFILE
     2448    echo "------- $FDISK -l log ------------" >> $LOGFILE
    24482449    cat $FDISKLOG >> $LOGFILE
    24492450    echo "------- $FDISK log end ------------" >> $LOGFILE
Note: See TracChangeset for help on using the changeset viewer.