I have a Solaris 10 system configured with Veritas File Systems. The goal is to clone the diskgroup structure onto another systems so as to save time building the structure manually. I want all the volumes the same size and the same names as my source.
Below is a script used to perform this task. The script must be run from the source server. It then gets all of the diskgroup structure information then outputs into a file the commands needed to recreate.
After carving up a Clariion lun to one of my sun servers. I tried to add it to Veritas but it kept failing with an error similar to
root:dwhdev2 :[/root] vxdisk -f init c#t#d3
VxVM vxdisk ERROR V-5-1-5433 Device c#t#d3: init failed:
Disk VTOC does not list private partition