Veritas Volume Manager 5.0.1 Administrator's Guide, HP-UX 11i v3, First Edition, November 2009

remove the VxVM root disk or any mirrors of this disk, nor does it affect their
bootability.
The target disk must be large enough to accommodate the volumes from the VxVM
root disk.
Warning: This procedure should be carried out at init level 1.
This example shows how to create an LVM root disk on physical disk c0t1d0 after
removing the existing LVM root disk configuration from that disk.
# /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.
See the vxres_lvmroot (1M) manual page.
Adding swap volumes to a VxVM rootable system
To add a swap volume to an HP-UX system with a VxVM root disk
1
Initialize the disk that is to be used to hold the swap volume (for example,
c2t5d0). The disk must be initialized as a hpdisk, not as a CDSdisk.
#/etc/vx/bin/vxdisksetup -I c2t5d0 format=hpdisk
2
Add the disk to the boot disk group with the disk media name swapdisk:
#vxdg -g bootdg adddisk swapdisk=c2t5d0
3
Create a VxVM volume on swapdisk (with a size of 4 gigabytes in this example):
#vxassist -g bootdg -U swap make swapvol1 4g dm:swapdisk
In this example, the size of the volume is 4 gigabytes.
117Administering disks
Rootability