[Bug 260507] FreeBSD 13.0: zfs snapshot does not store a snapshot in the .zfs/snapshot directory
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 260507] FreeBSD 13.0: zfs snapshot does not store a snapshot in the .zfs/snapshot directory"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 260507] FreeBSD 13.0: zfs snapshot does not store a snapshot in the .zfs/snapshot directory"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 18 Dec 2021 00:50:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260507
Bug ID: 260507
Summary: FreeBSD 13.0: zfs snapshot does not store a snapshot
in the .zfs/snapshot directory
Product: Base System
Version: 13.0-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: yonas.yanfa@gmail.com
# Effects
FreeBSD 13.0
# Does not effect
FreeBSD 12.0
# How to reproduce
$ pkg install -y pwgen fish
$ fish
$ zfs create zroot/test
$ for i in (seq 1 100); pwgen -C --secure --symbols 100 | tee -a
/zroot/test/blah > /dev/null; end
$ ls -la /zroot/test/blah
$ for i in (seq 1 100); pwgen -C --secure --symbols 100 | tee -a
/zroot/test/blah > /dev/null; end
$ zfs set snapdir=visible zroot/test
$ zfs snapshot zroot/test@now
$ find /zroot/test/.zfs/
$ find /zroot/test/.zfs/snapshot/now/blah
$ cat /zroot/test/.zfs/snapshot/now/blah
$ truncate -s0 /zroot/test/blah
$ zfs rollback zroot/test@now
$ cat /zroot/test/blah
# Expected results
The test file, /zroot/test/blah, should contain a bunch of random text, and not
be empty.
--
You are receiving this mail because:
You are the assignee for the bug.