-
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 add -n not working for spare #1106
Comments
Is this just for spare vdevs? Does it work correctly for primary pool, log, and cache vdevs? |
Hey, |
I can confirm that adding cache devices with 'zpool add -n' does not show the changes it will do to the pool. This is with 0.6.2. |
With latest HEAD (pre-0.6.3), all but cache and spare works just fine. |
That's correct, but that what the bug report is all about. With -n you see all changes except for changes related to the cache and spares. |
Yeah, I saw that. I just wanted confirm that the problem still occurs. |
On 08.06.2014 21:49, Turbo Fredriksson wrote:
Aw, sorry, misunderstood you. |
I've got a WIP patch in #1801 which adds support for spares and have been meaning to finish the work and add support for cache devices but haven't had the time. Ugh, I see I did this back in October (so the branch is not based on a very recent master). I'll see if I can get to this by the end of the weekend. |
In dry run mode, zpool should display more of the proposed pool configuration for "zpool add". This commit adds support for displaying cache devices. Signed-off-by: Tim Chase <tim@chase2k.com> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue #1106
In dry run mode, zpool should display more of the proposed pool configuration for "zpool add". This commit adds support for displaying cache devices. Signed-off-by: Tim Chase <tim@chase2k.com> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue openzfs#1106
In dry run mode, zpool should display more of the proposed pool configuration for "zpool add". This commit adds support for displaying cache devices. Signed-off-by: Tim Chase <tim@chase2k.com> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue openzfs#1106
In dry run mode, zpool should display more of the proposed pool configuration for "zpool add". This commit adds support for displaying cache devices. Signed-off-by: Tim Chase <tim@chase2k.com> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue openzfs#1106
Closing, addressed by e02b533 |
…s#1106) Bumps [pin-project](https://github.com/taiki-e/pin-project) from 1.1.2 to 1.1.3. - [Release notes](https://github.com/taiki-e/pin-project/releases) - [Changelog](https://github.com/taiki-e/pin-project/blob/main/CHANGELOG.md) - [Commits](taiki-e/pin-project@v1.1.2...v1.1.3) --- updated-dependencies: - dependency-name: pin-project dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
A bug i saw with rc11:
'' zpool add -n tank spare ata-.....''
will show me the old configuration rather than the new one with the spare. The actual adding without "-n" works.
The text was updated successfully, but these errors were encountered: