Re: Increasing swap space on HP B.11.11 machine. Hi
You cannot increase the primary swap, but you can add additional logical
volumes and use them for secondary swap.
If you use SAM for creating the LVols it already offers the usage as
swap instead of for file systems.
Manually its done by:
lvcreate -L <size-in-MB> /dev/vgXX
swapon /dev/vgXX/lvolX
This activates the swap immediately until next reboot
for permanent secondary swap
edit /etc/fstab and add a line like
/dev/vgXX/lvolX / swap defaults 0 0
Pay attention: The kernel parameter maxswapchunks must be set correct!
maxswapchunks is 1 chunk for 2 MB RAM
If maxswapchunks is not set large enough the additionalswap won't be
used (without any notification).
Florian |