$LFS setstripe $BASEDIR -i 0 -c 1
get_stripe $BASEDIR
-IFree=$(inodes_available)
+IFree=$(mdsrate_inodes_available)
if [ $IFree -lt $NUM_FILES ]; then
NUM_FILES=$IFree
fi
fi
fi
-IFree=$(inodes_available)
+IFree=$(mdsrate_inodes_available)
if [ $IFree -lt $NUM_FILES ]; then
NUM_FILES=$IFree
fi