Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
zpool create -n summary fails to mention spares specified on the command line #11122
Comments
`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


System information
Describe the problem you're observing
zpool create -nfails to mention spares in pool summaryDescribe how to reproduce the problem
Create a pool such as:
zpool create -n tank raidz2 sda sdb sdc sdd sde spare sdfOutput:
The pool summary fails to mention the spares specified on the command line
Include any warning/errors/backtraces from the system logs
NA