How to extend the inode number on fileserver

General support questions
Post Reply
vellawitting
Posts: 1
Joined: 2021/05/07 06:15:23

How to extend the inode number on fileserver

Post by vellawitting » 2021/05/07 06:17:10

We have one NFS mount point now the Inode number got 100% full. Please suggest how to resolve the issue without deleting the data

tunk
Posts: 985
Joined: 2017/02/22 15:08:17

Re: How to extend the inode number on fileserver

Post by tunk » 2021/05/07 15:12:37

More info please, e.g. file system type, etc. Do you know what's using inodes?
And did you first try a web search?

User avatar
TrevorH
Forum Moderator
Posts: 30776
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: How to extend the inode number on fileserver

Post by TrevorH » 2021/05/07 15:20:13

You cannot fix an out of inodes problem without a full backup and restore of the data. In any case, since you're talking about an NFS share, this is not something you can fix from the NFS client, it has to be on the NFS server which is the machine that has the actual filesystem that is out of inodes.
CentOS 6 died in November 2020 - migrate to a new version!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

User avatar
jlehtone
Posts: 3537
Joined: 2007/12/11 08:17:33
Location: Finland

Re: How to extend the inode number on fileserver

Post by jlehtone » 2021/05/07 15:56:24

Whether more metadata space can be allocated for the inodes does depend on the actual filesystem and its configuration.

IIRC, I've set some ext4 to have absolutely fixed inode count and others to be flexible. I've hit "interesting" limits on ancient XFS. I've increased inodes on NetApp FlexVol on-the-fly (but decrease is not possible).

User avatar
TrevorH
Forum Moderator
Posts: 30776
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: How to extend the inode number on fileserver

Post by TrevorH » 2021/05/07 16:02:49

I am unaware that any ext* filesystem can have its inode numbers modified post-mkfs. Theoretically xfs doesn't have an inode limit but it does seem to complain sometimes that it's run out despite that.
CentOS 6 died in November 2020 - migrate to a new version!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 7 - General Support”