Veritas Volume Manager 4.1 Administrator's Guide (HP-UX 11i v3, February 2007)
Rootability
86 VERITAS Volume Manager Administrator’s Guide
As these operations can take some time, the verbose option, -v, is specified to indicate
how far the operation has progressed.
For more information, see the vxres_lvmroot (1M) manual page.
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.
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 bootdg make swapvol2 1g
2. Add the new volume as a swap device to the /etc/fstab file as shown in this
sample entry:
/dev/vx/dsk/bootdg/swapvol2 / swap pri=1 0 0
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.
4. Build a new kernel and reboot the system:
# mk_kernel -v -o /stand/vmunix
# kmupdate
# reboot -r