-1

I am trying to mount an Azure storage account to a VM by following: https://learn.microsoft.com/en-us/azure/storage/files/storage-files-quick-create-use-linux

Seems it works, but I need to re-mount after VM reboot.

Can I update /etc/fstab so it will auto-mount after VM reboot?

Currently I specify the Azure file storage account size when creating it (100GB in the example). Can I mount to a Azure file storage account without specifying size, so it can auto-scale and pay as it goes?

Thanks.

user1828513
  • 367
  • 2
  • 7
  • 16

1 Answers1

0

If you want to mount a NFS file share permanently even after the vm reboot then you need to update the fstab as explained in this documentation

Can I mount to a Azure file storage account without specifying size, so it can auto-scale and pay as it goes?

No you cannot.NFS file shares are supported for premium storage accounts only. 100GB is the minimum storage/quota allocated when you create a NFS file share and you can expand up to 102400GB by using change size and performance option as shown in below image

enter image description here

VenkateshDodda
  • 4,723
  • 1
  • 3
  • 12
  • Thanks VenkateshDodda for your response. However the document is for auto-mounting SMB Azure file share on Linux, and I am looking for auto-mounting NFS file share to Linux. Can I auto-mount NFS file share to Linux after reboot? What're main differences between NFS file and SMB file? Which one should I use if I want to replace the attached disk in VM? Thanks a lot. – user1828513 Oct 21 '22 at 06:06