1. Start the VERITAS Volume Manager (VxVM) I/O daemons vxiod and the VxVM configuration daemon vxconfigd :
#vxiod set 10
#vxconfigd -k -r reset -m disable
#vxdctl init
2. Check the status of the VxVM configuration daemon. This should be disabled since there are no VxVM resources to manage.
Use the following command to verify the status:
#vxdctl mode
If the mode is enable, use the following command to disable the configuration daemon:
#vxdctl disable
3. Create an empty rootdg disk group:
#vxdg init rootdg
4. Initialize a disk to be used for the rootdg diskgroup.
Verify the rootdg is created:
#vxdisk list
Initialize the disk using the following commands:
#vxdisk init c#t#d#
#vxdisk list
If the disk has already been initialized, vxdisk init will fail. Confirm the disk is indeed available and its data can be destroyed before using the -f option to re-initialize the disk:
#vxdisk -f init c#t#d#
#vxdisk list
If the disk contains a logical volume manager (LVM)header structure, the following commands can be used to remove the header:
#pvcreate -f /dev/rdsk/c#t#d#
#pvremove /dev/rdsk/c#t#d#
5. Add the VxVM disk to the rootdg diskgroup:
#vxdg -g rootdg adddisk
6. Now that the disk has been defined under rootdg, VxVM configuration can be started.
Use the following command to verify the status:
#vxdctl mode
If the mode is disabled, use the following command to enable the configuration daemon:
#vxdctl enable