Matching Guest VMDk file with guest Hdd Drive letter

I have one SQL VM which have around 10 VMDk created with different datastore.

out of 10 vmdk, 5 vmdks is having same size (500GB). and now i would like to find out each each vmdk each . using Guest OS drive letter.

thanks in advance
LVL 22
Haresh NikumbhSr. Tech leadAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Shamil MohamedIT Infrastructure Engineer/IT Systems ManagerCommented:
Hi.. I didn't get your second paragraph..
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
I'm afraid there is no easy way of doing this, unless when you created the virtual machine disks, you also labelled the volumes within the Guest OS to match!

Even if you look in Disk Management, you will see the disks are labelled Disk 0 to Disk 10, but there is no easy method without sound documentation of associating which Volume Drive Letter with the VMDK on the datastore, unless it was documented.

Now, there is a fairly simple method you can use...and increase the size of the virtual disk by 1GB at a time. - Rescan in the OS, check for which disk has the extended unallocated 1GB space. Document and Note, and repeat for all disks.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Haresh NikumbhSr. Tech leadAuthor Commented:
Hancock,

totally agree on this.. tried several script its give me location of the datastore and vmdk name.. size of the disk but none of the script gave me drive letter.

option you suggested that make sense .. need to try that.

thanks
0
Haresh NikumbhSr. Tech leadAuthor Commented:
This is what last option i feel.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.