-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
zpool-remove.8: describe top-level vdev sector size limitation #12472
zpool-remove.8: describe top-level vdev sector size limitation #12472
Conversation
b2af61d
to
55560c1
Compare
Sorry if I messed things up by force-pushing a commit here. (I had a commit message line longer than 72 chars, so checkstyle was failing.) |
.Pp | ||
Top-level vdevs can only be removed if the primary pool storage does not contain | ||
a top-level raidz vdev, all top-level vdevs have the same sector size, and the | ||
keys for all encrypted datasets are loaded. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for mentioning the sector size restriction, however I think in the updated wording we should make it clear these restriction don't apply to spares, cache and log devices. Only top-level vdevs which are part of the primary pool storage (singletons, mirrors, dedup, and special vdevs). The pool also cannot contain either raidz or draid vdevs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. I'll re-work it to be clearer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@behlendorf I pushed 9f93ea4 with what I think is clearer wording.
Document that top-level vdevs cannot be removed unless all top-level vdevs have the same sector size. Signed-off-by: Sam Hathaway <sam@sam-hathaway.com> Closes: #11339
55560c1
to
9f93ea4
Compare
Document that top-level vdevs cannot be removed unless all top-level vdevs have the same sector size. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Sam Hathaway <sam@sam-hathaway.com> Closes openzfs#11339 Closes openzfs#12472
Document that top-level vdevs cannot be removed unless all top-level vdevs have the same sector size. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Sam Hathaway <sam@sam-hathaway.com> Closes openzfs#11339 Closes openzfs#12472
Document that top-level vdevs cannot be removed unless all top-level vdevs have the same sector size. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Sam Hathaway <sam@sam-hathaway.com> Closes openzfs#11339 Closes openzfs#12472
Document that top-level vdevs cannot be removed unless all top-level vdevs have the same sector size. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Sam Hathaway <sam@sam-hathaway.com> Closes openzfs#11339 Closes openzfs#12472
Document that top-level vdevs cannot be removed unless all top-level vdevs have the same sector size. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Sam Hathaway <sam@sam-hathaway.com> Closes openzfs#11339 Closes openzfs#12472
Document that top-level vdevs cannot be removed unless all top-level vdevs have the same sector size. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Sam Hathaway <sam@sam-hathaway.com> Closes openzfs#11339 Closes openzfs#12472
Document that top-level vdevs cannot be removed unless all top-level vdevs have the same sector size.
Signed-off-by: Sam Hathaway sam@sam-hathaway.com
Closes: #11339
Motivation and Context
It is currently undocumented that top-level vdevs cannot be removed unless all top-level vdevs have the same sector size. This patch adds this fact to zpool-remove.8.
Description
This patch adds text to zpool-remove.8 to explain that top-level vdevs cannot be removed unless all top-level vdevs have the same sector size.
How Has This Been Tested?
I compiled the manpage to ensure that I hadn't broken anything.
Types of changes
Checklist:
Signed-off-by
.