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
thanks you
Last edited by vellawitting on 2021/07/09 06:34:55, edited 1 time in total.

tunk
Posts: 1205
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
Site Admin
Posts: 33202
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.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

User avatar
jlehtone
Posts: 4523
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
Site Admin
Posts: 33202
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.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply