enable shared disk with Azure linux VM accross zones

kumar kaushal 176 Reputation points
2022-02-25T10:28:59.633+00:00

I have created 2 Linux VM's . Linux VM1 and Linuxvm2 . Tests that i implemented are below :

Test 1 :

Both linux Vm1 and linux vm2 were created in same region as EAST US . While creating Linux VM1 i created and attached enabled shared disk with max share 2. Once the Linuxvm1 was created . Went for linux Vm2 created and found that shared disk does show up if we go to DISK section of the VM.

That tells me that shared disk with max shares as 2 can be shared between linux vm1 and linux vm2.

Test 2.

Linux VM1 -->created with Availability option -->Zone 1 -->east us--> enable shared disk with max shares 2.
Linux vm2 -->created with availability option -->zone 1 -->east us --> once the Vm was created . Went for disk sec tion -->attach disk --> i don't see the shared disk listed .

Test 3:

Linux VM1 -->created with Availability option -->Zone 1 -->east us--> enable shared disk with max shares 2.
Linux vm2 -->created with availability option -->zone 2 -->east us --> once the Vm was created . Went for disk sec tion -->attach disk --> i don't see the shared disk listed .

Does shared disk is not supported with Azure VM's spread across Zones in the same region ? I think my understanding from test is shared disk only works with VM's in the same data center as they would have to make use of PR.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,585 questions
Azure Disk Storage
Azure Disk Storage
A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.
603 questions
{count} votes

Accepted answer
  1. Andreas Baumgarten 104K Reputation points MVP
    2022-02-25T10:55:42.017+00:00

    Hi @kumar kaushal ,

    based on this information the ZRS managed disk can be shared between VMs in different zones:

    177885-image.png

    Source: https://learn.microsoft.com/en-us/azure/virtual-machines/disks-redundancy#zone-redundant-storage-for-managed-disks

    Some more details you will find here: https://learn.microsoft.com/en-us/azure/virtual-machines/disks-redundancy#zone-redundant-storage-for-managed-disks

    ----------

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

    Regards
    Andreas Baumgarten


2 additional answers

Sort by: Most helpful
  1. kumar kaushal 176 Reputation points
    2022-02-27T15:11:03.097+00:00

    @Andreas Baumgarten .. Thanks for your response . But what my understanding is and from the document ZRS is not available on all the regions.

    @Sumarigo-MSFT .. ..Does the test that I implement look accurate to you ? Your inputs on the same please.

    0 comments No comments

  2. Andreas Baumgarten 104K Reputation points MVP
    2022-02-27T17:37:03.213+00:00

    Hi @kumar kaushal ,

    that's right the ZRS Disks are not available in all Azure Regions at the moment.

    Currently available only in the West US 2, West Europe, North Europe, and France Central regions.

    Source: https://learn.microsoft.com/en-us/azure/virtual-machines/disks-redundancy#limitations

    That means at the end for now: The scenario you described in your question doesn't work in the East US Azure region.
    From a logic standpoint: If the zone redundancy is used for VMs the disks needs to be stored zone redundant as well Otherwise the scenario doesn't work if a zone isn't available.

    May I ask for your requirement for a zone redundant architecture?


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

    Regards
    Andreas Baumgarten