Page 1 of 1

Panic partitioning an encrypted ZVOL

PostPosted: Sat Nov 25, 2017 10:20 pm
by perry
I've been playing around with 1.7.0 encryption on 10.13.1, and found a reproducible panic when I ask diskutil to partition an encrypted ZVOL ("Invalid dnode block MAC").

Interesting to pursue, or known and I should just play with encryption some other month?

Cheers
-- perry

Re: Panic partitioning an encrypted ZVOL

PostPosted: Sun Nov 26, 2017 4:39 pm
by lundman
There is already a known fix (which might be related) in master since the 1.7.0 release, but more importantly, there is an "ondisk" change coming for crypto, details are here:

https://github.com/zfsonlinux/zfs/pull/6864

We are currently waiting for this to be finished, so we can merge it and do another (full) release.

Re: Panic partitioning an encrypted ZVOL

PostPosted: Mon Nov 27, 2017 10:04 pm
by perry
Ouch. So if I read the bug description right, after the fix all current encrypted filesystems will mount read-only and we'll have to do what, exactly? Recreate them from scratch? Send/recv them in place?

Cheers
-- perry

Re: Panic partitioning an encrypted ZVOL

PostPosted: Tue Nov 28, 2017 11:32 am
by abc123
perry wrote:Ouch. So if I read the bug description right, after the fix all current encrypted filesystems will mount read-only and we'll have to do what, exactly? Recreate them from scratch? Send/recv them in place?


From this https://github.com/zfsonlinux/zfs/issue ... -343272502 it sounds like you may be able to get away with a send | receive.