[ZFS] "online" spares ?
Oliver Peter
lists at peter.de.com
Tue Aug 23 13:01:58 UTC 2016
On Mon, Aug 22, 2016 at 06:31:29PM +0200, Ben RUBSON wrote:
> Hello,
>
> Let's assume the following status :
>
> pool: zroot
> state: ONLINE
> config:
> NAME STATE READ WRITE CKSUM
> zroot ONLINE 0 0 0
> mirror-0 ONLINE 0 0 0
> (...)
> spares
> 15751675431801904320 REMOVED was /dev/label/X92020TYEEGHT
>
> For some reason one of the spares is in removed state but is now available again to the system.
> "online" command does not work for spares.
> Is there any way to bring spares back to available state without having to "remove" and "add" them again ?
>
> Many thanks !
If the spare comes up as /dev/label/X92020TYEEGHT again you might want to
give 'zpool clear zroot' a try. That did it for me.
--
Oliver PETER oliver at gfuzz.de 0x456D688F
More information about the freebsd-fs
mailing list