[Bug 207464] Panic when destroying ZFS snapshot on boot filesystem

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 25 18:45:24 UTC 2016


dustinwenz at ebureau.com changed:

           What    |Removed                     |Added
           Severity|Affects Only Me             |Affects Many People

--- Comment #2 from dustinwenz at ebureau.com ---
Turns out this is quite easy to reproduce. In the following example, the system
is booted from a filesystem called "zroot". Running the following three shell
commands twice in succession consistently causes a panic, even on
10.3-PRERELEASE r295115M:

zfs snapshot zroot at panic
ls -d /.zfs/snapshot/panic
zfs destroy zroot at panic

The "ls -d" operation on the .zfs snapshot is required to cause the panic. It
also seems important to do this on a freshly booted system; if many successful
snapshot/destroy operations are done, the machine stops being susceptible to
the panic.

The issue is not particularly timing-sensitive. I can still reproduce even when
waiting 5 seconds between operations.

You are receiving this mail because:
You are on the CC list for the bug.

More information about the freebsd-amd64 mailing list