[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: No inodes free on /var



On Tue, Jan 08, 2002 at 07:05:24PM -0600, Michael Jinks wrote:

> Once you have /var backed up, check into the mke2fs manpage.  There
> might not be an option for tuning a filesystem in the standard debian
> install but it shouldn't be too hard to format your /dev/hda3 by hand
> instead of having the installation scripts do it for you.

Many thanks, this is how I did it :

1. backed up /var with tar
2. init 1 
3. umount /var
4. mke2fs -i 1024 /var
5. put the tar back to /var
6. reboot and tested.

now 'df -i' :

before : /dev/hda3             977280   21750  955530    2% /var
after :  /dev/hda3            1966080  287418 1678662   15% /var

As a matter of interest, tar has the '-T news' option which creates
a file system with 'one inode per 4kb block', however, the above
'-i 1024 doubles' that.

-- 
Darren Wyn Rees	     	



Reply to: