Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EQUIV fails when getting ZPL props of a locked encrypted dataset #163

Open
ghost opened this issue Sep 5, 2020 · 2 comments
Open

EQUIV fails when getting ZPL props of a locked encrypted dataset #163

ghost opened this issue Sep 5, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Sep 5, 2020

# zfs create -o encryption=on -o keyformat=passphrase -o keylocation=prompt apool/crypt
enter your passphrase:
# zpool export apool
# zpool import apool
# zfs get version apool/crypt
# cat panic.txt
(!copied) is equivalent to (hdr->b_l1hdr.b_freeze_cksum == NULL)                                                                                                                               # head -20 ddb.txt
db:0:kdb.enter.default>  bt
Tracing pid 314 tid 100600 td 0xfffff8001c77b000
kdb_enter() at kdb_enter+0x37/frame 0xfffffe004f121330
vpanic() at vpanic+0x197/frame 0xfffffe004f121380
spl_panic() at spl_panic+0x3a/frame 0xfffffe004f1213e0
arc_buf_fill() at arc_buf_fill+0xc6e/frame 0xfffffe004f121480
arc_untransform() at arc_untransform+0x22/frame 0xfffffe004f1214b0
dbuf_read_() at dbuf_read_+0x767/frame 0xfffffe004f121540
dmu_buf_hold() at dmu_buf_hold+0x49/frame 0xfffffe004f121580
zap_lockdir() at zap_lockdir+0x2e/frame 0xfffffe004f121610
zap_lookup_norm() at zap_lookup_norm+0x3c/frame 0xfffffe004f121660
zap_lookup() at zap_lookup+0x11/frame 0xfffffe004f121690
zfs_get_zplprop() at zfs_get_zplprop+0xe4/frame 0xfffffe004f1216d0
zfs_ioc_objset_zplprops() at zfs_ioc_objset_zplprops+0xd8/frame 0xfffffe004f121710
zfsdev_ioctl_common() at zfsdev_ioctl_common+0x489/frame 0xfffffe004f1217b0
zfsdev_ioctl() at zfsdev_ioctl+0x143/frame 0xfffffe004f1217e0
devfs_ioctl() at devfs_ioctl+0xb5/frame 0xfffffe004f121830
VOP_IOCTL_APV() at VOP_IOCTL_APV+0xd4/frame 0xfffffe004f121860
vn_ioctl() at vn_ioctl+0x13d/frame 0xfffffe004f121970
devfs_ioctl_f() at devfs_ioctl_f+0x1e/frame 0xfffffe004f121990
@ghost ghost added the bug Something isn't working label Sep 5, 2020
@ghost ghost assigned mattmacy Sep 5, 2020
@ghost
Copy link
Author

ghost commented Sep 5, 2020

For context, that stack is from the truenas/master branch.

@ghost
Copy link
Author

ghost commented Jan 22, 2021

IIRC the PR to fix this issue is here: openzfs#10943

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant