Degarded Swap Mirror

ude6

Dabbler
Joined
Aug 2, 2017
Messages
37
Hi all,
I replaced 2 Drives via the GUI using the "replace" functionality in FreeNAS-11.1-U6.
I then pulled the replaced drives.
Now I am receiving critical errors due to missing swap volumes. This remains after a reboot.

Code:
gmirror status
		Name	Status  Components
mirror/swap0  COMPLETE  da18p1 (ACTIVE)
						da17p1 (ACTIVE)
mirror/swap1  COMPLETE  da16p1 (ACTIVE)
						da15p1 (ACTIVE)
mirror/swap2  DEGRADED  da13p1 (ACTIVE)
mirror/swap3  COMPLETE  da12p1 (ACTIVE)
						da11p1 (ACTIVE)
mirror/swap4  DEGRADED  da10p1 (ACTIVE)


Can I mannually force the gmirror to other drives? There are "unused" swap partitions available. (16 drives in the system)

Thanks!

ude6
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
You might be able to use the command gmirror insert swap2 da14p1, for example. Just substitute 14 for a valid number in your pool.

Same for swap4
 

ude6

Dabbler
Joined
Aug 2, 2017
Messages
37
ok...I tried to reboot again.
And ... behold...the 2nd (not the first!?) reboot did the trick!

Thanks anyway for the very quick response!

ude6
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
Normally, swap mirrors are established during the boot process. It is unusual that you would need to reboot twice.
 

ude6

Dabbler
Joined
Aug 2, 2017
Messages
37
anyway. it works now. it might be that the very first reboot was due to an issue with sas2ircu...
 

ude6

Dabbler
Joined
Aug 2, 2017
Messages
37
I ended up in the same situaltion today after losing and hot-swapping another drive.
The "gmirror insert swap2 da14p1" works but needs to be preceeded by a "gmirror forget swap2" so
that old references are indeed discarded. Only then can a new drive be added.
 
Top