vSphere Storage Appliance

 View Only
  • 1.  How to find the lun id from esx

    Posted Aug 18, 2010 07:50 PM

    Hi, I was going through the FC config guide for vSphere 4.1. One Paage 27 under General ESX/ESXi SAN requirements it is mentioned that " For multipathing to work properly, each LUN must present the same LUN IS number to all ESX/ESXi hosts.

    Can someone please tell me how can I get this information ?

    Thanks



  • 2.  RE: How to find the lun id from esx

    Posted Aug 18, 2010 07:56 PM

    Can someone please tell me how can I get this information ?

    You configure the LUN ID on your storage system when you present the LUN to the hosts.

    André



  • 3.  RE: How to find the lun id from esx

    Posted Aug 19, 2010 05:47 AM

    the lun id can be checked from the storage managemnet tool, like we use navisphere, and when you actualy assign storage to your ESX hosts, it shows what configuration you want, at this time you can see on the left hand side there is a column named lun Id.

    plz score if its helpful.,



  • 4.  RE: How to find the lun id from esx

    Broadcom Employee
    Posted Aug 19, 2010 01:28 AM

    esxcfg-mpath -b -d naa.***,

    it will tell the lun number of naa.***, this number should be the same across all hosts

    binoche, VMware VCP, Cisco CCNA



  • 5.  RE: How to find the lun id from esx

    Posted Aug 19, 2010 01:30 PM

    I am not sure about this command. It did not work.

    I am looking to get this information from the esx side and not from the storage end.

    Thanks



  • 6.  RE: How to find the lun id from esx

    Posted Aug 19, 2010 01:38 PM

    Here is the output of #esxcfg-mapth -l command that was suggested by binoche earlier

    sas.50123456789abcde-sas.123456789abcde-naa.600508b1001037383941424344450800

    Runtime Name: vmhba1:C0:T0:L0

    Device: naa.600508b1001037383941424344450800

    Device Display Name: HP Serial Attached SCSI Disk (naa.600508b1001037383941424344450800)

    Adapter: vmhba1 Channel: 0 Target: 0 LUN: 0

    LUN:0 is the LUN id in my case, you may try the same on ESX/ESXi host.

    If you found this or other information useful, please consider awarding points for "Correct" or "Helpful".

    f10

    VCP3,VCP4,HP UX CSA



  • 7.  RE: How to find the lun id from esx

    Posted Aug 19, 2010 02:00 PM

    You could also take a look at the PowerCLI script LucD provided in http://communities.vmware.com/message/1537267

    This way you wouldn't have to log in to each ESX host separately.

    André



  • 8.  RE: How to find the lun id from esx

    Posted Aug 19, 2010 07:27 PM

    Almost forgot to mention the GUI to show the LUN-IDs.

    Either:

    Click Configuration tab > Storage Adapters

    On the Storage Adapters list, select a controller and you will see the device list in the lower pane

    or:

    Click Configuration tab > Storage

    Switch to the "Devices" view

    André