Why did my zpool replace never finish and what should I do now?
Posted
by
Josh
on Server Fault
See other posts from Server Fault
or by Josh
Published on 2012-10-09T20:59:18Z
Indexed on
2012/10/09
21:43 UTC
Read the original article
Hit count: 280
I have a ZFS zpool with two disks in a mirror configuration, da0
and da1
. da1
failed, and so I replaced it with da2
using
zpool replace BearCow da1 da2
This ran for a few hours, during which zpool status
showed that the array was being resilvered. When that finished, zpool status
showed that the resilver was completed, but the array was still degraded...
I tried a zpool scrub
and a zpool clear
, but the array still shows as degraded:
[root@chef] ~# zpool status BearCow
pool: BearCow
state: DEGRADED
scrub: scrub completed after 0h20m with 0 errors on Tue Oct 9 16:13:27 2012
config:
NAME STATE READ WRITE CKSUM
BearCow DEGRADED 0 0 0
mirror DEGRADED 0 0 0
da0 ONLINE 0 0 0
replacing DEGRADED 0 0 0
da1 OFFLINE 0 0 0
da2 ONLINE 0 0 0
errors: No known data errors
I can't zpool replace BearCow da1 da2
anymore because da2
is already a member of BearCow...
This is FreeBSD (FreeNAS) running ZFS pool version 15.
How do I get my array to show as healthy again?
© Server Fault or respective owner