You should be able to do a 'zpool detach' of the replacement and then
try again.

- Eric

On Mon, Nov 19, 2007 at 08:20:04PM -0600, Albert Chin wrote:
> Running ON b66 and had a drive fail. Ran 'zfs replace' and resilvering
> began. But, accidentally deleted the replacement drive on the array
> via CAM.
> 
> # zpool status -v
> ...
>           raidz2                                       DEGRADED     0     0   
>   0
>             c0t600A0B8000299966000005964668CB39d0      ONLINE       0     0   
>   0
>             spare                                      DEGRADED     0     0   
>   0
>               replacing                                UNAVAIL      0 79.14   
>   0  insufficient replicas
>                 c0t600A0B80002999660000059E4668CBD3d0  UNAVAIL     27   370   
>   0  cannot open
>                 c0t600A0B8000299966000006584741C7C3d0  UNAVAIL      0 82.32   
>   0  cannot open
>               c0t600A0B8000299CCC000005D84668F448d0    ONLINE       0     0   
>   0
>             c0t600A0B8000299CCC000005B44668CC6Ad0      ONLINE       0     0   
>   0
>             c0t600A0B8000299966000005A44668CC3Fd0      ONLINE       0     0   
>   0
>             c0t600A0B8000299CCC000005BA4668CD2Ed0      ONLINE       0     0   
>   0
> 
> 
> Is there a way to recover from this?
>   # zpool replace tww c0t600A0B80002999660000059E4668CBD3d0 \
>   c0t600A0B8000299CCC000006734741CD4Ed0
>   cannot replace c0t600A0B80002999660000059E4668CBD3d0 with
>   c0t600A0B8000299CCC000006734741CD4Ed0: cannot replace a replacing device
> 
> -- 
> albert chin ([EMAIL PROTECTED])
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

--
Eric Schrock, FishWorks                        http://blogs.sun.com/eschrock
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to