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/storage/blobs/network-file-system-protocol-support-how-to.md
+20-12Lines changed: 20 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,31 +75,39 @@ Create a directory on your Linux system, and then mount the container in the sto
75
75
1. On your Linux system, create a directory:
76
76
77
77
```
78
-
mkdir -p /mnt/test
78
+
mkdir -p /nfsdata
79
79
```
80
80
81
-
2. Mount the container by using the following command:
82
-
83
-
```
84
-
mount -o sec=sys,vers=3,nolock,proto=tcp <storage-account-name>.blob.core.windows.net:/<storage-account-name>/<container-name> /mnt/test
85
-
```
86
-
87
-
- Replace the `<storage-account-name>` placeholder that appears in this command with the name of your storage account.
88
-
89
-
- Replace the `<container-name>` placeholder with the name of your container.
81
+
2. Mount the container by one of the following methods:
82
+
- In both methods replace the `<storage-account-name>` placeholder with the name of your storage account and `<container-name>` with the name of your container.
83
+
84
+
- To have the share mounted automatically on reboot
85
+
- create an entry in the /etc/fstab file by adding the following line
- Run the following command to immediately process the /etc/fstab entries and attempt mount the above path
90
+
```
91
+
mount /nfsdata
92
+
```
93
+
94
+
- For a temporary mount which will not persist across reboots
95
+
```
96
+
mount -o sec=sys,vers=3,nolock,proto=tcp <storage-account-name>.blob.core.windows.net:/<storage-account-name>/<container-name> /nfsdata
97
+
```
90
98
91
99
## Resolve common errors
92
100
93
101
|Error | Cause/resolution|
94
102
|---|---|
95
103
|`Access denied by server while mounting`|Ensure that your client is running within a supported subnet. See [Supported network locations](network-file-system-protocol-support.md#supported-network-connections).|
96
104
|`No such file or directory`| Make sure to type, rather than copy and paste, the mount command and its parameters directly into the terminal. If you copy and paste any part of this command into the terminal from another application, hidden characters in the pasted information might cause this error to appear. This error also might appear if the account isn't enabled for NFS 3.0.|
97
-
|`Permission denied`| The default mode of a newly created NFS 3.0 container is 0750. Non-root users don't have access to the volume. If access from non-root users is required, root users must change the mode to 0755. Sample command: `sudo chmod 0755 /mnt/<newcontainer>`|
105
+
|`Permission denied`| The default mode of a newly created NFS 3.0 container is 0750. Non-root users don't have access to the volume. If access from non-root users is required, root users must change the mode to 0755. Sample command: `sudo chmod 0755 /nfsdata`|
98
106
|`EINVAL ("Invalid argument"`) |This error can appear when a client attempts to:<li>Write to a blob that was created from a blob endpoint.<li>Delete a blob that has a snapshot or is in a container that has an active WORM (write once, read many) policy.|
99
107
|`EROFS ("Read-only file system"`) |This error can appear when a client attempts to:<li>Write to a blob or delete a blob that has an active lease.<li>Write to a blob or delete a blob in a container that has an active WORM policy. |
100
108
|`NFS3ERR_IO/EIO ("Input/output error"`) |This error can appear when a client attempts to read, write, or set attributes on blobs that are stored in the archive access tier. |
101
109
|`OperationNotSupportedOnSymLink` error| This error can be returned during a write operation via a Blob Storage or Azure Data Lake Storage Gen2 API. Using these APIs to write or delete symbolic links that are created by using NFS 3.0 is not allowed. Make sure to use the NFS 3.0 endpoint to work with symbolic links. |
102
-
|`mount: /mnt/test: bad option;`| Install the NFS helper program by using `sudo apt install nfs-common`.|
110
+
|`mount: /nfsdata: bad option;`| Install the NFS helper program by using `sudo apt install nfs-common`.|
0 commit comments