zpool import pool
zpool import -o readonly=on -f pool
zfs list -o space
sysctl vfs.zfs.recover=1
zdb -AAA -b pool
Thanks. Just not sure whether metaslab issue is because of a faulty drive or just something related to zfs. I'm just going to get another drive to be on the safe side.google AI,
zpool scrub cannot fix this because it repairs data and metadata blocks, but metaslabs are internal allocation structures that a scrub doesn't "re-write.
You can attempt to import with the recovery flag:
zpool import -F ;pool_name; (Note: This may discard the last few transactions)
Otherwise backup the part where you don't get at the metaslab & dump the pool.![]()
diff --git a/module/zfs/range_tree.c b/module/zfs/range_tree.c
index d73195f1a..3835023f5 100644
--- a/module/zfs/range_tree.c
+++ b/module/zfs/range_tree.c
@@ -531,7 +531,7 @@ zfs_range_tree_remove_impl(zfs_range_tree_t *rt, uint64_t start, uint64_t size,
}
if (!(rstart <= start && rend >= end)) {
- panic("zfs: rt=%s: removing segment "
+ zfs_panic_recover("zfs: rt=%s: removing segment "
"(offset=%llx size=%llx) not completely overlapped by "
"existing one (offset=%llx size=%llx)",
ZFS_RT_NAME(rt),
Slop in a OS ZFS integratiion? Not sure but I think it should be optionally compatible with older versions. Upgrading the ZFS kernel code to specific behavior as a "point of no return" is a shortcoming of the system.hm, wonder if the infestation of slop in software might have something to do with the sudden widespread unreliability of that software. it's probably nothing.
Slop in a OS ZFS integratiion? Not sure but I think it should be optionally compatible with older versions using conversion. Upgrading the ZFS kernel code to specific behavior as a "point of no return" is a shortcoming of the system.