The UUID of the LUN is shown in the path details for the LUN.
--Matt
VCP, VCDX #52, Unix Geek, Storage Nerd
this PowerCLI script may be useful as well
Get-VMHost | %{ $esxImpl = $_ $_ | Get-ScsiLun | where {$_.LunType -eq "Disk"} | %{ $_ | Select @{N="HostName";E={$esxImpl.Name}}, @{N="Path";E={$_.CanonicalName}}, @{N="Policy";E={$_.MultiPathPolicy}}, @{N="Number";E={($_ | Get-ScsiLunPath).Count}} } }|Export-Csv "C:\scripts\ds.csv" -NoTypeInformation
My apologies as I am still a bit of a newb to PowerCLI.
connect-viserver -server vcservername -protocol https -user adaccountname -password mypassword
.\SAN-uuid.ps1
I opened the csv file and it displays:
HostName Path Policy Number
esxihostname.bobo.com t10.ATA_____FK0064CAAZQ_____________________________S08JNEAZ501214______ Fixed
esxihostname.bobo.com naa.60060e80056ef10000006ef1000010f2 RoundRobin 2
esxihostname.bobo.com naa.60060e80056ef10000006ef1000010f3 Fixed 2
esxihostname.bobo.com naa.60060e80056ef10000006ef1000010f4 Fixed 2
esxihostname.bobo.com naa.60060e80056ef10000006ef1000010f5 Fixed 2
esxihostname.bobo.com naa.60060e80056ef10000006ef1000010f6 Fixed 2
esxihostname.bobo.com naa.60060e80056ef10000006ef1000010f7 Fixed 2
esxihostname.bobo.com naa.60060e80056ef10000006ef1000010f8 Fixed 2
esxihostname.bobo.com naa.60060e80056ef10000006ef1000010f9 Fixed 2
According to my SAN team, I should see
"ProdDC5_Disk1"
"ProdDC5_Disk2"
"ProdDC5_Disk3"
"ProdDC5_Disk4"
"ProdDC5_Disk5"
"ProdDC5_Disk6"
"ProdDC5_Disk7"
"ProdDC5_Disk8"
According to my SAN team, I should see
"ProdDC5_Disk1"
"ProdDC5_Disk2"
"ProdDC5_Disk3"
"ProdDC5_Disk4"
"ProdDC5_Disk5"
"ProdDC5_Disk6"
"ProdDC5_Disk7"
"ProdDC5_Disk8"
that is probably the name of the disk groups on the SAN. You more than likely will not see those names, but instead the Canonical Name. However, when you rescan your storage adapters and add storage, you can choose to name the presented LUNS as above.