rsmagdum
Contributor
Contributor

Get mapping of VMFS Datastores and LUNs on ESX

Hi,
is there any way to get the datastore name when i give LUN ID to ESX host.

eg. if my LUN ID is 10 and Datastore with LUN 10 is Sam_DS

Then giving 10 as input, it will give me Sam_DS as output.
or any other unique mapping between LUN and Datastore.

0 Kudos
2 Replies
zXi_Gamer
Virtuoso
Virtuoso

If you are using a VC, then you can use the quick search in the top right hand side and just type your datastore name, it will throw out associated disks, luns, devices

Or from command line:

esxcfg-mpath -m

esxcfg-scsidevs -m

esxcfg-scsidevs -a

akkayyakapisett
Enthusiast
Enthusiast

If you have some idea on powercli - connect to vCenter and use

Get-scsilun

It should list all LUN ID's  are names

Venkat

http://www.peeradmin.com

0 Kudos