From 0989d27cee24de2092bbc36560c3c4f810e365b7 Mon Sep 17 00:00:00 2001 From: houfeng Date: Thu, 12 Aug 2004 06:37:03 +0000 Subject: [PATCH] b=4223 r=houfeng - changed for SNMP monitoring --- lustre/tests/sanity.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 -- 1.8.3.1