From: houfeng Date: Thu, 12 Aug 2004 06:37:03 +0000 (+0000) Subject: b=4223 X-Git-Tag: 1.3.4~481 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=0989d27cee24de2092bbc36560c3c4f810e365b7;p=fs%2Flustre-release.git b=4223 r=houfeng - changed for SNMP monitoring --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 2aea097..ed4a78e 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -181,10 +181,9 @@ fi DIR=${DIR:-$MOUNT} [ -z "`echo $DIR | grep $MOUNT`" ] && echo "$DIR not in $MOUNT" && exit 99 -LOVNAME=`cat /proc/fs/lustre/llite/fs0/lov/common_name` -OSTCOUNT=`cat /proc/fs/lustre/lov/$LOVNAME/numobd` -STRIPECOUNT=`cat /proc/fs/lustre/lov/$LOVNAME/stripecount` -STRIPESIZE=`cat /proc/fs/lustre/lov/$LOVNAME/stripesize` +OSTCOUNT=`cat /proc/fs/lustre/llite/fs0/lov/numobd` +STRIPECOUNT=`cat /proc/fs/lustre/llite/fs0/lov/stripecount` +STRIPESIZE=`cat /proc/fs/lustre/llite/fs0/lov/stripesize` [ -f $DIR/d52a/foo ] && chattr -a $DIR/d52a/foo [ -f $DIR/d52b/foo ] && chattr -i $DIR/d52b/foo