VERITAS Volume Manager 3.5 Release Notes (August 2002)

Chapter 1
VERITAS Volume Managerâ„¢ Release Notes
Overview of VxVM 3.5 for HP-UX
13
# pvremove /dev/rdsk/c#t#d#
Step 2. Put a disk under Volume Manager control and place in rootdg:
Use vxdiskadm option 1, or VEA.
Step 3. Add a volume to this disk:
Use vxassist or VEA.
Step 4. Add the new volume as a target for dumps:
First make sure you have the UNOF_init_dump patch, then use crashconf as you would under
LVM.
For example;
# crashconf /dev/vx/dsk/rootdg/your_dump_volume
Changing the Boot Disk to be the New Volume Manager Root Disk
Step 1. Get the current boot disk:
# cat /stand/bootconf
Step 2. Extract resultant device path:
# ioscan -k node_path_from_bootconf
Step 3. Change primary boot path back to current boot device:
# setboot -p device_path_from_above
(Use -a if you want to change the alternate bootpath.)
Removing a Mirrored Volume Manager Root Disk
Use the following commands to remove the mirrored Volume Manager Root Disk:
# daname=<c#t#d#> /* of mirrored root disk */
# dmname=`vxprint -g rootdg -F %dmname -e sd_da_name~/$daname/|head -1`
# plxnames=`vxprint -g dg -F "%assoc" -e sd_dm_name==\"$dmname\"`
# vxplex -o rm dis $plxnames
# vxdg -g rootdg rmdisk $dmname