An interesting interpretation of using hot spares.

Could it be that the hot-spare code only fires if the disk goes down 
whilst the pool is active?

hm.

Nathan.

Scot Ballard wrote:
> I have configured a test system with a mirrored rpool and one hot spare. 
>  I powered the systems off, pulled one of the disks from rpool to 
> simulate a hardware failure. 
> 
> The hot spare is not activating automatically.  Is there something more 
> i should have done to make this work ? 
> 
> 
>   pool: rpool
>  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://www.sun.com/msg/ZFS-8000-2Q
>  scrub: none requested
> config:
> 
>         NAME        STATE     READ WRITE CKSUM
>         rpool       DEGRADED     0     0     0
>           mirror    DEGRADED     0     0     0
>             c0d0s0  ONLINE       0     0     0
>             c0d1s0  UNAVAIL      0     0     0  cannot open
>         spares
>           c1d1s0    AVAIL   
> 
> errors: No known data errors
> 
> 
> 
> Thanks
> 
> 
>   -Scot
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

-- 
//////////////////////////////////////////////////////////////////
// Nathan Kroenert              nathan.kroen...@sun.com         //
// Systems Engineer             Phone:  +61 3 9869-6255         //
// Sun Microsystems             Fax:    +61 3 9869-6288         //
// Level 7, 476 St. Kilda Road  Mobile: 0419 305 456            //
// Melbourne 3004   Victoria    Australia                       //
//////////////////////////////////////////////////////////////////
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to