On Dec 19, 2001 16:34 -0500, Ray Turcotte wrote:> Well I learn something every day....
> # df -i
> Filesystem Inodes IUsed IFree IUse% Mounted on
> /dev/sda7 630240 629764 476 100% /
> /dev/sda5 17268736 3271955 13996781 19% /home
> /dev/sda6 6024 28 5996 1% /boot
>
>
> Ok what does this mean and what can I do about it?
It means your root fs is out of inodes, and (sadly) there is not (yet)
anything you can do about it easily on ext2/3. Current choices are:
1) Find out where all of these inodes are being used and delete files you
don't need, or move them into another filesystem like /home.
2) (in your case only) optionally move to devfs, and/or delete the
thousands of inodes under /dev that you don't need (short-term fix)
3) Expand your filesystem with parted, and you will also get new inodes
to go with the increased disk space
4) Create a new filesystem with a smaller block/inode ratio which will
hold all of your small files, move them there and mount it in the
right spot.
5) Implement the "dynamic inode table" that we have been kicking
around
on ext2-devel for a while. This is the proper solution, but more work.
Cheers, Andreas
> -----Original Message-----
> From: Andreas Dilger
> On Dec 19, 2001 15:49 -0500, Ray Turcotte wrote:
> > fs is on a partitioned raid drive
> > # df -h
> > Filesystem Size Used Avail Use% Mounted on
> > /dev/sda7 4.7G 2.9G 1.6G 63% /
> > /dev/sda5 130G 115G 8.9G 93% /home
> > /dev/sda6 23M 6.0M 15M 28% /boot
>
> But what is actually relevant is "df -i" because that shows you
the
> number of free inodes.
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/