How about not doing anything and let it work. The SWAP space provides you two functions as I recall:
- If you run out of RAM, the data in RAM can be temporarily placed into the SWAP space so RAM can be used to keep the system operational. This is a great feature however in my opinion, a properly built system should never run out of RAM in the first place.
- When you have drives that are of slightly different sizes, the SWAP space supposedly will adjust to ensure the data partition is the same size as the rest of the system. I don’t know if this is true, maybe it is.
What to do: Check your SWAP space usage in the GUI. Are you using any? A few bytes is not of concern. A 100kb or more is something to look at.
So my advice, don’t mess with it. You already have a few 2GB SWAP partitions on your system. I’ve read that if you create a new boot drive and it has over 64GB, that is will offer you the option to place create a 16GB SWAP partition on the boot drive. So things are moving off the old data drives.
Hope this helps some.
EDIT: Crap, I didn’t answer your question on how to remove your SWAP partitions on your original drives…
You have a RAIDZ1 so I would first add a new (replacement) drive to “replace” one of the drives in the system. Remove the original drive from the pool, then wipe the partition tables on the drive. Then use that drive to add into the pool and replace another old drive, rinse and repeat. Look at the TrueNAS user Guide on how to Replace a drive. this is not the same as replacing a drive due to failure.
Also read about Wipe the disk in the manual. That freakin’ manual has a lot of good stuff in it.