Skip to content

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

Closed
@gdevenyi

Description

@gdevenyi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: DefectIncorrect behavior (e.g. crash, hang)good first issueIndicates a good issue for first-time contributors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions