Create a Raw Device Mapping
Suppose you want to create a disk as a raw device mapping named Barney.vmdk in a VMFS volume named Vmfs1. You want to map to LUN 12 on target 2 from HBA 0. You want to attach this mapping to a virtual machine named /vm/Rubble.vmx, and you want physical compatibility mode for the guest. In the service console, type:
vmkfstools -r vmhba0:2:12 /vmfs/Vmfs1/Barney.vmdk
Edit the configuration file for the virtual machine and add lines similar to these:
scsi0:0.name = “Vmfs1:Barney.vmdk”
scsi0:0.deviceType = “scsi-passthru-rdm”
The value scsi-passthru-rdm specifies physical compatibility mode.
Note: This example assumes you have no other virtual disk attached to the virtual machine.
Hope this helps.
Thanks
SL
--------------- Please score if this post help int any way answer your questions ----------------------------------