-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't import NVME root pool after trim and scrub #14643
Comments
I've imported the pool in read-only mode.
|
I made the mistake of running ZFS trim.. The trim never finished, and the system hung. I can now only import the pool in read-only mode. Anything else hangs and never completes. I can't cancel the trim, and I can't mount the pool read/write anymore. What are my options? |
I managed to import pool in read-only mode while booting from other disk. Then I did |
I have a very similar situation.
|
System information
Describe the problem you're observing
I'm using ZFS version from zfs-dkms-raidz-expansion-git AUR package and have root on ZFS on NVME drive. NVME is not in any RAID-Z, it's the only drive in the pool. I haven't run scrub on this pool for like half a year, while I upgraded to raidz-expand branch about 3 months ago.
Yesterday I deleted some big files in the root pool, created and deleted a couple of snapshots, ran a trim manually (it went without errors) and ran scrub on the pool. In progress
zpool status
responded well, but after the end of scrubbingzpool status
hung in "uninterruptible sleep" state. I didn't look into logs, waited for 12 hours, rebooted - and system didn't come back.I booted from Manjaro 6.1.19-1 installed on the other drive with the same ZFS version and tried to import the root pool from NVME. It went into uninterruptible sleep too, there's verification panic.
dmesg
output is attached below.Describe how to reproduce the problem
ahrens-raidz-expand
branch (maybe it'szfs-dkms-raidz-expansion-git
package specific?)Include any warning/errors/backtraces from the system logs
dmesg
output when trying to import the pool:The text was updated successfully, but these errors were encountered: