Solving linux partition /run out of inode space

 
The inode (index node) is a data structure in a Unix-style file system that describes a file-system object such as a file or a directory. Each inode stores the attributes and disk block locations of the object's data. What will happen if you inode full ?
 
root@darkstar:/run/test# df -hi
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/root 448K 237K 212K 53% /
devtmpfs 178K 577 177K 1% /dev
tmpfs 179K 179K 0 100% /run
tmpfs 179K 1 179K 1% /dev/shm
cgroup_root 179K 14 179K 1% /sys/fs/cgroup
none 179K 1 179K 1% /run/user/1000



mount -o remount,nr_inodes=<bignum> /run




Check with :
df -i



execute this :
mount -o remount,nr_inodes=400000 /run/


Then check again :
df -i





No comments:

Post a Comment