On Tue, 2005-07-26 at 16:03 +0100, Robin Bowes wrote: > Hi, > > I have a rather large ext3 filesystem which is running out of inodes: > > [root@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@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. > I don't think you can do it online. In the meanwhile, you should find the user with lots of small files to buy you some time. Something like: cd /home && for i in *; do echo -n "$i: "; find $i -type f | wc -l; done will probably do it.