huge difference between du and df - no open file descriptors

Nils Effenberger effenberger at work.de
Wed Jul 30 13:14:03 UTC 2014



On Wed, 30 Jul 2014 14:01:27 +0100
Mike Clarke <jmc-freebsd2 at milibyte.co.uk> wrote:

> On Wednesday 30 July 2014 14:26:09 Nils Effenberger wrote:
> 
> > du and df are showing signifcantly different values on our storage
> > system:
> > 
> > [root at zhoernchen ~]# df -h /
> > Filesystem          Size    Used   Avail Capacity Mounted on  
> > /dev/mirror/root    4.8G    4.1G   336M  93%    / 
> > [root at zhoernchen ~]# du -shx / 
> > 2.3G    /
> 
> Could it be that you have copies=2 set on any zfs filesystems on that 
> partition?

I don't think so. The root partition is a mirrored (gmirror) UFS
partition, no rooot on zfs.



--
Nils Effenberger
Junior UNIX-Administration

n at work Internet Informationssysteme GmbH Wandalenweg 5, 20097 Hamburg,
http://www.work.de E-Mail: effenberger at work.de, Tel: +49 40 2388090 -
Fax: +49 40 23880929

HR B 61 668 - Amtsgericht Hamburg, Geschaeftsfuehrer: Jan Diegelmann


More information about the freebsd-questions mailing list