-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage: show information when a stratis pool is in a degraded state
Identify the problematic 'AvailableActions' property values and show them as error. Advice the user to migrate to a new pool in cases when the pool is most likely not repairable. More info about reproducing the error states: no_ipc_requests: the reproducer can be seen in the test no_pool_changes: (quoting stratis devs) The pool will go into NoPoolChanges state if its devices have inconsistent block sizes arranged in such a way as to potentially cause filesystem failure if the pool is expanded. There is no way in Stratis to recover from this condition. We would always recommend migrating the data to a new pool. In previous editions of Stratis we did not guard against these conditions, but now we do.n So, the way we go into that state is use an old version of Stratis, make a pool with inconsistent block sizes, and then use a new version of Stratis which goes into NoPoolChanges mode when it sees that problem.
- Loading branch information
Showing
4 changed files
with
76 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters