Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Sep 2003 15:44:36 +1000
From:      Colin Campbell <sgcccdc@citec.qld.gov.au>
To:        freebsd-isp@freebsd.org
Subject:   Re: df  and du output different (
Message-ID:  <20030901154436.4a11d02b.sgcccdc@citec.qld.gov.au>
In-Reply-To: <20030901094640.38576293.brian@bee-s.com>
References:  <20030901094640.38576293.brian@bee-s.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Mon, 1 Sep 2003 09:46:40 +0500
=E1=CE=C4=D2=C5=CA =EC=C5=CA=CB=C1=CE=C4 <brian@bee-s.com> wrote:

> Hi, all !
>=20
> Tomorrow i got a such curius output - see below=20
>=20
> su-2.05# df -h
> Filesystem    Size   Used  Avail Capacity  Mounted on
> /dev/da1s1e    14G   9.1G   4.3G    68%    /data
>=20
> su-2.05# cd /data
> su-2.05# du -d1 -h
> 129M    ./template
> 1.0K    ./dim
> 1.2G    ./mail
> 616M    ./stat
> 128M    ./template4renew
> 611M    ./php
> 1.2G    ./posh
> 694M    ./news
> 394M    ./switch04
> 3.0G    ./elite
> 7.9G    .
>=20
> Can you prompt me where is 9.1G-7.9G=3D1.2G ?

You have a file whose directory entry has been deleted but a process still =
has
the file open. I know you can find it with lsof. Maybe you can find it with
fstat, too.

Colin
--
Colin Campbell
Unix Support/Postmaster/Hostmaster
Citec
+61 7 3227 6334



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030901154436.4a11d02b.sgcccdc>