I am trying to identify which drive matches from Azure Virtual Machine with what is shown on the Azure Portal site.
I am trying to increase the size of one drive ( H: \ drive) in VM from Azure Portal site.
This is how it shows up in VM:
This is how it shows up in Azure Portal site:
Where do I go about finding the right one to upgrade (from Azure Portal site)?
Currently, H: \ drive has 2 TB for the capacity, and I am trying to increase to 4 TB.
Modified/Added this later (after I got the feedback) :
Modified/Added this later (after I got the feedback) :
Thanks.
The following solution might help you with finding out which LUN number correlates to your 'H' partition. It is not very optimized but after a quick test should yield the desired result.
The commands are:
Get-Disk
Get-Partition -DiskNumber 2
$mydisk = Get-Disk 2
$mydisk.Location
The output should provide the LUN. DiskNumber 2 was arbitrarily chosen and you might have to try all disk numbers provided by "Get-Disk" to obtain the disk with the correct partition (or of course use some other method).
See the image below for my results:
This MS Learn article provides more information about the commands. Hopefully this helps.
Kind regards
I tried to reproduce the same in my environment to identify which drive matches from Azure Virtual Machine
I have created azure virtual machine and attached a new disk like below.
In Disk management to make understand on your disk -> right click -> properties -> you can see LUN number -> in my case LUN8 is represent as disk 5
My disk 4 is identify in E drive as LUN 7
Now in disk click on virtual disk. suppose You want to increase size of azure8 (my disk name)
If you click on 5 -> 5 is represent as disk 5 (G)drive as location on LUN 8 in my portal LUN 8 is azure8 disk name this way u can identify which drive is represent on which disk
Additionally, To note the drives while allocating volume I have added to remember 2s for disk2 for particular LUN
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.