I did a test to see the usage rate of inode on mds:
test1
Beginning my test, the fs stats of MDS are:
Fs size: 4279928 (1K-blocks)
Inode count: 1222992
Block count: 1222948
Reserved block count: 61147
Free blocks: 1012426
Free Inode: 1222965
I touched files ceaselessly. When touch 1190792 files, I got the error“No space left on device.” And there were still left 32173 inodes free. I guess any pre-allocate policy in lustre, and then I did a test again.
test2
Beginning my test, the fs stats of MDS are:
Inode count: 490080
Block count: 489982
Reserved block count: 24499
Free blocks: 408479
Free inodes: 490067
At the end the maximum files number is 490060, and 7 free inodes left. It seems ruleless. Why the usage rate of free inode cannot be 100%? Any rule under?
Thanks and best wishes,
Xiang
Check "lfs df -i" output. It may be that some OSTs have run out of inodes?
Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.
_______________________________________________
Lustre-discuss mailing list
Lustre-...@clusterfs.com
https://mail.clusterfs.com/mailman/listinfo/lustre-discuss