LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Donīt have swap partition (https://www.linuxquestions.org/questions/linux-newbie-8/don%B4t-have-swap-partition-240341/)

Jozsef 10-08-2004 03:06 PM

Donīt have swap partition
 
I have installed Suse 9.0 in my labtop Gericom.

When i did, Yast didnīt create the swap partition.

Is this bad for my sytem now?

If is this so, what could I do to fix it?

darkleaf 10-08-2004 03:34 PM

No it's not bad. You can create your own. You need a partitioning program and then you can create the partition (I think twice your RAM is the right size) and make it linux swap file system. Then edit your /etc/fstab file to include it.

Tinkster 10-08-2004 03:34 PM

If you have HEAPS of RAM (>= 512MB) and don't
try to do massive things the lack of a swapper may
go un-noticed ... if not you may find that applications
randomly die on you.

Solution is to a) re-partition or b) create a special
file in the file-system (works but makes swapping
slower) e.g.
Code:

dd if=/dev/zero of=/tmp/swapper bs=1024 count=500000
mkswap /tmp/swapper
swapon /tmp/swapper

That will give you swapspace of ~ 500MB

You'd then want to edit /etc/fstab to point to
that file, too.


Cheers,
Tink

Mara 10-08-2004 03:36 PM

In fact, you're not obligated to have one. BTW Swap should be max 512MB if you're not doing heavy graphic processing.


All times are GMT -5. The time now is 09:13 PM.