On Mar 30, 2010, at 5:39 PM, Peter Tribble wrote:

> I have a pool (on an X4540 running S10U8) in which a disk failed, and the
> hot spare kicked in. That's perfect. I'm happy.
> 
> Then a second disk fails.
> 
> Now, I've replaced the first failed disk, and it's resilvered and I have my
> hot spare back.
> 
> But: why hasn't it used the spare to cover the other failed drive? And
> can I hotspare it manually?  I could do a straight replace, but that
> isn't quite the same thing.

Hot spares are only activated in response to a fault received by the zfs-retire 
FMA agent.  There is no notion that the spares should be re-evaluated when they 
become available at a later point in time.  Certainly a reasonable RFE, but not 
something ZFS does today.

You can 'zpool attach' the spare like a normal device - that's all that the 
retire agent is doing under the hood.

Hope that helps,

- Eric

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