master
md 23 lines 1.67 KB
Rendered Raw
1 ### Understand the alert
2
3 This alarm presents the percentage of used `inodes` storage of a particular disk.
4
5 The number of `inodes` indicates the number of files and folders you have. An `inode` is a data structure, containing metadata about a file. All filenames are internally mapped to respective `inode` numbers, so if you have a
6 lot of files, it means there are a lot of `inodes`.
7
8 If the alarm is raised, it means that your storage device is running out of `inode` space. Each disk has a particular **limitation on the amount of `inodes` it can store**, determined by its size.
9
10 Many modern filesystems use dynamically allocated `inodes` instead of a static table. These should not be presented on the charts associated with this alarm, and should not ever trigger it. If such a filesystem **does** trigger this alarm, and it's constantly reporting max `inode` usage, it's probably a bug in the filesystem driver. Some such filesystems incorrectly report having max `inode` count when they should not because they have no max limit, and in turn they trigger a false positive alarm.
11
12 ### Troubleshoot the alert
13
14 Clear cache files or delete unnecessary files and folders
15
16 - To reduce the amount of how many `inodes` you store currently, you can clear your cache, trash any unnecessary files and folders in your system.
17
18 We strongly suggest that you practice a high degree of caution when cleaning up drives, and removing files, make sure that you are certain that you delete only unnecessary files.
19
20 ### Useful resources
21
22 [Linux Inodes](https://www.javatpoint.com/linux-inodes)
23 [Understanding UNIX / Linux filesystem Inodes](https://www.cyberciti.biz/tips/understanding-unixlinux-filesystem-inodes.html)