Daniel Pocock wrote:
> df -lh /mnt/btrfs0
> Filesystem                    Size  Used Avail Use% Mounted on
> /dev/mapper/vg00-btrfsvol0_0  1.9T   51G  1.8T   3% /mnt/btrfs0

What are the raw values that the kernel responds with?  You didn't say
so I will assume a Linux kernel.  What is the output of this:

  $ strace -v -e trace=statfs df -lh /mnt/btrfs0

I expect to see something similar to this example:

  statfs("/", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=3247697, 
f_bfree=720002, f_bavail=556939, f_files=822544, f_ffree=291220, 
f_fsid={1837217198, 2143528657}, f_namelen=255, f_frsize=4096}) = 0

Then we will know the data that df received from the kernel and why df
is reporting what it is reporting.

Thanks,
Bob

Attachment: signature.asc
Description: Digital signature

Reply via email to