[Bug 210671] 'du' may report smaller than expected size(s) when using zfs

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 2 02:53:37 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210671

Curtis Dunham <curtis.dunham at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |curtis.dunham at gmail.com

--- Comment #1 from Curtis Dunham <curtis.dunham at gmail.com> ---
Can confirm this exact issue on 11.1-RELEASE.
ZFS filesystem (not UFS) does not show the correct disk usage of a file until
after (presumably, per [1]) the transaction group commits.  My timings agree
with the 6 second sync interval.  I do not agree that this is a feature.

Causes bup [2]'s t/test-sparse-files.sh testcase to fail as it checks disk
usage immediately after (test-) restoring a backup.

Therefore it appears the failure is benign.

[1] https://forums.freebsd.org/threads/du-behavior.56763/#post-323135
[2] https://github.com/bup/bup

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-amd64 mailing list