How to kill the mirrored swap space

Marco2G

Dabbler
Joined
Sep 26, 2019
Messages
14
Hi everyone

I am rearranging my pools. Now I'm trying to get rid of the slices of swap space that are mirrored across my pool disks. I had two mirrors... one of them I managed to clear but for the life of me I can't get swap0.eli to f the f off.

I used swapoff to turn it off and then I created a swap file on an SSD and put that in fstab. Upon reboot, the fstab pointed to swap0.eli once more.

Is this intended behavior?

Regards,

Marco
 

Marco2G

Dabbler
Joined
Sep 26, 2019
Messages
14
What I also don0't quite understand:

swapoff -a removes the mirror as a swap device but I still can't destroy the mirror because the disks are busy...
 

Marco2G

Dabbler
Joined
Sep 26, 2019
Messages
14
Okay, managed to turn off the 2GB reservation in Legacy GUI.

Still the mirror is busy...
 

Marco2G

Dabbler
Joined
Sep 26, 2019
Messages
14
Went ahead and pulled the disks... formated them on windows, stuck em back in and everything is working.
 

pschatz100

Guru
Joined
Mar 30, 2014
Messages
1,184
Just for information... why did you want to remove the swap space?
 

Marco2G

Dabbler
Joined
Sep 26, 2019
Messages
14
Call it a case of OCD. I don't like it when my partitions in a RAID aren't all exactly the same. And anyway, I don't see the logic in having swap on platters when there's an SSD in the system.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
And anyway, I don't see the logic in having swap on platters
The biggest reason is to account for slight differences in disk size in the event that a replacement disk is smaller than an original. Under normal circumstances, your system shouldn't be using any significant amount of swap in any event.
 
Top