You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-netapp-files/azure-netapp-files-mount-unmount-volumes-for-virtual-machines.md
+14-13Lines changed: 14 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: Mount an NFS volume for virtual machines | Microsoft Docs
2
+
title: Mount NFS volumes for virtual machines | Microsoft Docs
3
3
description: Learn how to mount an NFS volume for Windows or Linux virtual machines.
4
4
author: b-hchen
5
5
ms.author: anfdocs
@@ -8,7 +8,7 @@ ms.workload: storage
8
8
ms.topic: how-to
9
9
ms.date: 08/18/2022
10
10
---
11
-
# Mount an NFS volume for Linux or Windows VMs
11
+
# Mount NFS volumes for Linux or Windows VMs
12
12
13
13
You can mount an NFS file for Windows or Linux virtual machines (VMs).
14
14
@@ -25,25 +25,26 @@ You can mount an NFS file for Windows or Linux virtual machines (VMs).
25
25
## <aname="linux"></a> Mount NFS volumes on Linux clients
26
26
27
27
1. Review the [Linux NFS mount options best practices](performance-linux-mount-options.md).
28
-
1. Select the **Volumes** pane and then the NFS volume that you want to mount.
29
-
1. To mount the NFS volume using a Linux client, select **Mount instructions** from the selected volume. Follow the displayed instructions to mount the volume.
30
-
31
-
:::image type="content" source="../media/azure-netapp-files/azure-netapp-files-mount-instructions-nfs.png" alt-text="Screenshot of Mount instructions." lightbox="../media/azure-netapp-files/azure-netapp-files-mount-instructions-nfs.png":::
32
-
33
-
* Ensure that you use the `vers` option in the `mount` command to specify the NFS protocol version that corresponds to the volume you want to mount.
28
+
2. Select the **Volumes** pane and then the NFS volume that you want to mount.
29
+
3. To mount the NFS volume using a Linux client, select **Mount instructions** from the selected volume. Follow the displayed instructions to mount the volume.
30
+
:::image type="content" source="../media/azure-netapp-files/azure-netapp-files-mount-instructions-nfs.png" alt-text="Screenshot of Mount instructions." lightbox="../media/azure-netapp-files/azure-netapp-files-mount-instructions-nfs.png":::
31
+
* Ensure that you use the `vers` option in the `mount` command to specify the NFS protocol version that corresponds to the volume you want to mount.
34
32
For example, if the NFS version is NFSv4.1:
35
33
`sudo mount -t nfs -o rw,hard,rsize=65536,wsize=65536,vers=4.1,tcp,sec=sys $MOUNTTARGETIPADDRESS:/$VOLUMENAME $MOUNTPOINT`
36
-
* If you use NFSv4.1 and your configuration requires using VMs with the same host names (for example, in a DR test), refer to [Configure two VMs with the same hostname to access NFSv4.1 volumes](configure-nfs-clients.md#configure-two-vms-with-the-same-hostname-to-access-nfsv41-volumes).
37
-
1. If you want the volume mounted automatically when an Azure VM is started or rebooted, add an entry to the `/etc/fstab` file on the host.
34
+
* If you use NFSv4.1 and your configuration requires using VMs with the same host names (for example, in a DR test), refer to [Configure two VMs with the same hostname to access NFSv4.1 volumes](configure-nfs-clients.md#configure-two-vms-with-the-same-hostname-to-access-nfsv41-volumes).
35
+
4. If you want the volume mounted automatically when an Azure VM is started or rebooted, add an entry to the `/etc/fstab` file on the host.
38
36
For example: `$ANFIP:/$FILEPATH /$MOUNTPOINT nfs bg,rw,hard,noatime,nolock,rsize=65536,wsize=65536,vers=3,tcp,_netdev 0 0`
39
37
* `$ANFIP` is the IP address of the Azure NetApp Files volume found in the volume properties menu
40
38
* `$FILEPATH` is the export path of the Azure NetApp Files volume
41
39
* `$MOUNTPOINT` is the directory created on the Linux host used to mount the NFS export
42
-
1. If you want to mount an NFS Kerberos volume, refer to [Configure NFSv4.1 Kerberos encryption](configure-kerberos-encryption.md) for additional details.
43
-
1. You can also access SMB volumes from Unix and Linux clients via NFS by setting the protocol access for the volume to “dual-protocol”. This allows for accessing the volume via NFS (NFSv3 or NFSv4.1) and SMB. See [Create a dual-protocol volume](create-volumes-dual-protocol.md) for details. Take note of the security style mappings table. Mounting a dual-protocol volume from Unix and Linux clients relies on the same procedure as regular NFS volumes.
40
+
5. If you want to mount an NFS Kerberos volume, refer to [Configure NFSv4.1 Kerberos encryption](configure-kerberos-encryption.md) for additional details.
41
+
6. You can also access SMB volumes from Unix and Linux clients via NFS by setting the protocol access for the volume to “dual-protocol”. This allows for accessing the volume via NFS (NFSv3 or NFSv4.1) and SMB. See [Create a dual-protocol volume](create-volumes-dual-protocol.md) for details. Take note of the security style mappings table. Mounting a dual-protocol volume from Unix and Linux clients relies on the same procedure as regular NFS volumes.
44
42
45
43
## Mount NFS volumes on Windows clients
46
-
Mounting NFSv4.1 volumes on Windows clients is supported. For more information, see [Network File System overview](../../windows-server/storage/nfs/nfs-overview). If you want to mount NFSv3 volumes on Windows client using NFS:
44
+
45
+
Mounting NFSv4.1 volumes on Windows clients is supported. For more information, see [Network File System overview](../../windows-server/storage/nfs/nfs-overview). You will experience better SMB performance from a dual-protocol volume than from using the NFS client on Windows with an NFS volume.
46
+
47
+
If you want to mount NFSv3 volumes on a Windows client using NFS:
47
48
48
49
1.[Mount the volume onto a Unix or Linux VM first](#linux).
49
50
1. Run a `chmod 777` or `chmod 775` command against the volume.
Copy file name to clipboardExpand all lines: articles/azure-netapp-files/mount-unmount-volumes-VMs-SMB.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,24 +1,23 @@
1
1
---
2
-
title: Mount an SMB volume for Windows or Linux VMs | Microsoft Docs
3
-
description: Learn how to mount an SMB volume for Windows or Linux virtual machines.
2
+
title: Mount SMB volumes for Windows VMs | Microsoft Docs
3
+
description: Learn how to mount SMB volumes for Windows virtual machines.
4
4
author: b-ahibbard
5
5
ms.author: anfdocs
6
6
ms.service: azure-netapp-files
7
7
ms.workload: storage
8
8
ms.topic: how-to
9
9
ms.date: 08/18/2022
10
10
---
11
-
# Mount an SMB volume for Windows or Linux VMs
11
+
# Mount SMB volumes for Windows VMs
12
12
13
-
You can mount an SMB file for Windows or Linux virtual machines (VMs).
13
+
You can mount an SMB file for Windows virtual machines (VMs).
14
14
15
-
## Steps
15
+
## Mount SMB volumes on a Windows client
16
16
17
17
1. Select the **Volumes** menu and then the SMB volume that you want to mount.
18
18
1. To mount the SMB volume using a Windows client, select **Mount instructions** from the selected volume. Follow the displayed instructions to mount the volume.
19
19
:::image type="content" source="../media/azure-netapp-files/azure-netapp-files-mount-instructions-smb.png" alt-text="Screenshot of Mount instructions." lightbox="../media/azure-netapp-files/azure-netapp-files-mount-instructions-smb.png":::
20
20
21
-
22
21
## Next steps
23
22
24
23
*[Mount NFS volumes for Windows or Linux VMs](azure-netapp-files-mount-unmount-volumes-for-virtual-machines.md)
0 commit comments