[ZFS] "online" spares ?
Ben RUBSON
ben.rubson at gmail.com
Tue Aug 23 13:03:53 UTC 2016
> On 23 Aug 2016, at 14:52, Oliver Peter <lists at peter.de.com> wrote:
>
> 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, many thanks, it worked !
Thank you again,
Ben
More information about the freebsd-fs
mailing list