Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Aug 2016 15:03:48 +0200
From:      Ben RUBSON <ben.rubson@gmail.com>
To:        FreeBSD FS <freebsd-fs@freebsd.org>
Subject:   Re: [ZFS] "online" spares ?
Message-ID:  <0BE04DA7-1C96-436D-9E99-6E25E339E364@gmail.com>
In-Reply-To: <20160823125207.GA20287@mail.opdns.de>
References:  <CBE4BFA0-D8C8-4CAE-A232-079B3A97657C@gmail.com> <20160823125207.GA20287@mail.opdns.de>

next in thread | previous in thread | raw e-mail | index | archive | help

> On 23 Aug 2016, at 14:52, Oliver Peter <lists@peter.de.com> wrote:
>=20
> On Mon, Aug 22, 2016 at 06:31:29PM +0200, Ben RUBSON wrote:
>> Hello,
>>=20
>> Let's assume the following status :
>>=20
>>  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
>>=20
>> 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 ?
>>=20
>> Many thanks !
>=20
> 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, many thanks, it worked !

Thank you again,

Ben




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0BE04DA7-1C96-436D-9E99-6E25E339E364>