zfs/zpool encryption crash on server 21.10

Bug #1947498 reported by Hadmut Danisch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zfs-linux (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi,

just installed a new HPE microserver with SSD and four harddisks with new 21.10 server and tried to create a zpool with

zpool create pool1 raidz2 /dev/sda /dev/sdb /dev/sdc /dev/sdd -O encryption=on -O keyformat=passphrase

which reproducably crashed twice with the attached kernel message.

The zpool then exists, but is not encrypted.

zpool create pool1 raidz2 /dev/sda /dev/sdb /dev/sdc /dev/sdd
without the option works

and a subsequent

zfs create pool1/sub -o encryption=on -o keyformat=passphrase

works as well. Which is, however, not a real workaround for a fully encrypted pool (which worked under 20.04).

regards

ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: zfsutils-linux 2.0.6-1ubuntu2
ProcVersionSignature: Ubuntu 5.13.0-19.19-generic 5.13.14
Uname: Linux 5.13.0-19-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu70
Architecture: amd64
CasperMD5CheckResult: pass
Date: Sun Oct 17 12:44:15 2021
InstallationDate: Installed on 2021-10-17 (0 days ago)
InstallationMedia: Ubuntu-Server 21.10 "Impish Indri" - Release amd64 (20211013)
SourcePackage: zfs-linux
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Hadmut Danisch (hadmut) wrote :
Revision history for this message
Hadmut Danisch (hadmut) wrote :

There's more trouble.

I just copied several TB of data by zfs send | zfs recv from a 20.04 machine to this new machine. Worked well for hours, but at the end some crash messages, see attached second dmesg.

ZFS as it comes with 21.10 is definitely not production ready.

Revision history for this message
Hadmut Danisch (hadmut) wrote :

Even more trouble: The machine, although freshly installed, can't even properly mount the filesystems received by zfs send|zfs receive from a 20.04 machine, and hangs in shutdown, does not even turn itself off. Several PANICs.

ZFS for 21.10 is really broken.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.