VERITAS Volume Manager 3.5 Administrator's Guide (September 2004)
Chapter 2 90
Adding Swap Disks to a VxVM Rootable System
On occasion, you may need to increase the amount of swap space for an
HP-UX system. If your system has a VxVM root disk, use the procedure
described below.
Step 1. Create a new volume that is to be used for the swap area. The following
example shows how to set up a non-mirrored 1GB simple volume:
# vxassist -g rootdg make swapvol2 1g
Step 2. Add the new volume as a swap device to the /etc/fstab file as shown in
this sample entry:
/dev/vx/dsk/rootdg/swapvol2/swappri=100
Step 3. Use the System Administration Manager (SAM) to increase the value of
the maxswapchunks tunable as required by the swapon command. For
example, if you double the amount of swap space, double the value of
maxswapchunks.
Step 4. Build a new kernel and reboot the system:
# mk_kernel -v -o /stand/vmunix
# kmupdate
# reboot -r