Ah ha.  You got it spot on.

llisted a huge amount of space consumed by mysql.  I restarted mysql and
now, df = du reports (Well almost, probably a few other processes need
resetting).

Thanks for the heads up!

[root@slab /]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/md1              2.9G  135M  2.6G   5% /
/dev/md0               15M  4.3M  9.6M  31% /boot
/dev/md3              8.7G  1.5G  6.7G  19% /home
/dev/hda9             1.0G   33M  957M   4% /tmp
/dev/md2              4.8G  2.7G  1.9G  58% /usr
/dev/md4              984M  173M  761M  19% /var
none                  250M     0  250M   0% /dev/shm

[root@slab /]# du -csh /var
157M    /var
157M    total

Darryl




-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of nate
Sent: Wednesday, November 27, 2002 3:52 PM
To: [EMAIL PROTECTED]
Subject: Re: du does not compute with df ?!?!?

Darryl Harvey said:
> Hi,
>
> I am running a RH7.2 system, My /var partition is getting a bit full, but
> when I run some tests to find out where all the files are I can't seem to
> account for all the space /var/ is saying that it is consuming.

some file(s) were deleted but the process(s) using those files have
not closed the files. So the space is not freed. du reports only on
the files it can see, df reports on the actual space(something like
that).

you can use lsof to see what processes are using /var, once you
restart them(or if you wnat, try to track down which process(s)
are using the file(s) that were deleted, possibly by you?) restart
only those processes not all of them and the space will get freed
immediately.

either that or there is some filesystem curroption, very very
likely that the issue is what I mention first though

nate





--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to