r=houfeng
- changed for SNMP monitoring
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