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> wrote:
> After power cycle, ada4 appeared fine, reporting no recent smart errors.
>
> My current zpool status:
>
>  pool: tank
> state: DEGRADED
> status: One or more devices has experienced an error resulting in data
>    corruption.  Applications may be affected.
> action: Restore the file in question if possible.  Otherwise restore the
>    entire pool from backup.
>   see: http://www.sun.com/msg/ZFS-8000-8A
> scrub: none requested
> config:
>
>    NAME                  STATE     READ WRITE CKSUM
>    tank                  DEGRADED     0     0     0
>      raidz1              DEGRADED     0     0     0
>        label/hitachi1    ONLINE       0     0     0
>        label/hitachi2    ONLINE       0     0     0
>        replacing         DEGRADED     0     0     1
>          ada3            OFFLINE      0   283     0
>          label/hitachi3  ONLINE       0     0     0
>        ada4              ONLINE       0     0    10
>
> The resilvering did not complete, and did not automatically continue after 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 resilver?)
>
> 2. Cancel the replacement. Pull hitachi3 and put back in the (still good) ada3.
> What commands do I use? My guess:
>  zpool offline tank label/hitachi3
>  <replace disk>
>  zpool 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").

-- 
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>