"SOLVED" by importing the pool with
Now have to reinstall.
===
I did
PANIC: VERIFY0(metaslab_load(msp)) failed (0 == 97)
Booting rescue then attempting to import also results in a panic. I did freebsd-update on rescue just in case there was a bugfix; no change.
In the stack trace, the last call before spl_panic is vdev_trim_calculate_progress, so I presume there's an ongoing trim which is causing the panic.
Off the top of my head, some options I can think of are:
1. Some magical way to cancel the trim process, without needing to mount the pool first
2. Read the data from the pool (via some combination of mount options, or some other recovery tool) so I can reinstall then copy. I do have a backup, but it's not that current; last resort only.
3. Try disconnecting each side of the mirror, in case one drive has completed the trim, and is able to mount
I'll try #3 now, but #1 and #2 (and any other suggestions) are what I need help with.
Any ideas? Thanks.
-o readonly=on and copying data off. Trying to import read/write consistently results in a panic that seems to be related to an ongoing trim process.Now have to reinstall.
===
I did
zpool trim zroot. Status showed that it was trimming, but the machine panicked about 10 seconds later. It's now stuck in a loop, where it panics as it tries to mount zroot.PANIC: VERIFY0(metaslab_load(msp)) failed (0 == 97)
Booting rescue then attempting to import also results in a panic. I did freebsd-update on rescue just in case there was a bugfix; no change.
In the stack trace, the last call before spl_panic is vdev_trim_calculate_progress, so I presume there's an ongoing trim which is causing the panic.
Off the top of my head, some options I can think of are:
1. Some magical way to cancel the trim process, without needing to mount the pool first
2. Read the data from the pool (via some combination of mount options, or some other recovery tool) so I can reinstall then copy. I do have a backup, but it's not that current; last resort only.
3. Try disconnecting each side of the mirror, in case one drive has completed the trim, and is able to mount
I'll try #3 now, but #1 and #2 (and any other suggestions) are what I need help with.
Any ideas? Thanks.