- In this post we are going to discuss about how to increase GPFS mount point inode limit. inode is nothing-but number of files count in our file systems.
- Once we created GPFS file systems its having the default inode maximum inode limit. its depends on our storage disk free space.
- Many time we will get the GPFS mount point inode full kind of error, suppose we are not increasing immediately cluster will have possibility to get down. So we have to take the action immediately.
- To avoid this issue we have to keep file system max inode threshold limit in monitoring script.
- This will help us to intimate before getting the inode limit full. so we can maintain our GPFS cluster environment as safe as possible.
Steps for GPFS Inode limit increase.
In AIX OS we could check GPFS mount point inode usage and free suing normal LVM command.
NODE1:# df -g /testgpfs
Filesystem GB blocks Free %Used Iused %Iused Mounted on
/dev/testgpfs 273.00 272.70 1% 4045 2% /testgpfs
To Find out Inode maximum Limit for particular cluster File Systems:
NODE1:# mmdf /dev/testgpfs -F
Inode Information
—————–
Number of used inodes: 4045
Number of free inodes: 277043
Number of allocated inodes: 281088
Maximum number of inodes: 281088
To Find out Inode maximum Limit for entire cluster File Systems:
NODE1:# mmlsfs all –inode-limit
To find out maximum Limit for particular mount point.
NODE1:# mmlsfs /dev/testgpfs –inode-limit
NODE1:# mmdf /dev/testgpfs
disk disk size failure holds holds free KB free KB
name in KB group metadata data in full blocks in fragments
————— ————- ——– ——– —– ——————– ——————-
Disks in storage pool: system (Maximum disk size allowed is 1.1 TB)
nsd1 142606336 -1 yes yes 142500352 (100%) 248 ( 0%)
nsd2 142606336 -1 yes yes 142499840 (100%) 248 ( 0%)
Tiebreak1 1048576 -1 yes yes 942848 ( 90%) 440 ( 0%)
————- ——————– ——————-
(pool total) 286261248 285943040 (100%) 936 ( 0%)
============= ==================== ===================
(total) 286261248 285943040 (100%) 936 ( 0%)
Inode Information
—————–
Number of used inodes: 4045
Number of free inodes: 277043
Number of allocated inodes: 281088
Maximum number of inodes: 281088
NODE1:# mmdf /dev/testgpfs -F
Inode Information
—————–
Number of used inodes: 4045
Number of free inodes: 277043
Number of allocated inodes: 281088
Maximum number of inodes: 281088
Syntax for increase GPFS Mount point inode limit
NODE1:# mmchfs /dev/testgpfs –inode-limit new-limit:old-max-limi<span id=”mce_marker” data-mce-type=”bookmark” data-mce-fragment=”1″>·</span>
NODE1:# mmchfs /dev/testgpfs –inode-limit 291088:281088
Set maximmum inodes for inode space 0 to 291328
Fileset root changed.
GPFS mount point Inode has been increased, Verify the inode usage to confirm.
NODE1:# mmdf /dev/testgpfs -F
Inode Information
—————–
Number of used inodes: 4045
Number of free inodes: 277043
Number of allocated inodes: 281088
Maximum number of inodes: 291328