Files
mirror_zfs/cmd
Chunwei Chen 83a5e4d6b9 Fix don't zero_label when replace with spare
When replacing a disk with non-wholedisk spare, we shouldn't zero_label
it. The wholedisk case already skip it. In fact, zero_label function
will fail saying device busy because it's already opened exclusively,
but since there's no error checking, the replace command will succeed,
causing great confusion.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
Closes #6369
2017-07-24 12:49:27 -07:00
..
2013-01-09 16:54:58 -08:00
2017-07-13 13:54:00 -04:00
2017-05-22 12:34:32 -04:00
2017-07-13 13:54:00 -04:00
2017-01-03 11:31:18 -06:00
2017-07-13 13:54:00 -04:00