[Bug 256582] ZFS unable to attach/replace disk to the mirror/raidz
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 14 Jun 2021 19:13:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256582
--- Comment #7 from Sergei Masharov <serzh@expir.org> ---
no, zpool replace never working.
I have hoped that after migrating data to the new pool the problem will be
solved, but it was migrated to the new pool with the data.
root@proxy:/ # zpool status -v t1
pool: t1
state: ONLINE
scan: scrub repaired 0B in 00:10:16 with 0 errors on Sun Jun 13 19:43:27 2021
config:
NAME STATE READ WRITE CKSUM
t1 ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
ada0s1 ONLINE 0 0 0
ada0s2 ONLINE 0 0 0
ada0s3 ONLINE 0 0 0
ada0s4 ONLINE 0 0 0
errors: No known data errors
root@proxy:/ # zpool replace t1 ada0s4 ada2s4
cannot replace ada0s4 with ada2s4: already in replacing/spare config; wait for
completion or use 'zpool detach'
root@proxy:/ # zdb -l /dev/ada2s4
------------------------------------
LABEL 0
------------------------------------
version: 5000
name: 't1'
state: 0
txg: 0
pool_guid: 6410165186213320141
errata: 0
hostname: 'proxy.expir.org'
top_guid: 14589067438874636017
guid: 14589067438874636017
vdev_children: 1
vdev_tree:
type: 'disk'
id: 0
guid: 14589067438874636017
path: '/dev/ada2s4'
whole_disk: 1
metaslab_array: 0
metaslab_shift: 0
ashift: 12
asize: 42944954368
is_log: 0
create_txg: 21014
features_for_read:
com.delphix:hole_birth
com.delphix:embedded_data
create_txg: 21014
labels = 0 1 2 3
--
You are receiving this mail because:
You are the assignee for the bug.