-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
System information
| Type | HEAD/Linux 5.9 |
|---|---|
| Distribution Name | Arch-ish |
| Distribution Version | n/a |
| Linux Kernel | 5.9.1 |
| Architecture | x86_64 |
| ZFS Version | 2.0.0-248_gd1d47691c |
| SPL Version | 2.0.0-248_gd1d47691c |
Describe the problem you're observing
Encrypted datasets failed to mount. Permanent errors were logged on the pool:
status: One or more devices has experienced an error resulting in data
corruption. Applications may be affected.
action: Restore the file in question if possible. Otherwise restore the
entire pool from backup.
The erroneous files were the "<0x0>" metadata files for each encrypted mountpoint
zfs mount -a returned "Input/Output error" for each mountpoint.
Describe how to reproduce the problem
Create a pool (possibly using encrypted send/recv) a few years ago with encrypted mountpoints, use HEAD variants of spl and zfs. Attempt to mount encrypted mountpoints.
Include any warning/errors/backtraces from the system logs
I was able to resolve the data access issue (but not the permanent pool error log) by reverting to 2.0.0-150_g3928ec533, which successfully mounts the encrypted datasets. Scrub under both versions returns no errors or checksum problems.