zfs/cmd
Brian Behlendorf ea39f75f64
Fix 'zpool create|add' replication level check
When the pool configuration contains a hole due to a previous device
removal ignore this top level vdev.  Failure to do so will result in
the current configuration being assessed to have a non-uniform
replication level and the expected warning will be disabled.

The zpool_add_010_pos test case was extended to cover this scenario.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #6907 
Closes #6911
2017-12-04 11:50:35 -08:00
..
arc_summary Fix data on evict_skips in arc_summary.py 2017-11-18 14:07:04 -08:00
arcstat arcstat: flush stdout / outfile after each line 2017-10-26 12:18:49 -07:00
dbufstat Add support for DMU_OTN_* types in dbufstat.py 2017-08-22 11:53:40 -07:00
fsck_zfs Add /sbin/fsck.zfs helper 2013-01-09 16:54:58 -08:00
mount_zfs Add libtpool (thread pools) 2017-08-09 15:31:08 -07:00
raidz_test Simplify threads, mutexs, cvs and rwlocks 2017-08-11 08:51:44 -07:00
vdev_id vdev_id: extension for new scsi topology 2017-09-27 10:39:47 -07:00
zdb Sequential scrub and resilvers 2017-11-15 17:27:01 -08:00
zed Added no_scrub_restart flag to zpool reopen 2017-10-26 12:26:09 -07:00
zfs Fix coverity defects: 147480, 147584 2017-10-16 15:32:48 -07:00
zgenhostid Add zgenhostid utility script 2017-07-25 13:22:03 -04:00
zhack Add libtpool (thread pools) 2017-08-09 15:31:08 -07:00
zinject Add corruption failure option to zinject(8) 2017-08-14 15:17:15 -07:00
zpool Fix 'zpool create|add' replication level check 2017-12-04 11:50:35 -08:00
zstreamdump Native Encryption for ZFS on Linux 2017-08-14 10:36:48 -07:00
ztest OpenZFS 640 - number_to_scaled_string is duplicated in several commands 2017-10-30 14:47:20 -07:00
zvol_id OpenZFS 6314 - buffer overflow in dsl_dataset_name 2016-06-28 13:47:03 -07:00
Makefile.am Retire legacy test infrastructure 2017-08-15 17:26:38 -07:00