SWAP file and partitions on disks

Status
Not open for further replies.

pjc

Contributor
Joined
Aug 26, 2014
Messages
187
As an aside, this is the first time I've ever seen anyone who wants a four-way mirror. Give us some zpool status outputs of that, for the historical record.

After the first resilver (3-way mirror):
Code:
  pool: core
 state: ONLINE
status: Some supported features are not enabled on the pool. The pool can
	still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
	the pool may no longer be accessible by software that does not support
	the features. See zpool-features(7) for details.
  scan: resilvered 3.30T in 19h22m with 0 errors on Sun Apr  8 14:28:54 2018
config:

	NAME											STATE	 READ WRITE CKSUM
	core											ONLINE	   0	 0	 0
	  mirror-0									  ONLINE	   0	 0	 0
		gptid/36e8bcc9-82df-11e4-a44b-0cc47a04a532  ONLINE	   0	 0	 0
		gptid/373554cf-82df-11e4-a44b-0cc47a04a532  ONLINE	   0	 0	 0
		gptid/eb913d6d-3ab7-11e8-9dae-0cc47a04a532  ONLINE	   0	 0	 0

errors: No known data errors

And after the second (4-way mirror):
Code:
  pool: core
 state: ONLINE
status: Some supported features are not enabled on the pool. The pool can
	still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
	the pool may no longer be accessible by software that does not support
	the features. See zpool-features(7) for details.
  scan: resilvered 3.30T in 15h26m with 0 errors on Mon Apr  9 05:57:10 2018
config:

	NAME											STATE	 READ WRITE CKSUM
	core											ONLINE	   0	 0	 0
	  mirror-0									  ONLINE	   0	 0	 0
		gptid/36e8bcc9-82df-11e4-a44b-0cc47a04a532  ONLINE	   0	 0	 0
		gptid/373554cf-82df-11e4-a44b-0cc47a04a532  ONLINE	   0	 0	 0
		gptid/eb913d6d-3ab7-11e8-9dae-0cc47a04a532  ONLINE	   0	 0	 0
		gptid/08d0a2e4-3ad6-11e8-9dae-0cc47a04a532  ONLINE	   0	 0	 0

errors: No known data errors

Interesting that the second was that much faster. I'm guessing due to heavy fragmentation on the nearly-full original two drives.
 

pjc

Contributor
Joined
Aug 26, 2014
Messages
187
I can also double-check the swap behavior from these manual changes by rebooting and seeing if FreeNAS automatically recognizes and uses the swap space on the new (manually attached) drives. If it does, then I think I can offline and detach the original pair via the GUI?
FreeNAS did recognize the swap space on the new drives after a reboot. @Stux, swapinfo was a good tip!

Offlining the old drives via the GUI removed them from active swap, but then there's no way to detach them apart from replacing them. So I had to detach them via CLI, which was easy and uneventful.

Now I'm back down to a 2-drive mirror, which automatically expanded. I'll let things sit for a few days before my next change. I've been impatient enough for one day.
 
Status
Not open for further replies.
Top