VMware Cloud Community
CoolonVsphere
Enthusiast
Enthusiast

Virtual Disk detail to find on physcial

Hi All,

Is there any way to find our VM created on local attached disk of esxi of its physical deatils like disk serial number/ make and model.

For eg. I have esxi running and on top of it VM running on locallay attached disk (das) multiple disk (raid 1 or raid 5) want to get the physical details of those disk like serial no/make /model/vendor etc.

Thanks in advance

0 Kudos
1 Reply
jpsider
Expert
Expert

Give this a shot:

$myhost = get-vm $vm | get-vmhost

Get-ScsiLun -VmHost $myhost

Get-ScsiLun -vmhost $myhost | select Model,Luntype,Vendor,SerialNumber

you can run get-scsiLun | get-member to see the available options.

0 Kudos