|
155 | 155 | sudo chmod 600 $SMB_CREDENTIAL_FILE
|
156 | 156 | ```
|
157 | 157 |
|
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. |
159 | 159 |
|
160 | 160 | # [SMB 3.1.1](#tab/smb311)
|
161 | 161 | > [!NOTE]
|
@@ -213,7 +213,9 @@ sudo mount -t cifs $SMB_PATH $MNT_PATH -o vers=2.1,credentials=$SMB_CREDENTIAL_F
|
213 | 213 |
|
214 | 214 | ---
|
215 | 215 |
|
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. |
217 | 219 |
|
218 | 220 | ## Automatically mount file shares
|
219 | 221 |
|
@@ -271,7 +273,7 @@ MNT_PATH="$MNT_ROOT/$STORAGE_ACCOUNT_NAME/$FILE_SHARE_NAME"
|
271 | 273 | sudo mkdir -p $MNT_PATH
|
272 | 274 | ```
|
273 | 275 |
|
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. |
275 | 277 |
|
276 | 278 | > [!TIP]
|
277 | 279 | > 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
|
330 | 332 | ```
|
331 | 333 | ---
|
332 | 334 |
|
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. |
334 | 336 |
|
335 | 337 | ```bash
|
336 | 338 | FILE_SHARE_NAME="<file-share-name>"
|
|
0 commit comments