The replace is already done.   You need to detach the old disk from the
pool:

zpool detach zones 4055832659617835295

-Chip

On Fri, Jul 28, 2017 at 11:58 AM, the outsider <[email protected]>
wrote:

> I have 2 SmartOS servers and suddenly they both had a faulty drive.
>
> Nothing was damaged, since the zones pool has 2 spares and it took one of
> the spares to replace the faulty drive.
>
>
>
> But….
>
>
>
> We have exchanged the faulty drives and we want to have a healthy pool of
> course. And there I fail at knowledge
>
> Both new drives are recognized by the server ILO and marked as good.
>
>
>
> *zpool status -x*
>
> *  pool: zones*
>
> * state: DEGRADED*
>
> *status: One or more devices are faulted in response to persistent errors.*
>
> *        Sufficient replicas exist for the pool to continue functioning in
> a*
>
> *        degraded state.*
>
> *action: Replace the faulted device, or use 'zpool clear' to mark the
> device*
>
> *        repaired.*
>
> *  scan: resilvered 90.9G in 0h39m with 0 errors on Sat Jul  8 07:38:18
> 2017*
>
> *config:*
>
>
>
> *        NAME          STATE     READ WRITE CKSUM*
>
> *        zones         DEGRADED     0     0     0*
>
> *          mirror-0    ONLINE       0     0     0*
>
> *            c0t10d0   ONLINE       0     0     0*
>
> *            c0t11d0   ONLINE       0     0     0*
>
> *          mirror-1    ONLINE       0     0     0*
>
> *            c0t12d0   ONLINE       0     0     0*
>
> *            c0t13d0   ONLINE       0     0     0*
>
> *          mirror-2    ONLINE       0     0     0*
>
> *            c0t14d0   ONLINE       0     0     0*
>
> *            c0t15d0   ONLINE       0     0     0*
>
> *          mirror-3    DEGRADED     0     0     0*
>
> *            c0t1d0    ONLINE       0     0     0*
>
> *            spare-1   DEGRADED     0     0     0*
>
> *              c0t2d0  FAULTED      0     0     0  too many errors*
>
> *              c0t8d0  ONLINE       0     0     0*
>
> *          mirror-4    ONLINE       0     0     0*
>
> *            c0t3d0    ONLINE       0     0     0*
>
> *            c0t4d0    ONLINE       0     0     0*
>
> *          mirror-5    ONLINE       0     0     0*
>
> *            c0t5d0    ONLINE       0     0     0*
>
> *            c0t6d0    ONLINE       0     0     0*
>
> *        cache*
>
> *          c0t0d0      ONLINE       0     0     0*
>
> *        spares*
>
> *          c0t8d0      INUSE     currently in use*
>
> *          c0t9d0      AVAIL*
>
>
>
> *errors: No known data errors*
>
>
>
> zpool zones clear does nothing. Trying to replace c0t2d0  with c0t8d0
> doesn’t work either.
>
> *zpool replace zones c0t2d0 c0t8d0*
>
> *cannot replace c0t2d0 with c0t8d0: c0t8d0 is busy*
>
>
>
> where to go from here?
>
> The error at the other server is different:
>
> *zpool status -x*
>
> *  pool: zones*
>
> * state: DEGRADED*
>
> *status: One or more devices could not be opened.  Sufficient replicas
> exist for*
>
> *        the pool to continue functioning in a degraded state.*
>
> *action: Attach the missing device and online it using 'zpool online'.*
>
> *   see: http://illumos.org/msg/ZFS-8000-2Q
> <http://illumos.org/msg/ZFS-8000-2Q>*
>
> *  scan: resilvered 30.9G in 2h16m with 0 errors on Wed Jul  5 21:33:29
> 2017*
>
> *config:*
>
>
>
> *        NAME                       STATE     READ WRITE CKSUM*
>
> *        zones                      DEGRADED     0     0     0*
>
> *          mirror-0                 ONLINE       0     0     0*
>
> *            c1t0d0                 ONLINE       0     0     0*
>
> *            c1t9d0                 ONLINE       0     0     0*
>
> *          mirror-1                 ONLINE       0     0     0*
>
> *            c1t10d0                ONLINE       0     0     0*
>
> *            c1t11d0                ONLINE       0     0     0*
>
> *          mirror-2                 ONLINE       0     0     0*
>
> *            c1t12d0                ONLINE       0     0     0*
>
> *            c1t13d0                ONLINE       0     0     0*
>
> *          mirror-3                 ONLINE       0     0     0*
>
> *            c1t14d0                ONLINE       0     0     0*
>
> *            c1t2d0                 ONLINE       0     0     0*
>
> *          mirror-4                 DEGRADED     0     0     0*
>
> *            c1t3d0                 ONLINE       0     0     0*
>
> *            spare-1                DEGRADED     0     0     0*
>
> *              4055832659617835295  UNAVAIL      0     0     0  was
> /dev/dsk/c1t4d0s0*
>
> *              c1t7d0               ONLINE       0     0     0*
>
> *          mirror-5                 ONLINE       0     0     0*
>
> *            c1t5d0                 ONLINE       0     0     0*
>
> *            c1t6d0                 ONLINE       0     0     0*
>
> *        cache*
>
> *          c1t1d0                   ONLINE       0     0     0*
>
> *        spares*
>
> *          c1t7d0                   INUSE     currently in use*
>
> *          c1t8d0                   AVAIL*
>
>
>
> *errors: No known data errors*
>
> *smartos-discuss* | Archives
> <https://www.listbox.com/member/archive/184463/=now>
> <https://www.listbox.com/member/archive/rss/184463/26131723-5e6842d7> |
> Modify
> <https://www.listbox.com/member/?&;>
> Your Subscription <http://www.listbox.com>
>



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to