Increasing inodes without recreating file system

Robin Bowes robin-lists at robinbowes.com
Tue Jul 26 15:03:19 UTC 2005


Hi,

I have a rather large ext3 filesystem which is running out of inodes:

[root at dude ~]# df -i
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/md0              183936   35929  148007   20% /
/dev/mapper/audio_vg-var_lv
                       655360   22926  632434    4% /var
/dev/mapper/audio_vg-usr_lv
                      1310720  179167 1131553   14% /usr
/dev/mapper/audio_vg-home_lv
                       936320  922203   14117   99% /home
none                  194347       1  194346    1% /dev/shm

The filesystem in question is /dev/mapper/audio_vg-home_lv mounted as /home

Unfortunately, it's rather large:

[root at dude ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/md0              1.4G  633M  709M  48% /
/dev/mapper/audio_vg-var_lv
                       5.0G  3.1G  1.6G  66% /var
/dev/mapper/audio_vg-usr_lv
                       9.9G  2.7G  6.8G  29% /usr
/dev/mapper/audio_vg-home_lv
                       915G  571G  335G  64% /home
none                  760M     0  760M   0% /dev/shm

And it would be a pain to have to back it up and recreate the filesystem.

Is there anyway to increase the no. of inodes without trashing the 
filesystem and recreating it?

System information:
   FC4
   2.6.12-1.1398_FC4smp

Thanks,

R.




More information about the fedora-list mailing list