Inodes

From DikapediaV2
Jump to: navigation, search
inodes are associated with each linux file and the system can run out of inodes when multiple smaller files are created.

Inodes are references to the physical location of files on the file system. Each individual file uses one inode.


Study and add notes:

https://helpdeskgeek.com/linux-tips/what-are-inodes-in-linux-and-how-are-they-used/


https://unix.stackexchange.com/questions/117093/find-where-inodes-are-being-used Running out of inodes generally means you've got a lot of small files laying around. So the question really becomes, "what directory has a large number of files in it?" So you can run something like this, for example, this is for / directory:

{ find / -xdev -printf '%h\n' | sort | uniq -c | sort -k 1 -n; } 2>/dev/null


How to Free up inodes


  • delete/remove unwanted files
  • extend EBS volume
  • Have a secondary EBS volume to be the mountpoint of a directory -- if that one directory is taking up all inodes.