question

salves avatar image
0 Votes"
salves asked ·

Managed disk

Hi,

I read that when my disk is managed Azure will automatically change my disk according to its space usage.

Doubts:

1 - Is this true?
2 - To change the disk, the VM needs to be deallocated, in which case my VM will be inoperable when this change occurs?

Thank you.

azure-virtual-machinesazure-managed-disks
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LeonLaude avatar image
0 Votes"
LeonLaude answered ·

Hi @salves,

I read that when my disk is managed Azure will automatically change my disk according to its space usage.
1 - Is this true?

Managed Disks = are managed by Microsoft Azure and you don't need any storage account while created new disk. Since the storage account is managed by Azure you do not have full control of the disks that are being created.

Un-managed Disks = are something which requires you to create a storage account before you create any new disk. Since, the storage account is created and owned by you, you have full control over all the data that is present on your storage account. Additionally, you also need to take care of encryption, data recovery plans etc.

There's a good comparison on the blog post over here:
https://buildwindows.wordpress.com/2017/05/31/azure-managed-vs-unmanaged-disks-the-choice/


2 - To change the disk, the VM needs to be deallocated, in which case my VM will be inoperable when this change occurs?

If you want to update the storage type of your managed disk, the Azure VM needs to be deallocated.


(If the reply was helpful please don't forget to upvote or accept as answer, thank you)


Best regards,
Leon

· 2 · Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @LeonLaude

so why am i getting this warning?

Changes to disk size and performance can only be made when the disk is not attached or when the management virtual machines are deallocated.

Thank you.

34479-disk1.jpg


34652-disk2.jpg


0 Votes 0 ·
disk1.jpg (30.2 KiB)
disk2.jpg (88.3 KiB)

Yes it is actually true, you will need to deallocate the Azure VM before changing the managed disk type.

1 Vote 1 ·