• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Linux -> Mounting ONE swap with VARIOUS partitions

danielshoes

Senior member
My swap is small. I want to use another partition to be added to this swap. Is Linux able to use more than one partition to swap, just adding that?

If possible: How to change it without destroy my system?

If not: How to solve my small swap issue?
 
run diskdrake and create another partition (I suggest 2x RAM) and choose File System type of swap and you should be all set... I cannot remember if you would need a reboot...
 
No you do not need to reboot. This is NOT windows folks. 🙂

fdisk /dev/xx make a new partition, type 83 for Linux swap.

mkswap /dev/xxxx make swap on the parition you just created.

Now, edit your/etc/fstab and add the swap partition. Next:

swapoff

swapon

Done. Don't need some stupid GUI tool for that task.
 
I actually add pri=1,defaults to stripe the swap partitions on different drives. Don't need RAID to do that it's endemic to Linux swap. Kinda cool.
 
Back
Top