Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Dec 2021 00:50:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 260507] FreeBSD 13.0: zfs snapshot does not store a snapshot in the .zfs/snapshot directory
Message-ID:  <bug-260507-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260507

            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=3Dvisible 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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260507-227>