[Bug 256582] ZFS unable to attach/replace disk to the mirror/raidz

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 14 Jun 2021 21:21:05 +0000

--- Comment #9 from Sergei Masharov <serzh_at_expir.org> ---
by "only replace is possible" I have meant that detach function is not
available on zraid. Sorry for misled you by this phrase.

# dd if=/dev/zero of=/dev/ada2s4 bs=1M status=progress
dd: /dev/ada2s4: end of device GiB) transferred 535.001s, 80 MB/s

40961+0 records in
40960+0 records out
42949672960 bytes transferred in 535.525791 secs (80200942 bytes/sec)
root_at_proxy:/ # zdb -l /dev/ada2s4
failed to unpack label 0
failed to unpack label 1
failed to unpack label 2
failed to unpack label 3
root_at_proxy:/ # zpool replace t1 ada0s4 ada2s4
cannot replace ada0s4 with ada2s4: already in replacing/spare config; wait for
completion or use 'zpool detach'

You are receiving this mail because:
You are the assignee for the bug.
Received on Mon Jun 14 2021 - 21:21:05 UTC

Original text of this message