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
After looking at format I noticed that there where 9 slices instead of 8:
Part Tag Flag First Sector Size Last Sector
0 usr wm 256 134.86GB 282823646
1 unassigned wm 0 0 0
2 unassigned wm 0 0 0
3 unassigned wm 0 0 0
4 unassigned wm 0 0 0
5 unassigned wm 0 0 0
6 unassigned wm 0 0 0
7 unassigned wm 0 0 0
8 reserved wm 282823647 8.00MB 282840030
This disk must have been used in a zfs pool or used by vmware.
In order to get 7 slices back perform the following:
# format -e
### select the problem lun
partition> label
[0] SMI Label
[1] EFI Label
Specify Label type[1]: 0
Warning: This disk has an EFI label. Changing to SMI label will erase all
current partitions.
Continue? y
Auto configuration via format.dat[no]?
Auto configuration via generic SCSI-2[no]?
partition> q
…
format> q
#
