VMware Cloud Community
max2001
Contributor
Contributor

which windows drives are which vmdks?

Hi,

looking online for an answer, the link below seems to be the one that people keep refering to.

I ran the powershell command and had the output as shown in the link, but I still can't figure out from the output how to correlate the physical drive to the appropriate vmdk?

so in the link the guy correlates the last vmdk i.e scsi1:2 to the last drive which is:

deviceID          : \\.\PHYSICALDRIVE5

  • $_.size/1024/1024 : 596.162109375
  • scsiport          : 3
  • scsibus           : 0
  • scsitargetid      : 2
  • scsilogicalunit   : 0

how does this work or does anyone know of a differnet way for doing this?

http://tastytech.t3webinc.com/2011/04/how-to-correlate-your-vmdk-to-your-windows-drives/

0 Kudos
2 Replies
Ethan44
Enthusiast
Enthusiast

Hi max2001

Hope doing great .

If I am not sure about this , but the link attached was informatic.

Its gives some light to me.

"a journey of a thousand miles starts with a single step"
0 Kudos
MartinAmaro
Expert
Expert

I think the script code you are looking for is locates in this thread http://communities.vmware.com/message/1120303  see "Function PreScanSCSIBus(\[string\]$vmName)"

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful.
0 Kudos