zfsonfreebsd / ZoF

ZFS on FreeBSD - the official out of tree OpenZFS implementation for FreeBSD
https://freebsd.org
Other
100 stars 8 forks source link

Panic when trying to change key for a passphrase encrypted root dataset #134

Closed sonicaj closed 4 years ago

sonicaj commented 5 years ago
truenas# zpool create -O encryption=on -O keyformat=passphrase a /dev/da5
Enter passphrase:
Re-enter passphrase:
truenas# zfs create -o encryption=off a/nenc
truenas# zfs change-key a
Enter new passphrase for 'a':
Re-enter new passphrase for 'a':

Following the above steps results in a panic which causes a system reboot. I have been trying this on TN 12 latest

mattmacy commented 4 years ago

Works for me on projects/pr-rebase-20200107 - @freqlabs will update the port

ghost commented 4 years ago

Port was bumped for TN today. Should be running the latest commit in the next build.