raidz: error during resilver: what next?

Freddie Cash fjwcash at gmail.com
Fri Sep 10 20:58:55 UTC 2010


On Fri, Sep 10, 2010 at 1:08 PM, Scott Johnson <scottj75074 at 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 at gmail.com


More information about the freebsd-fs mailing list