Resizing Swap in LVM on Fedora 6
Hi all,
I have fedora 6 running in a vmware image. I'm having issues with lighttpd and ruby on rails eating all of my RAM and swap when I get several concurrent users. Since this load rarely happens, I would like to increase my swap space until I can install more RAM on the host machine. The swap appears to be in the lvm group 00 volume 1. Below is my fstab
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
How can I shrink LogVol00 and expand LogVol01? I can't find any documentation that is a sufficiently satisfying "how to". Any help would be greatly appreciated. As a I said earlier, its a vmware guest OS, so if it destroy my LVM I can always restore the snapshot.
Thanks,
Todd
|