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.
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
If you have some idea on powercli - connect to vCenter and use
Get-scsilun
It should list all LUN ID's are names
Venkat