Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Oct 2008 11:50:39 +1030
From:      "Brendan Hart" <brendanh@strategicecommerce.com.au>
To:        "'Mel'" <fbsd.questions@rachie.is-a-geek.net>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: Large discrepancy in reported disk usage on USR partition
Message-ID:  <03a101c93af6$e2f654d0$a8e2fe70$@com.au>
In-Reply-To: <200810301538.24819.fbsd.questions@rachie.is-a-geek.net>
References:  <021f01c93a28$651752e0$2f45f8a0$@com.au> <200810301538.24819.fbsd.questions@rachie.is-a-geek.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>> #: df -h
>> Filesystem          Size    Used   Avail Capacity  Mounted on
>> /dev/aacd0s1a       496M    163M     293M    36%    /
>> devfs               1.0K    1.0K     0B      100%   /dev
>> /dev/aacd0s1e       496M    15M      441M    3%     /tmp
>> /dev/aacd0s1f        28G    25G      1.2G    96%    /usr
>> /dev/aacd0s1d       1.9G    429M     1.3G    24%    /var

> Is this output untruncated? Is df really df or an alias to 'df -t nonfs'?

Yes, it really is the untruncated output of "df -h". I also tried the "df -t
nonfs" and it gives exactly the same output as "df". What are you expecting
that is not present in the output ?

> Is it possible that nfs directory got written to /usr at some point in
time? 
> You would only notice this with du if the nfs directory is unmounted.
> Unmount it and ls -al /usr/mountpoint should only give you an empty dir

Bingo!! That is exactly the problem. An NFS mount was hiding a 17G local dir
which had an old copy of the entire NFS mounted dir. I guess it must have
been written incorrectly to this standby server by RSYNC before the NFS
mount was put in place. I will add an exclusion to rsync to make sure it
does not happen again even if the NFS dir is not mounted.

Thank you for your help, you have saved me much time rebuilding this server.

Best Regards,
Brendan Hart

---------------------------------
Brendan Hart, Development Manager
Strategic Ecommerce Division
Securepay Pty Ltd
Phone: 08-8274-4000
Fax: 08-8274-1400 
 

__________ Information from ESET NOD32 Antivirus, version of virus signature
database 3571 (20081030) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?03a101c93af6$e2f654d0$a8e2fe70$>