[lug] Can't write but 56% free?

carl.wagner at level3.com carl.wagner at level3.com
Wed Jun 12 09:17:57 MDT 2002


Could you find out where all the small files are, make a new dir somewhere
(possibly under home), move the files and make a symlink to it?
Just make sure you don't move system files (libs and stuff in the (s)bin
dirs).

You seam to have a lot of small/empty files somewhere on your root partition.
I don't have separate /usr or /var dirs and yet I am only using 115k Inodes.

Carl.


"D. Stimits" wrote:
> 
> Barney Treadway wrote:
> >
> > jeez I was just trying to figure out statfs :-( df -i is much nicer!
> >
> > Definitely got none left, I thought I had "boosted" my available to 100K
> > thinking that was enough, guess not. This sure seems liek a ton considering
> > that partition is some maildirs, no web content, and some stupid commerce
> > cgi program???
> >
> > [root at www1 barneymail]# df -i
> > Filesystem            Inodes   IUsed   IFree IUse% Mounted on
> > /dev/hda1             256512  256512       0  100% /
> > /dev/hda6             128768      23  128745    0% /tmp
> > /dev/hda5             897600   76970  820630    9% /usr
> > /dev/hda7            1026144   28885  997259    3% /var
> > /dev/sda1            4480448   79372 4401076    2% /home
> >
> > So I'm pounding out ->:
> > echo "350000" >/proc/sys/fs/inode-max and getting the same number in df -i,
> > any idea why it won't stick on 350K for me?
> 
> I think you are trying to change the max nodes in terms of what the
> kernel or some part of the system is willing to work with, whereas what
> you are out of are inodes on the partition itself. If you want to up the
> number of inodes on ext2, I *think* you probably have to reformat it,
> although there are probably special (read dangerous) tools to boost it
> (growfs or partd I think?). One of the nice things about the XFS
> filesystem is that it can self-grow nodes if it needs them. Long story
> short, you might be advised to backup somewhere, reformat, and then
> restore, using a higher inode density during the format.
> 
> D. Stimits, stimits at idcomm.com
> 
> >
> > MANY MANY MANY thanks already for your help!!!
> >
> > ----- Original Message -----
> > From: "Bear Giles" <bgiles at coyotesong.com>
> > To: <lug at lug.boulder.co.us>
> > Sent: Tuesday, June 11, 2002 11:35 PM
> > Subject: Re: [lug] Can't write but 56% free?
> >
> > > > [Charset Windows-1252 unsupported, skipping...]
> > >
> > > You may be out of inodes.  Try 'df -i'.
> > >
> > > Bear
> > > _______________________________________________
> > > Web Page:  http://lug.boulder.co.us
> > > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> > > Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
> > >
> >
> > _______________________________________________
> > Web Page:  http://lug.boulder.co.us
> > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> > Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug



More information about the LUG mailing list