Use a whole disk for the ldom vdisk, the disk's partition looks like as follows:
partition> print
Current partition table (original):
Total disk cylinders available: 32766 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 0 0 (0/0/0) 0
1 unassigned wm 0 0 (0/0/0) 0
2 backup wu 0 - 32765 1023.94MB (32766/0/0) 2097024
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 - wu 0 - 32765 1023.94MB (32766/0/0) 2097024
i.e. slice 2 map the whole disk's space. so we just add c3t5006016830232106d0s2 as the whole disk.
ldm add-vdsdev /dev/dsk/c3t5006016830232106d6s2 disk1@primary-vds0
ldom treat c3t5006016830232106d0s2 as the whole disk, if you wanna add slice2, you must use the slice option.
ldm add-vdsdev options=slice /dev/dsk/c3t5006016830232106d6s2 disk1@primary-vds0
After install OS inside ldom, the format looks like as below:
partition> pr
Current partition table (original):
Total disk cylinders available: 38910 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 16383 8.00GB (16384/0/0) 16777216 >>> root fs
1 swap wu 16384 - 20479 2.00GB (4096/0/0) 4194304 >>> swap fs
2 backup wm 0 - 38909 19.00GB (38910/0/0) 39843840
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 20480 - 38909 9.00GB (18430/0/0) 18872320 >>> opt fs
6 unassigned wm 0 0 (0/0/0) 0
7 unassigned wm 0 0 (0/0/0) 0