none
Windows Server 2008 R2 VM cannot mount file share located in a storage account in a different Azure region

    Question

  • Hi all,

    I am trying to mount a file share to an Azure VM. This VM is running Windows Server 2008 R2, and is therefore using SMB 2.1.

    Trying to mount a file share in an Azure storage account that is located in a different Azure region has failed, giving the error: System error 5 has occurred. Access is denied.

    Testing of mounting file shares reveals this table:

    Why can't Azure VMs, using SMB 2.1, mount a file share in a different Azure region, but have no problems mounting a file share in the same Azure region?

    Wednesday, January 4, 2017 7:01 PM

Answers

  • Hi Charlie,

    Thank you for contacting Microsoft forums. We are pleased to answer your query.

    If the client only supports SMB 2.1 (and not 3.0) then you can mount a file share on an Azure Virtual Machine only if it is in the same region.
    As you rightly pointed out, the SMB version supported on Windows Server 2008 R2 is 2.1 so it is not possible to mount Azure File share if they happen to be in different regions. With SMB 2.1, Azure File Storage was restricted to connect from the same region because of lack of encryption in the underlying SMB 2.1 protocol.


    I hope that the reply will assist you in getting your query addressed. In case you require further assistance, please do reply to the thread as we are always available to your queries.


    Regards.

    Md. Shihab

    ****************************************************************************

    Please remember to click "Mark as Answer" on the post that helps you as this can be beneficial to other community members reading the thread. And vote as helpful.


    Thursday, January 5, 2017 4:34 AM

All replies

  • Hi Charlie,

    Thank you for contacting Microsoft forums. We are pleased to answer your query.

    If the client only supports SMB 2.1 (and not 3.0) then you can mount a file share on an Azure Virtual Machine only if it is in the same region.
    As you rightly pointed out, the SMB version supported on Windows Server 2008 R2 is 2.1 so it is not possible to mount Azure File share if they happen to be in different regions. With SMB 2.1, Azure File Storage was restricted to connect from the same region because of lack of encryption in the underlying SMB 2.1 protocol.


    I hope that the reply will assist you in getting your query addressed. In case you require further assistance, please do reply to the thread as we are always available to your queries.


    Regards.

    Md. Shihab

    ****************************************************************************

    Please remember to click "Mark as Answer" on the post that helps you as this can be beneficial to other community members reading the thread. And vote as helpful.


    Thursday, January 5, 2017 4:34 AM
  • We are based in Germany and the Azure Region is set to North Europe, but Share still not works on our Windows Server 2008 R2 Enterprice. Whats that ?
    Thursday, May 31, 2018 7:23 AM
  • Just for clarification, where is your file share storage account is located? Could you elaborate your scenario? In order to mount an Azure File share outside of the Azure region it is hosted in, such as on-premises or in a different Azure region, the OS must support SMB 3.0.

    Friday, June 1, 2018 7:57 PM
    Moderator