mirror_zfs/cmd/zpool
Tony Hutter 4dc115328f
Make 'zpool labelclear -f' work on offlined disks
This patch allows you to clear the label on offlined disks in an active
pool with `-f`.  Previously, labelclear wouldn't let you do that.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #12511
2021-08-27 10:26:49 -06:00
..
compatibility.d Add compatibility file sets (ZoL 0.6.1, 0.6.4, OpenZFS 2.1) 2021-03-31 09:40:25 -07:00
os Move check_file to os/$platform section 2021-07-26 16:34:11 -07:00
zpool.d Turn checkbashisms into a make target 2021-06-01 11:38:54 -07:00
.gitignore Add .gitignore files to exclude build products 2010-01-08 11:35:17 -08:00
Makefile.am Turn shellcheck into a normal make target. Fix new files it caught 2021-06-01 11:38:49 -07:00
zpool_iter.c zpool: vdev_run_cmd(): don't free undefined pointers 2021-05-08 09:21:59 -07:00
zpool_main.c Make 'zpool labelclear -f' work on offlined disks 2021-08-27 10:26:49 -06:00
zpool_util.c zpool: import: use realloc for realloc, remove strtok 2021-05-26 14:50:59 -07:00
zpool_util.h Move check_file to os/$platform section 2021-07-26 16:34:11 -07:00
zpool_vdev.c Move check_file to os/$platform section 2021-07-26 16:34:11 -07:00