cannot mount File Storage on Redhat 8 VM

Mostafa 20 Reputation points
2024-11-29T21:08:02.01+00:00

Hello

I got this message when trying to mount Azure File storage on Redhat 8 VM

mount -vvv -t nfs

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,329 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,172 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Giovanna Moreira 0 Reputation points Microsoft Employee
    2024-12-03T11:40:08.9233333+00:00

    Hello Mostafa,
    I hope you're doing well.

    Thank you for replying to us. As per my understanding, you are trying to mount an NFS file share in a RHEL machine.

    Please, confirm if you have created a NFS file share. It is only available for premium storage accounts:

    User's image

    Also, you need to specify the protocol while creating the file share:

    User's image

    For reference:

    https://learn.microsoft.com/en-us/azure/storage/files/storage-files-how-to-mount-nfs-shares

    https://learn.microsoft.com/en-us/azure/storage/files/storage-files-quick-create-use-linux

    Alternatively, you may mount a SMB File Share in Linux as well: https://learn.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-linux?tabs=RHEL%2Csmb311.

    Please, let us know if you have further questions.

    Best regards,

    Giovanna


  2. deherman-MSFT 37,831 Reputation points Microsoft Employee
    2024-12-10T19:08:10.0266667+00:00

    @Mostafa

    Since you are accessing the Azure Files NFS from Red Hat VM you will need to access via Private Endpoint.

    If you want to access shares from on-premises, then you must set up a VPN or ExpressRoute in addition to a private endpoint. Requests that don't originate from the following sources will be rejected:

    Please follow the steps outlined in Set up a private endpoint or service endpoint. If you are still facings issues please test from a different VM, like Ubuntu or RHEL 9 to see if the issues is vm related.


    If you still have questions, please let us know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.

    If the answer has been helpful, we appreciate hearing from you and would love to help others who may have the same question. Accepting answers helps increase visibility of this question for other members of the Microsoft Q&A community.

    Thank you for helping to improve Microsoft Q&A!

    User's image

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.