![]() If you do that and you still have a problem, let us know.īy the way, if you're looking for the directories that contain lots of files, this script may help: #!/bin/bash My initial advice would be to delete all the files you can, then reboot the box to ensure no processes are left holding the files open. If a file has two directory entries linked to it, deleting one will not free the inode.Īdditionally, you can delete a directory entry but, if a running process still has the file open, the inode won't be freed. As I said, inodes belong to the file, not the directory entry. ![]() ![]() ![]() It's also possible that deleting files will not reduce the inode count if the files have multiple hard links. It's quite easy for a disk to have a large number of inodes used even if the disk is not very full.Īn inode is allocated to a file so, if you have gazillions of files, all 1 byte each, you'll run out of inodes long before you run out of disk.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |