Posts

Showing posts with the label inode

Inodes full in linux

The inode is a data structure in Unix-like file system and which stores information about the file except its name and the path of the file. An inode is always said to be a metadata of data. A file in Unix-like system is stored in two places on the disk – data block and inodes. The contents of file stored in data block, and the inode contains the information about the data. The inode contains the following information: 1) Mode/permission (protection) 2) Owner ID 3) Group ID 4) Size of file 5) Number of hard links to the file 6) Time last accessed 7) Time last modified 8) Time inode last modified To list the inode of files on a directory, we can use the following command. # cd / # ls -lai total 132 2 drwxr-xr-x  24 root root   4096 Feb 26 13:31 . 2 drwxr-xr-x  24 root root   4096 Feb 26 13:31 .. 2637825 drwxr-xr-x   2 root root   4096 Jan 14 19:02 bin 196609 drwxr-xr-x   3 root root ...