VMware Cloud Community
Munster
Contributor
Contributor
Jump to solution

help with " Physical LUN and datastore mapping File "

All

HELP NEEDED PLEASE ?

I have a windows VM which needs to be connected to a load of mapped RAW luns. These LUNs (symmetrix storage btw) have all been presented via their esx host and have been confirmed by the SAN guys and myself. The issue I have now is how can i confirm what the "vml.xxx" label is for each mapped raw lun (I can't seem to scroll to the end and confirm what it is?!?!?). I need this infor so I can marry up what Dev ID is being presented to which LUN. The VM is powered on and needs to remain powered on as its prod. So my question is, is there a way to find out what the full title of the mapping file is please ???

Check the attachment below which shows the properties of a 'mapped raw lun' and its inability to scroll to end to copy the full mapping file name.

Many thanks in advance

Munster

0 Kudos
1 Solution

Accepted Solutions
binoche
VMware Employee
VMware Employee
Jump to solution

1, vmkfstools -q you get the vml.xxx

2, esxcfg-mpath -b -d vml.xxx you get what naa.xxx and what is lun number

3, esxcfg-scsidevs -l -d vml.xxx you get most info of this lun

binoche, VMware VCP, Cisco CCNA

View solution in original post

0 Kudos
5 Replies
binoche
VMware Employee
VMware Employee
Jump to solution

esxcfg-mpath; esxcfg-scsidevs should report what is this lun, for example,

~ # vmkfstools -q /vmfs/volumes/datastorae/vmdk/lunA.vmdk

Disk /vmfs/volumes/rssm/vmdk/lun2.vmdk is a Passthrough Raw Device Mapping

Maps to: vml.010002000030303033202020202020202020202020313832304e30

~ # esxcfg-mpath -b -d vml.010002000030303033202020202020202020202020313832304e30

naa.6005076b0740257f45ad2e2300000003 : IBM Serial Attached SCSI Disk (naa.6005076b0740257f45ad2e2300000003)

vmhba1:C0:T0:L2 LUN:2 state:active sas Adapter: 500062b0000bb78c Target: 5005076b07402520

vmhba1:C0:T1:L2 LUN:2 state:active sas Adapter: 500062b0000bb78c Target: 5005076b07402560

~ # esxcfg-scsidevs -l -d vml.010002000030303033202020202020202020202020313832304e30

naa.6005076b0740257f45ad2e2300000003

Device Type: Direct-Access

Size: 20480 MB

Display Name: IBM Serial Attached SCSI Disk (naa.6005076b0740257f45ad2e2300000003)

Multipath Plugin: NMP

Console Device: /vmfs/devices/disks/naa.6005076b0740257f45ad2e2300000003

Devfs Path: /vmfs/devices/disks/naa.6005076b0740257f45ad2e2300000003

Vendor: IBM Model: 1820N00 Revis: 1763

SCSI Level: 5 Is Pseudo: false Status: on

Is RDM Capable: true Is Removable: false

Is Local: false

Other Names:

vml.010002000030303033202020202020202020202020313832304e30

VAAI Status: unknown

~ #

binoche, VMware VCP, Cisco CCNA

0 Kudos
Munster
Contributor
Contributor
Jump to solution

Binoche

YOU ARE STAR !The following command seemed to have worked a treat

vmkfstools -q (location of rdm raw map file)

Correct me if i'm wrong here but your additional command of " esxcfg-mpath -b -d " does require you knowing the 'naa.xxx' ID (which I don't know) Hence to find out this I did the following, I went to /vmfs/volumes/disks and ran the following

ll / grep vml.XXXX

This came back with the associated 'naa' ID.

If my vml.xxx value does not report back an associated naa.xxx ID can i assume the device is not presented either properly or at all ?????

Munster

0 Kudos
binoche
VMware Employee
VMware Employee
Jump to solution

1, vmkfstools -q you get the vml.xxx

2, esxcfg-mpath -b -d vml.xxx you get what naa.xxx and what is lun number

3, esxcfg-scsidevs -l -d vml.xxx you get most info of this lun

binoche, VMware VCP, Cisco CCNA

0 Kudos
Munster
Contributor
Contributor
Jump to solution

Perfect!

Thanks for all your help Binoche much appreciated! have resolved my issue with the help of your commands.

Munster

0 Kudos
mansi30
Contributor
Contributor
Jump to solution

Can you please suggest me how to do this ?

Because when I am typing vmkfstools -q, I am getting missing argument error .

0 Kudos