Skip to content

Commit 6d198ed

Browse files
Added examples. Updated doc for Azure compliance
1. Provided real-life examples for both CIFS and NFS mounts (Example includes Azure specific options) 2. NFS mount command had extra spaces. Removed. These would lead to errors in the field. Should retrospectively fix 5.2 docs as well.
1 parent a9cacb6 commit 6d198ed

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

_admin/setup/NAS-mount.md

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -96,30 +96,22 @@ To mount a NAS file system using the admin UI:
9696
To mount a NAS file system using the tscli:
9797
1. Log in to the Linux shell using SSH.
9898
2. Mount the directory to the file system, by issuing the appropriate command:
99-
- For an NFS (Network File System) directory:
99+
- Example for an NFS (Network File System) directory:
100100

101101
```
102-
tscli nas mount-nfs
103-
--server <server_NFS_address>
104-
--path_on_server <path>
105-
--mount_point <target>
106-
--options vers=<version>, sec=<security scheme>, <OPTIONS>
102+
tscli nas mount-nfs --server storageservername.file.yourdomain.net
103+
--path_on_server <path> /tsdev-backup --mount_point /export/BACKUPS/
104+
--options vers=<version>,sec=<security scheme>,<OPTIONS>
107105
```
108106
109107
{% include note.html content="Other command-line options are available to forward to the command (default: `noexec`)." %}
110108
111-
- For a CIFS (Common Internet File System) directory:
109+
- Example for a CIFS (Common Internet File System) directory:
112110
113111
```
114-
tscli nas mount-cifs
115-
--server <server_CIFS_address>
116-
--path_on_server <path>
117-
--mount_point <target>
118-
--username <user>
119-
--password <password>
120-
--uid <uid>
121-
--gid <gid>
122-
--options <OPTIONS>
112+
tscli nas mount-cifs --server storageservername.file.yourdomain.net
113+
--path_on_server /tsdev-backup --mount_point /export/BACKUPS/
114+
--username 'avtprdweutspotdev' --uid 1001 --gid 1001 --options 'vers=3.0'
123115
```
124116
125117
{% include note.html content="Other command-line options are available to forward to the `mount.cifs` command (default: `noexec`)." %}

0 commit comments

Comments
 (0)