Looking up how bad it was
So I took my personal laptop, set up a NixOS to create a NixOS live USB stick since that supports ZFS. Booted it up. I could indeed import the ZFS pool. I then scrubbed the pool to confirm how bad it was.
This was the output from
zpool status -v:
[root@nixos:/home/nixos]# zpool status -v pool: zroot state: DEGRADED 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. see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-8A scan: scrub in progress since Fri May 21 07:20:10 2021 131G scanned at 649M/s, 70.2G issued at 347M/s, 143G total 180K repaired, 49.18% done, 00:03:33 to go config: NAME STATE READ WRITE CKSUM zroot DEGRADED 0 0 0 nvme-LENSE30256GMSP34MEAT3TA_FBBS19071030004166-part1 DEGRADED 206 0 96 too many errors (reparing) errors: Permanent errors have been detected in the following files: zroot/nix:<0x0> zroot/home@zfs-auto-snap_frequent-2021-05-21-08h15:<0x0> zroot/home@zfs-auto-snap_frequent-2021-05-21-08h15:/etu/.mozilla/firefox/<redacted> zroot/home:<0x0> zroot/home:/etu/.mozilla/firefox/<redacted> zroot/home:/etu/.mozilla/firefox/<redacted> zroot/home:/etu/.mozilla/firefox/<redacted>
While doing this scrub I had my kernel spamming messages like this:
[ 358.895359] blk_update_request: critical medium error, dev nvme0n1, sector 279163624 op 0x0:(READ) flags 0x0 phys_seg 11 prio class 0