[OpenIndiana-discuss] [zfs-discuss] Zfs ignoring spares?

Roy Sigurd Karlsbakk roy at karlsbakk.net
Mon Dec 6 06:03:32 UTC 2010


> > Thanks for the clarification. Wouldn't it be nice if ZFS could fail
> > over
> > to a spare and then allow the replacement as the new spare, as with
> > what
> > is done with most commercial "hardware" RAIDs?
> 
> If you use "zpool detach" to remove the disk that went bad, the spare
> is promoted to a proper member of the pool. Then, when you replace the
> bad disk, you can use "zpool add" to add it into the pool as a new
> spare.
> 
> Admittedly, this is all a manual procedure. It's unclear if you were
> asking for this to be fully automated.

Thanks a bunch. I wasn't aware of the possibility of using detach except for mirrors (as I beleive the manual states). Just tried to detach the two bad devices, and the pool is back to ONLINE. I'll restart the iozone testing to see if all VDEVs are used this time :)

Vennlige hilsener / Best regards

roy
--
Roy Sigurd Karlsbakk
(+47) 97542685
roy at karlsbakk.net
http://blogg.karlsbakk.net/
--
I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk.



More information about the OpenIndiana-discuss mailing list