[Bug 254210] jail: nullfs: deleted files does not free up space
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Feb 2025 08:16:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254210 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% /data/pr-test/test1 /data/pr-test/storage 327G 112K 327G 0% /data/pr-test/test2 # dd if=/dev/random of=./test1/random.dd bs=1M count=1024 # 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% /data/pr-test/test1 /data/pr-test/storage 327G 1.0G 326G 0% /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% /data/pr-test/test1 /data/pr-test/storage 327G 1.0G 326G 0% /data/pr-test/test2 Unmount of test1 releases the blocks. NB: mount_nullfs option nocache does not help for me. -- You are receiving this mail because: You are the assignee for the bug.