installSwapfile icon indicating copy to clipboard operation
installSwapfile copied to clipboard

How to unmount/uninstall swapfile

Open doraemon96 opened this issue 6 years ago • 1 comments
trafficstars

I'm sure there's a way to undo the swap file and/or to resize it but I can't figure it out.

doraemon96 avatar Jun 11 '19 01:06 doraemon96

Hi @doraemon96

Run this command:

sudo swapoff /tmp/swapfile . This will disable the swapfile, now you can delete it with rm -f /tmp/swapfile

Then, delete the entry in /etc/fstab for the swapfile (or comment it out by adding # ).

Regards, christian

ccarnero avatar Jul 04 '19 22:07 ccarnero