The Wayback Machine - https://web.archive.org/web/20201201225528/https://github.com/openzfs/zfs/issues/11122
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

zpool create -n summary fails to mention spares specified on the command line #11122

Open
gdevenyi opened this issue Oct 28, 2020 · 0 comments · May be fixed by #11167
Open

zpool create -n summary fails to mention spares specified on the command line #11122

gdevenyi opened this issue Oct 28, 2020 · 0 comments · May be fixed by #11167

Comments

@gdevenyi
Copy link
Contributor

@gdevenyi gdevenyi commented Oct 28, 2020

System information

Type Version/Name
Distribution Name Ubuntu
Distribution Version 20.04.1
Linux Kernel 5.4.0-51-generic
Architecture x86_64
ZFS Version 0.8.5-1
SPL Version 0.8.5-1

Describe the problem you're observing

zpool create -n fails to mention spares in pool summary

Describe how to reproduce the problem

Create a pool such as:
zpool create -n tank raidz2 sda sdb sdc sdd sde spare sdf

Output:

would create 'tank' with the following layout:

        tank
          raidz2
            sda
			sdb
			sdc
			sdd
			sde

The pool summary fails to mention the spares specified on the command line

Include any warning/errors/backtraces from the system logs

NA

AttilaFueloep added a commit to AttilaFueloep/zfs that referenced this issue Nov 6, 2020
`zpool create -n` fails to list cache and spare vdevs and
`zpool add -n` fails to list spare devices.

Add them to the list.

Signed-off-by: Attila Fülöp <attila@fueloep.org>

Closes openzfs#11122
@AttilaFueloep AttilaFueloep linked a pull request that will close this issue Nov 6, 2020
4 of 12 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.