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

Re: Discrepencies between du and df.



My first guess is you have deleted some files that are stil open. DU will
not show the deleted files, but since they are still in use DF will count
them.

Maarten

----- Original Message -----
From: "Fred Clausen" <fred@unique.com>
To: <debian-isp@lists.debian.org>
Sent: Friday, May 03, 2002 11:04 AM
Subject: Discrepencies between du and df.


> Hi All,
>
> I am having a strange problem where the output of du and df do not
> correlate. Here are the symptoms :
>
> $df /var
> Filesystem           1k-blocks      Used Available Use% Mounted on
> /dev/hda10              606405    596139         0 100% /var
>
> $du -s /var
> 54157 /var
>
> Here we can see that du thinks there is only about 54M used but df reckons
> there is over 596M used.
>
> I am using kernel 2.2.14, which is old but I cannot upgrade because I am
> using an IDE raid device from Raidzone (Smartcan)  which they no longer
> support and have no more drivers for. I will include further diagnostic
> info below.
>
> Here is the output of mount :
>
> /dev/hda8 on / type ext2 (rw,errors=remount-ro)
> proc on /proc type proc (rw)
> devpts on /dev/pts type devpts (rw,gid=5,mode=620)
> /dev/hda1 on /boot type ext2 (rw)
> /dev/hda5 on /usr type ext2 (rw)
> /dev/hda10 on /var type ext2 (rw)
> /dev/hda6 on /home type ext2 (rw)
> /dev/rza1 on /raid type ext2 (rw)
>
> I have attached the output of dmesg. If anyone has any advice I would be
> most grateful.
>
> Kind regards, Fred.
>
>


-- 
To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: