Use this procedure if you want to create a rootdg diskgroup on a single slice.
Remember that rootdg is needed for Volume Manager to start the daemons.
After this procedure vxinstall is no longer needed. Use vxdiskadm to create other diskgroups.
1. Install the software packages for Veritas Volume Manager.
2. Configure the slice as a virtual disk in the diskgroup rootdg
# vxconfigd -m disable (to kill the vxconfigd)
# vxdctl init (to initialise VxVm database)
# vxdg init rootdg (to create rootdg)
# vxdctl add disk c0t0d0s7 type=simple (IGNORE THE WARNING : Not in configuration database)
# vxdisk -f init c0t0d0s7 type=simple (to add a disk record)
# vxdg adddisk c0t0d0s7 (make a slice into a virtual disk)
# vxdctl enable (reread config in memory)
# rm /etc/vx/reconfig.d/state.d/install-db (remove placeholder file for vxinstall)
3. Reboot or restart daemons manually.
# init 6
4.Create other diskgroups with vxdiskadm
# vxdiskadm