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

Ronald Klop <ron...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ron...@freebsd.org

--- Comment #11 from Ronald Klop <ron...@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.

Reply via email to