]> git.proxmox.com Git - mirror_zfs.git/commit
ZTS: zpool offline requires whole disk name
authorJohn Wren Kennedy <john.kennedy@delphix.com>
Fri, 24 Jan 2020 05:14:55 +0000 (22:14 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 24 Jan 2020 05:14:55 +0000 (21:14 -0800)
commit0d37c2bb2eea2820309675ce9e2593404c5d94f0
treefce768388d780bf205e60ffb3c9b92f075cfe119
parent20ea8540a68ff183f273fc642ac498ccd182d58e
ZTS: zpool offline requires whole disk name

When used with non-loop devices, zdb_004_pos fails because the disk
argument provided is the partition rather than the expected whole disk
name.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@ixsystems.com>
Signed-off-by: John Kennedy <john.kennedy@delphix.com>
Closes #9876
tests/zfs-tests/tests/functional/cli_root/zdb/zdb_004_pos.ksh