[ZFS] "online" spares ?

Ben RUBSON ben.rubson at gmail.com
Mon Aug 22 16:31:33 UTC 2016


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 !

Best regards,

Ben



More information about the freebsd-fs mailing list