Remove or Decrease Swap Space?
-
Hi Guys,
I have 20GB SSDs in my pfSense boxes and I noticed that disk space was being sucked up quickly. I installed the phpSysInfo package and it revealed that the "quick install" option allocated 16GB of that 20GB to swap space, I'm assuming since my boxes have 16GB of RAM in them.
Is there any way to reclaim this space without reinstalling the whole machine?
-
Swap uses FreeBSD's default, 2xRAM. You should be able to change it. Do not know how. I know after you do it you would have to resize the root partition.
-
Swap uses FreeBSD's default, 2xRAM. You should be able to change it. Do not know how. I know after you do it you would have to resize the root partition.
Thank you for your reply.
I am wondering if anyone knows how to decrease the swap partition and add the reclaimed space to the root.
-
The base OS version we use doesn't support resizing partitions, you'd have to reinstall and restore.
-
@cmb:
The base OS version we use doesn't support resizing partitions, you'd have to reinstall and restore.
Thanks CMB. Luckily the backup and restore process is pretty much seamless.
-
@cmb:
The base OS version we use doesn't support resizing partitions, you'd have to reinstall and restore.
Could you not resize it with gparted?
-
Could you not resize it with gparted?
with tools along those lines it may be possible, I've never tried that with UFS file systems. May be faster to reinstall and restore.