Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
mounting_storage_server_shares [2015/03/05 20:28] – [Mount Directories] 132.216.122.23 | mounting_storage_server_shares [2024/03/26 13:52] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 31: | Line 31: | ||
Copy the public key to ace-storage-2 using ssh-copy-id | Copy the public key to ace-storage-2 using ssh-copy-id | ||
- | ssh-copy-id -i ~/ | + | ssh-copy-id -i ~/ |
| | ||
===== Test SSH login ===== | ===== Test SSH login ===== | ||
| | ||
You should be able to login without requiring your password | You should be able to login without requiring your password | ||
- | |||
===== Install SSHFS ===== | ===== Install SSHFS ===== | ||
Line 42: | Line 41: | ||
sudo apt-get install sshfs | sudo apt-get install sshfs | ||
- | ===== Mount Directories ===== | + | ===== Mount Points ===== |
+ | |||
+ | A mount point is a directory on your system where the content in a remote directory appears on your workstation. The standard location for mount points on linux and unix systems us `/mnt`. | ||
+ | |||
+ | IMPORTANT: To ensure that mount points continue to work and are still available (not clobbered) when LDAP mounts users home directories to `/ | ||
+ | |||
+ | Syntax | ||
+ | |||
+ | (using all lower case) | ||
+ | |||
+ | / | ||
+ | |||
+ | ==== Mount Point Examples ==== | ||
+ | |||
+ | / | ||
+ | / | ||
+ | / | ||
+ | |||
+ | ===== / | ||
+ | |||
+ | Ensure that `user_allow_other` is in / | ||
+ | |||
+ | ############################################################################### | ||
+ | # Ansible managed: last modified on 2016-04-05 13:09:11 by ace-ws-32 | ||
+ | # / | ||
+ | # root:fuse 644 | ||
+ | # | ||
+ | # Allow fuse to use allow_othe and allow_root options - CentOS and Ubuntu | ||
+ | # | ||
+ | # 0.1 2016-03-31 - ppatterson - Initial file | ||
+ | ############################################################################### | ||
+ | |||
+ | user_allow_other | ||
+ | |||
+ | 2. Connect it to the data directory on ace-storage-2 | ||
+ | |||
+ | Syntax | ||
+ | |||
+ | sshfs < user name >@< server name >:/ | ||
+ | |||
+ | Example | ||
+ | |||
+ | sshfs asmith@ace-storage-2.cbrain.mcgill.ca:/ | ||
+ | |||
+ | More information and options are described in [[https:// | ||
+ | |||
+ | ===== Mount Directories | ||
[[https:// | [[https:// | ||
Line 52: | Line 97: | ||
Add the following | Add the following | ||
- | < | + | < |
- | < | + | < |
- | < | + | < |
| | ||
- | ====== Access | + | ====== Access SAMBA Shares With Linux ====== |
{{: | {{: | ||
Line 63: | Line 108: | ||
{{: | {{: | ||
+ | |||
+ | ====== Access SAMBA Shares With MAC ====== | ||
+ | |||
+ | {{: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | {{: |