My swap space size while installing ubuntu server is very little and i like to increase it.
 
How to resize or increase the swap space size in linux?

2 answers, votes, 2316 views
Visitor's picture
asked by Visitor
1 year 36 weeks ago



2 Answers

Answer

Other than adding new disks/partitions which you would format to swap, you can create swap files on regular filesystems. It is possible but highly discouraged to create these files on FUSE filesystems. Swap files also commonly break hibernate.
For more info, see manual pages on mkswap and swapon/swapoff. You probably want to add this permanently, so have a look in the manual page for fstab how a line for whichever swap type you decide to make should look like.

Visitor's picture
answer by Visitor
1 year 36 weeks ago
Answer

Other than adding new disks/partitions which you would format to swap, you can create swap files on regular filesystems. It is possible but highly discouraged to create these files on FUSE filesystems. Swap files also commonly break hibernate.
For more info, see manual pages on mkswap and swapon/swapoff. You probably want to add this permanently, so have a look in the manual page for fstab how a line for whichever swap type you decide to make should look like.

Visitor's picture
answer by Visitor
1 year 36 weeks ago

Ubuntu 11.04 released!

Ubuntu 11.04 code named natty narwhal is released download ubuntu 11.04

Read ubuntu 11.10 reviews and share yours now!!

View in your own language!

Stay Connected

Ubun2.com on Facebook Ubun2.com on Twitter RSS Feeds

Poll

Favorite desktop environment?: