Date: Mon, 20 Jan 2025 17:38:37 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 210671] 'du' may report smaller than expected size(s) when using zfs Message-ID: <bug-210671-227-ilsbfhtwiO@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-210671-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210671 Alexander Motin <mav@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed CC| |mav@FreeBSD.org Resolution|--- |Works As Intended --- Comment #3 from Alexander Motin <mav@FreeBSD.org> --- I don't think anything can get out of this bug report. As was written years before this is just how ZFS works. It does not know how much space file uses until transaction group is committed, that might take several seconds. People who need the information sooner can use `zpool sync` to trigger and wait for its completion. But it can not be done routinely for every `du` call, since it will be too expensive for unprivileged user to do without reason. -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210671-227-ilsbfhtwiO>
