Panic partitioning an encrypted ZVOL

Developer discussions.

Panic partitioning an encrypted ZVOL

Postby perry » Sat Nov 25, 2017 10:20 pm

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
perry
 
Posts: 4
Joined: Mon Mar 09, 2015 7:27 am

Re: Panic partitioning an encrypted ZVOL

Postby lundman » Sun Nov 26, 2017 4:39 pm

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.
User avatar
lundman
 
Posts: 486
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: Panic partitioning an encrypted ZVOL

Postby perry » Mon Nov 27, 2017 10:04 pm

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
perry
 
Posts: 4
Joined: Mon Mar 09, 2015 7:27 am

Re: Panic partitioning an encrypted ZVOL

Postby abc123 » Tue Nov 28, 2017 11:32 am

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.
abc123
 
Posts: 29
Joined: Mon Jan 30, 2017 11:46 pm


Return to OpenZFS on OS X Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron