Hammer: df used space output wrong

Francois Tigeot ftigeot at wolfpond.org
Thu Aug 7 02:31:19 PDT 2008


On Thu, Aug 07, 2008 at 01:37:43AM -0700, Matthew Dillon wrote:
> 
> :This is after a run of hammer reblock:
> :
> :Filesystem   Size   Used  Avail Capacity  Mounted on
> :Home         347G   960M    82G    76%    /home
> 
>     Hmm.  I'm not sure I entirely trust DF, have you rebuilt the world
>     recently?  DF went through some changes.
> 
>     Try running it with -k and without -h or -H.  And try rebuilding
>     the world to make sure DF has the libc statvfs changes as well.

AFAIK, I'm running the last kernel and world from the 2.0 branch (build on
the 6th):
DragonFly 2.0.0-RELEASE #14: Wed Aug  6 20:08:27 CEST 2008

df -k output appears to be correct:

Filesystem 1K-blocks      Used    Avail Capacity  Mounted on
Home       364036096 277831680 86204416    76%    /home

On further examination one of my UFS slices also exhibit the same problem,
so it seems not to be a Hammer specific bug.

Sorry for the noise.

-- 
Francois Tigeot





More information about the Bugs mailing list