Skip to content

Commit f96a218

Browse files
authored
Merge pull request #196619 from seanluce/main
added note for AD Site Name importance
2 parents 3a203df + c6187a5 commit f96a218

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

articles/azure-netapp-files/azure-netapp-files-mount-unmount-volumes-for-virtual-machines.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: anfdocs
66
ms.service: azure-netapp-files
77
ms.workload: storage
88
ms.topic: how-to
9-
ms.date: 01/07/2022
9+
ms.date: 06/13/2022
1010
---
1111
# Mount a volume for Windows or Linux VMs
1212

@@ -45,9 +45,21 @@ You can mount an Azure NetApp Files file for Windows or Linux virtual machines (
4545

4646
4. If you want to mount the volume to Windows using NFS:
4747

48-
a. Mount the volume onto a Unix or Linux VM first.
49-
b. Run a `chmod 777` or `chmod 775` command against the volume.
50-
c. Mount the volume via the NFS client on Windows.
48+
> [!NOTE]
49+
> One alternative to mounting an NFS volume on Windows is to [Create a dual-protocol volume for Azure NetApp Files](create-volumes-dual-protocol.md), allowing the native access of SMB for Windows and NFS for Linux. However, if that is not possible, you can mount the NFS volume on Windows using the steps below.
50+
51+
* Set the permissions to allow the volume to be mounted on Windows
52+
* Follow the steps to [Configure Unix permissions and change ownership mode for NFS and dual-protocol volumes](configure-unix-permissions-change-ownership-mode.md#unix-permissions) and set the permissions to '777' or '775'.
53+
* Install NFS client on Windows
54+
* Open PowerShell
55+
* type: `Install-WindowsFeature -Name NFS-Client`
56+
* Mount the volume via the NFS client on Windows
57+
* Obtain the 'mount path' of the volume
58+
* Open a Command prompt
59+
* type: `mount -o anon -o mtype=hard \\$ANFIP\$FILEPATH $DRIVELETTER:\`
60+
* `$ANFIP` is the IP address of the Azure NetApp Files volume found in the volume properties blade.
61+
* `$FILEPATH` is the export path of the Azure NetApp Files volume.
62+
* `$DRIVELETTER` is the drive letter where you would like the volume mounted within Windows.
5163

5264
5. If you want to mount an NFS Kerberos volume, see [Configure NFSv4.1 Kerberos encryption](configure-kerberos-encryption.md) for additional details.
5365

0 commit comments

Comments
 (0)