VERITAS Volume Manager 4.1 Administrator's Guide
Administering Disks
Rootability
Chapter 292
# /etc/vx/bin/vxdestroy_lvmroot -v c0t1d0
# /etc/vx/bin/vxres_lvmroot -v -b c0t1d0
The -b option to vxres_lvmroot sets c0t1d0 as the primary boot device.
As these operations can take some time, the verbose option, -v, is specified to indicate how far
the operation has progressed.
For more information, refer 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.
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/bootdg/swapvol2 / swap pri=1 0 0
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