[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 940
  • Last Modified:

How can I tell which vmware data store belongs to which lun on the san?

Is there a way in VMware esxi 5.0 to tell what lun a VMware data store belongs to on a san?
0
vmich
Asked:
vmich
  • 5
  • 5
  • 2
1 Solution
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You can, it's easier if you install your SAN tools, that will then map, LUNs to Datastores.

what SAN are you using Dell, NetApp or EMC?
0
 
vmichAuthor Commented:
EMC VNX
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
If you install the EMC vCenter Server Plugins, it will Map LUNs to Datastores, and you will easily be able to see the relationship.

You can use this PowerCLI to map datastores to naa, if that helps

Get-Datastore |Where-Object {$_.ExtensionData.Info.GetType().Name -eq "VmfsDatastoreInfo"} |ForEach-Object {  if ($_)  {    $Datastore = $_;    $Datastore.ExtensionData.Info.Vmfs.Extent |    Select-Object -Property @{Name="Name";Expression={$Datastore.Name}},      DiskName  }}

Open in new window

0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
vmichAuthor Commented:
Well the luns and data stores are already created and setup. I just need to now go back and see which lun goes to which datastore.
Is this what I need to do that?
0
 
AbhilashBloggerCommented:
One way to do it is to see the Naa numbers from the configuration>Storage and then map it on the storage array side too using unisphere.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Yes, run the PowerCLI and then download the Unisphere Plugins and match the datastores.

Install the EMC VSI Storage Viewer v5.5 in vCentre. You can download the VSI Storage Viewer 5.5 from https://support.emc.com/downloads/32161_VSI-Series.  

When its installed, you'll see the VMs populated in VMware and the storage relationships will be displayed in vCenter Server!

Much Easier!
0
 
vmichAuthor Commented:
Do I just install it on my vctr server and then run it from there?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You install on vCenter Server, and it will appear as a Plugin, under Solutions and Applications.
0
 
vmichAuthor Commented:
Ok I will do that and let you know how it works for me..
Thanks
0
 
AbhilashBloggerCommented:
Make sure you match the numbers perfectly. ITs a little tricky as they vary by very small number of digits.
If you do it wrong you might end up playing around with a wrong datastore.
0
 
vmichAuthor Commented:
CLI...
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Selected Answer http:#a40002028 is the correct Answer, I see no reason to change it.

Two solutions have been provided Inspect the datastores, with the included PowerCLI Script, and the EMC Unisphere Plugin will may VMs to Datastores with ease.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 5
  • 5
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now