Map Windows OS disks with VMware hard disks

It is a bit tricky to map Windows OS disks with VMware disks especially when two or more disks have the same size, because vmware does not provide the disk name, but only scsi identifiers. As a result if I had to extend a particular disk, I must find the right one.

From VMware hard disk Advanced Settings, you can find a SCSI code for a particular disk 1:2 that vmware names hard disk 2. Note that hard disk 2 could ne different from Hard disk 2 that the Windows OS would name. You could determine that from the capacity of the Disk if they were different, but it could be also different even when the capacity (GB) were the same.

 

So how could you do the mapping?

First of all you should run the following powershell command. It would give you scsi identifiers for all Windows OS disks.

 

Windows OS start numbering controllers from a random positive number and adds one for each subsequent controllers. As a result if the numbering starts from 3, then 3 scsiport would match to 0 scsiport in VMware (because numbering starts from 0). In the particular example if you would see 4:2 from the powershell command, it would be the disk that you can see in the picture above.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.