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
Before migrating the data, you must mount the Azure file share(s). This article shows how to mount the Azure file share using NTLMv2 authentication (storage account key). In non-administrative scenarios, using identity-based authentication is preferred for security reasons. You can find your storage account key in the [Azure portal](https://portal.azure.com/) by navigating to the storage account and selecting **Security + networking** > **Access keys**, or you can use the `Get-AzStorageAccountKey` PowerShell cmdlet.
101
+
Before migrating the data, you must mount the Azure file share(s).
102
102
103
103
# [Windows](#tab/windows)
104
104
105
105
#### For Windows clients (SMB):
106
106
107
-
Be sure to replace `<storage-account-name>`, `<share-name>`, and `<storage-account-key>` with your actual values.
107
+
This article shows how to mount the Azure file share using NTLMv2 authentication (storage account key). In non-administrative scenarios, using [identity-based authentication](storage-files-active-directory-overview.md) is preferred for security reasons.
108
+
109
+
You can find your storage account key in the [Azure portal](https://portal.azure.com/) by navigating to the storage account and selecting **Security + networking** > **Access keys**, or you can use the `Get-AzStorageAccountKey` PowerShell cmdlet.
110
+
111
+
To mount the file share, run the following command. Be sure to replace `<storage-account-name>`, `<share-name>`, and `<storage-account-key>` with your actual values.
108
112
109
113
```powershell
110
114
net use Z: \\<storage-account-name>.file.core.windows.net\<share-name> /u:AZURE\<storage-account-name> <storage-account-key>
@@ -114,7 +118,7 @@ net use Z: \\<storage-account-name>.file.core.windows.net\<share-name> /u:AZURE\
114
118
115
119
#### For Linux clients (NFS):
116
120
117
-
Be sure to replace `<storage-account-name>`, `<share-name>`, and `<mount-point>` with your actual values.
121
+
To mount the file share, run the following command. Be sure to replace `<storage-account-name>`, `<share-name>`, and `<mount-point>` with your actual values.
118
122
119
123
```bash
120
124
sudo mount -t nfs <storage-account-name>.file.core.windows.net:/<storage-account-name>/<share-name><mount-point> -o vers=4.1,sec=sys
0 commit comments