Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Thursday, May 23, 2013 12:01 PM
I need the Logical Unit Number of the azure disks as it is required in almost all the operations on virtual machines disks (update data disk, delete data disk etc..)
https://management.core.windows.net/<subscription-id>/services/hostedservices/<service-name>/deployments/<deployment-name>/roles/<role-name>/DataDisks/
<lun>
Where can i get the LUN value?
Thursday, May 23, 2013 3:28 PM | 1 vote
The LUN specifies the slot in which the data drive appears when mounted for usage by the virtual machine.
It has valid LUN values are 0 through 15. On the VM, go to disk management and check the slot number..see image http://www.windowsazure.com/media/itpro/shared/servermanager.png for reference.
Friday, May 24, 2013 4:50 AM
Thanks for the reply. I need some more clarification. I have an azure account, then virtual machines and disks in that account. I want to programatically update those disks and have implemented the UpdateDataDiskApi: http://msdn.microsoft.com/en-us/library/windowsazure/jj157190.aspx
and this requires the lun value in the request uri -
https://management.core.windows.net/<subscription-id>/services/hostedservices/<service-name>/deployments/<deployment-name>/roles/<role-name>/DataDisks/
<lun>
So, what i want is the LUN value of the disk in my azure account, Where can i find the LUN value of the disk in my Azure account?
Monday, May 27, 2013 6:28 AM
Hi,
Since the issue is related to Iaas, I have moved this thread to Virtual Machine forums for getting a better support.
Thanks for your understanding.
QinDian Tang
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Tuesday, April 3, 2018 6:19 AM
Hi,
Apologies for posting in such an old thread.
I just wanted to know if the 'LUN' number affects the functionality of the resources.
Actually i provisioned a SQL Server VM with 192Gb DataDisk attached.
Later on i attached **3x64 GB (Lun 1, LUN 2, LUN 3)**DataDisks to VM and detached **192Gb (LUN 0) **disk.
So does it cause any logical/technical issue??? ( I mean is it mandatory to have the LUN started fron 0 itself)??
Thanks in advance.
Ashutosh
Monday, September 30, 2019 11:17 PM
Is there a way to get the LUN from the Python sdk? I.e. I have a DisksOperations object and a Disk object. Can I get the LUN that goes with that Disk?