Skip to content

Commit 21f25b3

Browse files
committed
Add links to mount options
1 parent 6d1d73e commit 21f25b3

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

articles/storage/files/storage-how-to-use-files-linux.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ fi
155155
sudo chmod 600 $SMB_CREDENTIAL_FILE
156156
```
157157
158-
Now you can mount the file share using the `mount` command using the credential file. In the following example, the `$SMB_PATH` command is populated using the fully qualified domain name for the storage account's file endpoint.
158+
Now you can mount the file share with the `mount` command using the credential file. In the following example, the `$SMB_PATH` command is populated using the fully qualified domain name for the storage account's file endpoint. See [mount options](#mount-options) for a list of SMB mount options.
159159
160160
# [SMB 3.1.1](#tab/smb311)
161161
> [!NOTE]
@@ -213,7 +213,9 @@ sudo mount -t cifs $SMB_PATH $MNT_PATH -o vers=2.1,credentials=$SMB_CREDENTIAL_F
213213
214214
---
215215
216-
You can also mount the same Azure file share to multiple mount points if desired. When you're done using the Azure file share, use `sudo umount $mntPath` to unmount the share.
216+
You can also mount the same Azure file share to multiple mount points if desired.
217+
218+
When you're done using the Azure file share, use `sudo umount $mntPath` to unmount the share.
217219
218220
## Automatically mount file shares
219221
@@ -271,7 +273,7 @@ MNT_PATH="$MNT_ROOT/$STORAGE_ACCOUNT_NAME/$FILE_SHARE_NAME"
271273
sudo mkdir -p $MNT_PATH
272274
```
273275
274-
Finally, create a record in the `/etc/fstab` file for your Azure file share. In the command below, the default 0755 Linux file and folder permissions are used, which means read, write, and execute for the owner (based on the file/directory Linux owner), read and execute for users in owner group, and read and execute for others on the system. You might wish to set alternate `uid` and `gid` or `dir_mode` and `file_mode` permissions on mount as desired. For more information on how to set permissions, see [UNIX numeric notation](https://en.wikipedia.org/wiki/File_system_permissions#Numeric_notation).
276+
Finally, create a record in the `/etc/fstab` file for your Azure file share. In the command below, the default 0755 Linux file and folder permissions are used, which means read, write, and execute for the owner (based on the file/directory Linux owner), read and execute for users in owner group, and read and execute for others on the system. You might wish to set alternate `uid` and `gid` or `dir_mode` and `file_mode` permissions on mount as desired. For more information on how to set permissions, see [UNIX numeric notation](https://en.wikipedia.org/wiki/File_system_permissions#Numeric_notation). See [mount options](#mount-options) for a list of SMB mount options.
275277
276278
> [!TIP]
277279
> If you want Docker containers running .NET Core applications to be able to write to the Azure file share, include **nobrl** in the SMB mount options to avoid sending byte range lock requests to the server.
@@ -330,7 +332,7 @@ sudo zypper install autofs
330332
```
331333
---
332334
333-
Next, update the `autofs` configuration files.
335+
Next, update the `autofs` configuration files. See [mount options](#mount-options) for a list of SMB mount options.
334336
335337
```bash
336338
FILE_SHARE_NAME="<file-share-name>"

0 commit comments

Comments
 (0)