Hello All , On today’s scenario we will cover how to connect the new Azure Netapp service NFS to our Linux box.
So this new Service is great as it provides a point that can be shared across multiply resource and provide high iops .it’s an enterprise-grade Azure file shares, powered by NetApp.
There are many advantages using NetApp NFS VS other Cifs solutions.
In order to use this service you must register to the below NetApp form. Here : https://forms.office.com/Pages/ResponsePage.aspx?id=v4j5cvGGr0GRqy180BHbR8cq17Xv9yVBtRCSlcD_gdVUNUpUWEpLNERIM1NOVzA5MzczQ0dQR1ZTSS4u
Please be aware this are the supported regions .(Azure NetApp Files is available in US East, US West2, US South Central, US Central, EU West and EU North. )
Requirements : active azure subscription ,register to this services , Vnet with at least 2 subnets. please reserve 1 subnet for Netapp network and use other for your Linux VMs .
1.Create a resource group in one of the support regions. 2.then create a Pool and a volume. minimum Pool size = 4 TB ! [so i have chosen the basic standard tier]
Minimum Volume size is 100GB! [my vol name is Images]
On the Protocol Tab you may change the type and set ACL :
Created a Linux VM in my scenario Centos-based 7.5
Then i have created a Network Address : 10.1.0.0/16 and vided for 2 subnets:
VM Front : 10.1.1.0/24 , Backend NetApp 10.1.3.0/24
Backend subnet is been created during the volume creation.
as shown above I have created a Pool with default is 4TB Premium create a volume and created a subnet default is 100GB
Login to your Centos via ssh make sure you have the below packages or install them:
On Red Hat Enterprise Linux or SuSE Linux instance: sudo yum install -y nfs-utils
On an Ubuntu or Debian instance : sudo apt-get install nfs-common
Mounting your file system
Create a new directory on your VM : sudo mkdir Images
Example : Mount your endpoint:
sudo mount -t nfs -o rw,hard,rsize=65536,wsize=65536,vers=3,tcp 10.2.6.4:/Images Images
remember if you would like to delete this you must delete snapshots first then voumes and later the pools
Remember if you face any issue Feel free to raise a ticket to our wonderfully Azure support and an engineer will be happy to assist mitigate the issue.
Thank you , Tzachi Elkabatz