How To
Summary
In pureScale we can safely change it via " mmchfs gpfs1 --inode-limit 1000000"
Note the maximum inode limit for a file system which is caculated by GPFS,
depends on the total space and the block size. When the number exceed
the maximum inode limit the command will prompt you the error like
following. You should reduce the number to the allowed value range.
[root@c866f2u19 ~]# mmchfs fs9 --inode-limit 1000000000
Total file system capacity allows 162597888 inodes.
Total current inode limit used over all inode spaces is 1905664
Total file system capacity allows setting inode limit to at the most 162597888 for inode space 0
Input parameter value for inode limit out of range.
mmchfs: tschfileset failed.
mmchfs: Command failed. Examine previous error messages to determine cause.
# ./mmchfs db2fs1 --inode-limit 5825536
Set maxInodes for inode space 0 to 5825536
Fileset root changed.
(Please noted that above change can be done online , no need to put pureScale into maintenance mode . )
More information about how gpfs calculate the maxNumberOfInodes ?
File system creation considerations
https://www.ibm.com/support/knowledgecenter/en/STXKQY_4.2.0/com.ibm.spectrum.scale.v4r2.ins.doc/bl1ins_plcrfs.htm
Specifying the maximum number of files that can be created
https://www.ibm.com/support/knowledgecenter/STXKQY_4.2.0/com.ibm.spectrum.scale.v4r2.ins.doc/bl1ins_maxnfle.htm#maxnfle
Document Location
Worldwide
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
30 April 2025
UID
ibm16356281