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

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 18 Jun 2021 14:22:41 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256582

--- Comment #11 from Sergei Masharov <serzh_at_expir.org> ---
# dtrace -i 'fbt:zfs::return /arg1 == 45/ {trace(".");}' -c "zpool replace t1
ada0s2 ada1s1"
dtrace: description 'fbt:zfs::return ' matched 4739 probes
cannot replace ada0s2 with ada1s1: already in replacing/spare config; wait for
completion or use 'zpool detach'
dtrace: pid 69066 exited with status 255
CPU     ID                    FUNCTION:NAME
  1  72740             spa_vdev_exit:return   .
  1  72728           spa_vdev_attach:return   .
  1  67877       zfs_ioc_vdev_attach:return   .
  1  68955           spl_nvlist_free:return   .
  1  69499       zfsdev_ioctl_common:return   .
  1  64084              zfsdev_ioctl:return   .

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Fri Jun 18 2021 - 14:22:41 UTC

Original text of this message