IBM Support

In pureScale , how to change the default inode limit configured by GPFS ?

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

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"ARM Category":[{"code":"a8m0z00000006sjAAA","label":"PureScale-\u003EGPFS"}],"ARM Case Number":"","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"All Version(s)"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
30 April 2025

UID

ibm16356281