Files
mirror_zfs/lib/libzfs
Matthew Ahrens b85f47efd0 When specifying raidz vdev name, parity count should match
When specifying the name of a RAIDZ vdev on the command line, it can be
specified as raidz-<vdevID> or raidzP-<vdevID>.
e.g. `zpool clear poolname raidz-0` or `zpool clear poolname raidz2-0`

If the parity is specified in the vdev name, it should match the actual
parity of that RAIDZ vdev, otherwise the command should fail.  This
commit makes it so.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Co-authored-by: Stuart Maybee <stuart.maybee@comcast.net>
Signed-off-by: Matthew Ahrens <mahrens@delphix.com>
Closes #11742
2021-03-26 11:12:22 -07:00
..
2020-07-10 14:26:00 -07:00
2021-03-22 12:34:58 -07:00
2020-06-18 12:20:38 -07:00
2021-03-22 12:34:58 -07:00
2020-11-17 09:18:52 -08:00
2021-01-26 16:12:26 -08:00
2019-09-02 17:53:27 -07:00