Skip to content
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

Write some general rules for stratis metadata coherence and make them checkable on demand #678

Closed
mulkieran opened this issue Nov 15, 2023 · 1 comment
Assignees

Comments

@mulkieran
Copy link
Member

We should implement this in stratisd.

We can make a special invariant that checks the metadata for things like alignment and contiguousness. We would run it in our tests.

We could incorporate it into stratis-dumpmetadata.

We could also make it available via the D-Bus, although that might be excessive.

@mulkieran
Copy link
Member Author

We have added testing to verify that thin_meta and thin_meta_spare are the same size in order to catch future regressions. We can continue to add additional tests, now that the test framework is set up. So we can go ahead and close this.

See #710

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant