Linux: increase inodes on EXT4 file system

bschelst/ April 6, 2017/ Linux/ 0 comments

If you have a file system with a lot of small files, it it possible that you are running out of inodes.
Unfortunately it is not possible to increase the number of inodes on the fly.
In order achieve this, you will need to create a new file system, using the N option, and then copy the data to that new fs:


mkfs.ext4 /dev/vgroot/lvtest -N 300000 
Share this Post

Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>