Adding an EFI labelled Virtual Disk Server Device
What is the correct way to add an EFI labelled vdsdev? With a VTOC disk I would add cXtYdZs2 which represents the entire disk but with an EFI label there is no such representation. I have a 2TB LUN and I've added it a few different ways but I can never see the entire disk (i.e. slice 8 never shows up). Only slice 0 appears in the LDOM.
Essentially I'd like to know the best practice, i.e.
ldm add-vdsdev/dev/something vdisk0@primary-vds0
Thanks
[481 byte] By [
Meoha] at [2007-11-27 9:50:40]

# 1
To export an entire disk, you must export cXtYdZs2 whatever the disk label is(VTOC or EFI). What device are you exporting? If you only see an s0 slice this is certaintly because you are exporting a pseudo disk device and not a cXtYdZs2 device.
# 2
Slice 2 does not represent the entire disk with an EFI label.
From http://docs.sun.com/app/docs/doc/817-5093/6mkisoq1n?a=view#disksconcepts-14
Comparison of the EFI Label and the VTOC Label
Provides usable slices 0?, where slice 2 is just another slice
Restrictions of the EFI Disk Label
The EFI specification prohibits overlapping slices. The entire disk is represented by cxtydz.
But when I use cxtydz with no slice as mentioned here, I don't see anything. If I use cxtydzs0 which is parititioned, I can use that slice but only that slice.
So I've tried cxtydz, cxtydzs0, and cxtydzs2 and only the s0 option comes close to working.
The actual device is an mpxio multipath LUN on a FC disk array.
Meoha at 2007-7-13 0:19:30 >

# 3
I know that slice 2 does not represent the entire disk when there's an EFI label; but
with LDoms the entire disk will be exported when slice 2 is exported (i.e. cXtYdZs2)
whatever the disk label is.
If you export any other slice, only that single slice will be exported and it will appear as
a single slice disk in the guest domain (disk with only s0).
So you have to export cXtYdZs2, and if that fails there's another problem. Is there any vds
messages in /var/adm/messages on the service domain?