Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-913 test: Framework needs to record the test filesystem.
[fs/lustre-release.git]
/
lustre
/
tests
/
mds-survey.sh
diff --git
a/lustre/tests/mds-survey.sh
b/lustre/tests/mds-survey.sh
index
a7a192a
..
63510e9
100644
(file)
--- a/
lustre/tests/mds-survey.sh
+++ b/
lustre/tests/mds-survey.sh
@@
-37,8
+37,7
@@
adjust_inode() {
require_inode=$((file_count * thrhi))
# get available inode for mdt
require_inode=$((file_count * thrhi))
# get available inode for mdt
- avail_mdt_inode=$($LFS df -i $MOUNT | grep "filesystem summary:" | \
- awk '{print $5}')
+ avail_mdt_inode=$(lfs_df -i $MOUNT | grep "summary" | awk '{print $4}')
avail_mdt_inode=$((avail_mdt_inode * 9 / 10))
# get available inode for ost
avail_mdt_inode=$((avail_mdt_inode * 9 / 10))
# get available inode for ost