-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
Component: Encryption"native encryption" feature"native encryption" featureComponent: Send/Recv"zfs send/recv" feature"zfs send/recv" featureStatus: StaleNo recent activity for issueNo recent activity for issueType: DefectIncorrect behavior (e.g. crash, hang)Incorrect behavior (e.g. crash, hang)
Description
System information
| Type | Version/Name |
|---|---|
| Distribution Name | Ubuntu |
| Distribution Version | 20.04 |
| Kernel Version | 5.4.0-113-generic |
| Architecture | x86_64 |
| OpenZFS Version | 0.8.3-1ubuntu12.13 |
Describe the problem you're observing
After a reboot, ZFS volumes aren't mounting, some do, some don't.
# zpool status s -v
pool: s
state: ONLINE
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: http://zfsonlinux.org/msg/ZFS-8000-8A
scan: scrub repaired 0B in 1 days 04:22:08 with 0 errors on Mon May 9 04:46:19 2022
config:
NAME STATE READ WRITE CKSUM
s ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
ata-ST16000NM001G-<redacted> ONLINE 0 0 0
ata-ST16000NM001G-<redacted> ONLINE 0 0 0
ata-ST16000NM001G-<redacted> ONLINE 0 0 0
ata-ST16000NM001G-<redacted> ONLINE 0 0 0
ata-ST16000NM001G-<redacted> ONLINE 0 0 0
errors: Permanent errors have been detected in the following files:
s/storage/n/random:<0x0>
s/storage/n/backup:<0x0>
s/storage/n/plex:<0x0>
s/storage/n/random@20220503.103327:<0x0>
s/storage/n/security:<0x0>
s/storage/n/receipts:<0x0>
s/storage/n/creative:<0x0>
s/storage/n/music:<0x0>
s/storage/n/ebooks:<0x0>
s/storage/n/pictures:<0x0>
s/storage/n/software:<0x0># zfs mount s/storage/n/random
filesystem 's/storage/n/random' can not be mounted: Input/output error
cannot mount 's/storage/n/random': Invalid argument
The issue with the snapshot above was not visible at boot. It only came up after I tried to mount it. I was able to mount the original snapshot (non-incremental) with mount -t zfs s/storage/n/random@20220421.125431 /mnt/test but I don't have original snapshots for every volume.
Have I lost this data or is this recoverable? What works vs what doesn't seems eerily similar to #8103
Describe how to reproduce the problem
This happened after the filesystem locked up the server. Commands accessing the zpool stopped responding, and required a forced reboot (kill -9 didn't work).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Component: Encryption"native encryption" feature"native encryption" featureComponent: Send/Recv"zfs send/recv" feature"zfs send/recv" featureStatus: StaleNo recent activity for issueNo recent activity for issueType: DefectIncorrect behavior (e.g. crash, hang)Incorrect behavior (e.g. crash, hang)