zfs/zpool encryption crash on server 21.10
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=
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=
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
ProcVersionSign
Uname: Linux 5.13.0-19-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu70
Architecture: amd64
CasperMD5CheckR
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)
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.