Azure Disks and Storage

Hi,

I have a VM on Azure which has multiple disks. How do I identify which data disk is mounted to which volume in Azure VM ?

Regards
Mahesh BadgeAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

Philip ElderTechnical Architect - HA/Compute/StorageCommented:
VM properties should have a GUID associated with each disk.
Look in the storage account for the GUID.
0
David Johnson, CD, MVPOwnerCommented:
 Get-AzureRmDisk | Select-Object name,ID

Name                                                Id                                                                                                                                                                
----                                                --                                                                                                                                                                
DataDisk1                                           /subscriptions/d77de785-04d2-469b-98b5-b6481e9a5742/resourceGroups/VMTEST/providers/Microsoft.Compute/disks/DataDisk1                                             
DataDisk2                                           /subscriptions/d77de785-04d2-469b-98b5-b6481e9a5742/resourceGroups/VMTEST/providers/Microsoft.Compute/disks/DataDisk2                                             
TestVMdwj_OsDisk_1_6fb868a9dee645238eae22f2762315e0 /subscriptions/d77de785-04d2-469b-98b5-b6481e9a5742/resourceGroups/VMTEST/providers/Microsoft.Compute/disks/TestVMdwj_OsDisk_1_6fb868a9dee645238eae22f2762315e0   
disk2                                               /subscriptions/d77de785-04d2-469b-98b5-b6481e9a5742/resourceGroups/TESTVMDWJ/providers/Microsoft.Compute/disks/disk2                                              
disk3                                               /subscriptions/d77de785-04d2-469b-98b5-b6481e9a5742/resourceGroups/TESTVMDWJ/providers/Microsoft.Compute/disks/disk3                                              
testvmdwj_OsDisk_1_e7bcf862263e406eb0dbedb4313d663c /subscriptions/d77de785-04d2-469b-98b5-b6481e9a5742/resourceGroups/TESTVMDWJ/providers/Microsoft.Compute/disks/testvmdwj_OsDisk_1_e7bcf862263e406eb0dbedb4313d663c

Open in new window

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
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
@David Johnson Even better! :)
0
David Johnson, CD, MVPOwnerCommented:
no response from asker points split
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
Storage

From novice to tech pro — start learning today.