Date: Mon, 03 Feb 2025 08:16:32 +0000 From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 254210] jail: nullfs: deleted files does not free up space Message-ID: <bug-254210-3630-uRUUJMcC8e@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-254210-3630@https.bugs.freebsd.org/bugzilla/> References: <bug-254210-3630@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254210 Ronald Klop <ronald@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ronald@FreeBSD.org --- Comment #11 from Ronald Klop <ronald@FreeBSD.org> --- The jails are not needed. It looks purely nullfs. # zfs create zroot/data/pr-test # cd /data/pr-test # mkdir storage test1 test2 # mount_nullfs -o rw,noatime ./storage ./test1 # mount_nullfs -o rw,noatime ./storage ./test2 # df -h | grep "pr-test" zroot/data/pr-test 327G 112K 327G 0% /data/pr-test /data/pr-test/storage 327G 112K 327G 0%=20=20=20 /data/pr-test/test1 /data/pr-test/storage 327G 112K 327G 0%=20=20=20 /data/pr-test/test2 # dd if=3D/dev/random of=3D./test1/random.dd bs=3D1M count=3D1024 # df -h | grep "pr-test" zroot/data/pr-test 327G 1.0G 326G 0% /data/pr-test /data/pr-test/storage 327G 1.0G 326G 0%=20=20=20 /data/pr-test/test1 /data/pr-test/storage 327G 1.0G 326G 0%=20=20=20 /data/pr-test/test2 # rm ./test2/random.dd # df -h | grep "pr-test" zroot/data/pr-test 327G 1.0G 326G 0% /data/pr-test /data/pr-test/storage 327G 1.0G 326G 0%=20=20=20 /data/pr-test/test1 /data/pr-test/storage 327G 1.0G 326G 0%=20=20=20 /data/pr-test/test2 Unmount of test1 releases the blocks. NB: mount_nullfs option nocache does not help for me. --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254210-3630-uRUUJMcC8e>