Showing posts from October, 2010

Using up all the the free Inodes

Today my mind was stucked with a question. How the Linux system will behave when all the number of free inodes in a  file system has been filled up , and there are no free inodes ?.
For this I first tried to identify the number of free inodes in my system. One option for me is to use the tune2fs command to view the superblock information which will have the entry for the number of free inodes. This is a snippet of tune2fs -l from my system .
$ sudo tune2fs -l /dev/sda6
tune2fs 1.41.10 (10-Feb-2009)
Filesystem volume name:  
Last mounted on:          /home
Filesystem UUID:          f7abadee-5b6a-4c30-b117-ba097e4c6123
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Filesystem flags:         signed_directory_hash
Default mount options:    user_xattr acl
Filesystem state:         clean