On Tuesday, October 18, 2005 @ 4:11 AM, Hans du Plooy wrote:
On Tuesday 18 October 2005 13:47, Clayton wrote:
I've never had to resize a swap partition before... Do you have unused space? Otherwise you'll have to resize another partiton
too. You have two options:
1. Suppose your swap is /dev/hda2 close all your apps so you can free some memory swapoff /dev/hda2 **insert repartitioning/resizing** (you can delete the swap partition and make a bigger one in it's place mkswap /dev/hda2 swapon /dev/hda2 if the partition number changes, just remember to adapt your fstab
2. Just add another swap partition if you have space or put an extra disc in. Linux can handle multiple swap partitions.
Hans
I didn't think about the fact he might have some free space in between if the swap is first. That would certainly make it easier. And adding a second swap wouldn't seem to be too hard either. Is having 2 swaps equivalent to the size of one more or less a wash performance wise? Greg Wallace