Skip to content

Metaslabs recovery tool #13995

@CaCTuCaTu4ECKuu

Description

@CaCTuCaTu4ECKuu

I suggest to add some tools that can recover (recreate) metaslabs data for pool
When importing pool and facing metaslab related problem it would be nice to have import option related to it.

It's burdensome to fix exact problem for every case so recreating data would be simpliest way.

There is few recent issues that target problem with metaslabs #13963 and #13483
Suggested solution is basically to recreate pool and recover from backup, while readonly mode works well for such problems it's definetely a trouble.

I'm not actually sure if I understand enough what is metaslabs and how it works, but from my understanding it's data can be recovered as long as pool disks can be read, otherwise this issue is useless.

Guy here managed to get hiw pool up in RW mode using some tunables, in that case it would be better to have recovery utility as separate tool rather than part of zpool import so it would be an option as well

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: FeatureFeature request or new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions