2

My webserver keeps giving me the error backup failed due to high INODE usage... What is this and how can I prevent it?

nlangerdev
  • 23
  • 1
  • 5

2 Answers2

2

To over-simplify, an inode is an entry in the filesystem's database. An inode can represent a directory or a file, among other things. If you have run out of inodes, then you likely have too many files on your volume. If you can, delete some files or move them to another volume. Another option might be to tar or compress a bunch of files in to one file.

See https://unix.stackexchange.com/questions/26598/how-can-i-increase-the-number-of-inodes-in-an-ext4-filesystem

longneck
  • 23,082
  • 4
  • 52
  • 86
1

In a Unix-style file system, an index node, informally referred to as an inode, is a data structure used to represent a filesystem object, which can be one of various things including a file or a directory.

Wikipedia

You may check the inode usage with the command

df -i

Use this command to find which root folder have an unusually high number of files

for i in /*; do echo $i; find $i |wc -l; done

Then repeat with the folder that seems to be too big :

for i in /home/*; do echo $i; find $i |wc -l; done

You may delete the folders containing too much inodes. WARNING : Be sure that these files are not important before deleting anything !

Check again with 'df -i' if inode usage got down.

Eric Ly
  • 373
  • 2
  • 13