Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Sep 2010 13:58:53 -0700
From:      Freddie Cash <fjwcash@gmail.com>
To:        freebsd-fs@freebsd.org
Subject:   Re: raidz: error during resilver: what next?
Message-ID:  <AANLkTinC201HLuuPH55JubnSH9e6YftAN-ROxUMOMW-q@mail.gmail.com>
In-Reply-To: <981878.92019.qm@web110711.mail.gq1.yahoo.com>
References:  <981878.92019.qm@web110711.mail.gq1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 10, 2010 at 1:08 PM, Scott Johnson <scottj75074@yahoo.com> wrot=
e:
> After power cycle, ada4 appeared fine, reporting no recent smart errors.
>
> My current zpool status:
>
> =C2=A0pool: tank
> state: DEGRADED
> status: One or more devices has experienced an error resulting in data
> =C2=A0 =C2=A0corruption. =C2=A0Applications may be affected.
> action: Restore the file in question if possible. =C2=A0Otherwise restore=
 the
> =C2=A0 =C2=A0entire pool from backup.
> =C2=A0 see: http://www.sun.com/msg/ZFS-8000-8A
> scrub: none requested
> config:
>
> =C2=A0 =C2=A0NAME =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0STATE =C2=A0 =C2=A0 READ WRITE CKSUM
> =C2=A0 =C2=A0tank =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0DEGRADED =C2=A0 =C2=A0 0 =C2=A0 =C2=A0 0 =C2=A0 =C2=A0 0
> =C2=A0 =C2=A0 =C2=A0raidz1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0DEGRADED =C2=A0 =C2=A0 0 =C2=A0 =C2=A0 0 =C2=A0 =C2=A0 0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0label/hitachi1 =C2=A0 =C2=A0ONLINE =C2=A0 =C2=
=A0 =C2=A0 0 =C2=A0 =C2=A0 0 =C2=A0 =C2=A0 0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0label/hitachi2 =C2=A0 =C2=A0ONLINE =C2=A0 =C2=
=A0 =C2=A0 0 =C2=A0 =C2=A0 0 =C2=A0 =C2=A0 0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0replacing =C2=A0 =C2=A0 =C2=A0 =C2=A0 DEGRADED=
 =C2=A0 =C2=A0 0 =C2=A0 =C2=A0 0 =C2=A0 =C2=A0 1
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ada3 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0OFFLINE =C2=A0 =C2=A0 =C2=A00 =C2=A0 283 =C2=A0 =C2=A0 0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0label/hitachi3 =C2=A0ONLINE =C2=A0 =C2=
=A0 =C2=A0 0 =C2=A0 =C2=A0 0 =C2=A0 =C2=A0 0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0ada4 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0ONLINE =C2=A0 =C2=A0 =C2=A0 0 =C2=A0 =C2=A0 0 =C2=A0 =C2=A010
>
> The resilvering did not complete, and did not automatically continue afte=
r the
> power cycle.
>
> Where do I go from here? I see two choices:
>
> 1. Continue the resilver and see what happens. (How do I restart the resi=
lver?)
>
> 2. Cancel the replacement. Pull hitachi3 and put back in the (still good)=
 ada3.
> What commands do I use? My guess:
> =C2=A0zpool offline tank label/hitachi3
> =C2=A0<replace disk>
> =C2=A0zpool online tank ada3

Number 2 is what I did last time I ran into a similar issue (search
-stable/-current/-fs for "cannot replace a replacing drive").

--=20
Freddie Cash
fjwcash@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinC201HLuuPH55JubnSH9e6YftAN-ROxUMOMW-q>