Difference between revisions of "Samba Access"
Moskalenko (talk | contribs) |
|||
(32 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
− | [[Category:Storage]] | + | [[Category:Storage]][[Category:Transfer Data]] |
− | + | __NOTOC__ | |
Samba is a Linux server that provides remote filesystem access using SMB/CIFS protocol and is most commonly used by UFRC clients for drive mapping to HiPerGator filesystems from their Microsoft Windows, MacOS, and Linux desktops. | Samba is a Linux server that provides remote filesystem access using SMB/CIFS protocol and is most commonly used by UFRC clients for drive mapping to HiPerGator filesystems from their Microsoft Windows, MacOS, and Linux desktops. | ||
'''Notice:''' Samba access is only available while on the University of Florida network. You must be on campus or connected to the [http://vpn.ufl.edu UF VPN] to mount HiPerGator filesystems as network drive shares. | '''Notice:''' Samba access is only available while on the University of Florida network. You must be on campus or connected to the [http://vpn.ufl.edu UF VPN] to mount HiPerGator filesystems as network drive shares. | ||
− | + | The network drive server name for /blue and /orange is <code>exasmb.rc.ufl.edu</code> | |
− | |||
− | The network drive server name is <code>exasmb.rc.ufl.edu</code> | ||
− | + | The network drive server name for /home is <code>cifs.rc.ufl.edu</code>. | |
− | + | =Mapping Drive Shares= | |
− | + | '''Note:''' for automatically mounted filesystem paths like /blue/group or /orange/project use the full path when mounting a samba share to initiate the automounting. e.g. on Windows type the full path into the Windows Explorer Path bar - '\\exasmb.rc.ufl.edu\blue\mygroup\mydir'. | |
− | \\exasmb.rc.ufl.edu | ||
− | |||
− | |||
+ | == Windows == | ||
+ | <div class="mw-collapsible mw-collapsed" style="width:70%; padding: 5px; border: 1px solid gray;"> | ||
+ | ''Expand this section to view instructions for accessing with Windows.'' | ||
+ | <div class="mw-collapsible-content" style="padding: 5px;"> | ||
+ | [[File:Map network drive.jpg|thumb|right|Open "This PC", then click on the "Computer" tab and select "Map network drive".]] | ||
+ | If you are logged into a managed device with UFAD credentials enter the following into the search field in the Start Menu or the Windows Explorer location bar and browse the available folders. | ||
+ | *<pre>\\exasmb.rc.ufl.edu</pre> | ||
+ | For /home, the server name is : | ||
+ | *<pre>\\cifs.rc.ufl.edu</pre> | ||
+ | You cannot browse the home area. You MUST enter the full path to your home share: \\cifs.rc.ufl.edu\home\<username> | ||
If you are not logged with UFAD credentials i.e. are using a local Windows account or some such a login box will appear for a username and password. Enter your UFAD credentials to be connected to the system. Precede your username with "UFAD\". | If you are not logged with UFAD credentials i.e. are using a local Windows account or some such a login box will appear for a username and password. Enter your UFAD credentials to be connected to the system. Precede your username with "UFAD\". | ||
− | + | *For example, user "jsmith" would enter the following username | |
− | For example, user "jsmith" would enter the following username | + | *<pre> UFAD\jsmith</pre> |
− | |||
− | <pre> | ||
− | |||
− | </pre> | ||
'''Note:''' If contents of the Samba folders change after the connection is established, you may need to click on the refresh button in Windows Explorer or press 'F5' to see the changes. | '''Note:''' If contents of the Samba folders change after the connection is established, you may need to click on the refresh button in Windows Explorer or press 'F5' to see the changes. | ||
+ | </div></div> | ||
==MacOS X== | ==MacOS X== | ||
+ | <div class="mw-collapsible mw-collapsed" style="width:70%; padding: 5px; border: 1px solid gray;"> | ||
+ | ''Expand this section to view instructions for accessing with Mac.'' | ||
+ | <div class="mw-collapsible-content" style="padding: 5px;"> | ||
# Bring the Finder to the front | # Bring the Finder to the front | ||
# Select "Connect to Server..." from the "Go" menu or press <code>Command+K</code> | # Select "Connect to Server..." from the "Go" menu or press <code>Command+K</code> | ||
# Enter smb://exasmb.rc.ufl.edu | # Enter smb://exasmb.rc.ufl.edu | ||
# Click "+" button to add to favorites (optional) | # Click "+" button to add to favorites (optional) | ||
+ | # Select "smb://exasmb.rc.ufl.edu" shown under Favorite Servers | ||
# Connect (use GatorLink user name and password) | # Connect (use GatorLink user name and password) | ||
'''Note:''' There is a known issue with the CIFS client in Mac Finder. The Finder software in current version of MacOS does not have a refresh button to update contents for any changes after the connection is established and disconnecting/reconnecting does not refresh CIFS contents either. A manual solution to force refreshing in Mac Finder can be found on the web [http://apple.stackexchange.com/questions/49543/is-there-a-way-to-refresh-a-finder-file-listing], [http://www.shasam.net/blog/2007/3/20/mac-osx-finder-refresh.html]. | '''Note:''' There is a known issue with the CIFS client in Mac Finder. The Finder software in current version of MacOS does not have a refresh button to update contents for any changes after the connection is established and disconnecting/reconnecting does not refresh CIFS contents either. A manual solution to force refreshing in Mac Finder can be found on the web [http://apple.stackexchange.com/questions/49543/is-there-a-way-to-refresh-a-finder-file-listing], [http://www.shasam.net/blog/2007/3/20/mac-osx-finder-refresh.html]. | ||
− | + | </div></div> | |
== Linux == | == Linux == | ||
+ | <div class="mw-collapsible mw-collapsed" style="width:70%; padding: 5px; border: 1px solid gray;"> | ||
+ | ''Expand this section to view instructions for accessing with Linux.'' | ||
+ | <div class="mw-collapsible-content" style="padding: 5px;"> | ||
=== GNOME Desktop === | === GNOME Desktop === | ||
Click on a "Places" Menu at the top-left corner of the screen. Select the "Connect to Server..." option to open a dialog where you can select the service type, server, etc. Fill out the dialog as shown below: | Click on a "Places" Menu at the top-left corner of the screen. Select the "Connect to Server..." option to open a dialog where you can select the service type, server, etc. Fill out the dialog as shown below: | ||
Line 50: | Line 59: | ||
To mount from the Linux shell prompt, install the cifs-utils package (yum or apt-get) and run | To mount from the Linux shell prompt, install the cifs-utils package (yum or apt-get) and run | ||
− | sudo mount -t cifs -v -o user=<GatorLink Username>,domain=ufad,sec=ntlmssp | + | sudo mount -t cifs -v -o user=<GatorLink Username>,domain=ufad,sec=ntlmssp <remote share>/<group> <local mount point> |
− | where <GatorLink Username> is your GatorLink username, <remote share> is the remote folder you wish to mount, <group> is the group directory you wish to access, and <local mount point> is the local directory on which to mount the remote share (i.e. directory). | + | where '''<GatorLink Username>''' is your GatorLink username, '''<remote share>''' is the remote folder you wish to mount, '''<group>''' is the group directory you wish to access, and '''<local mount point>''' is the local directory on which to mount the remote share (i.e. directory). For '/home', '''<remote share>''' will be //cifs.rc.ufl.edu/home. |
You will be asked to enter your Gatorlink password. | You will be asked to enter your Gatorlink password. | ||
− | + | '''Research Computing only supports SMB versions >3.0.''' | |
====Examples==== | ====Examples==== | ||
− | + | * /blue | |
− | + | mount -t cifs -v -o user=joe.smith,domain=ufad,sec=ntlmssp //exasmb.rc.ufl.edu/blue/smith /mnt/blue/smith | |
− | |||
− | |||
− | + | * /orange | |
− | + | mount -t cifs -v -o user=joe.smith,domain=ufad,sec=ntlmssp //exasmb.rc.ufl.edu/orange/smith /mnt/orange/smith | |
− | |||
− | |||
− | + | * /home | |
− | + | mount -t cifs -v -o user=joe.smith,domain=ufad,sec=ntlmssp //cifs.rc.ufl.edu/home/jsmith /mnt/home | |
− | + | </div></div> | |
− | </ |
Latest revision as of 21:07, 20 August 2024
Samba is a Linux server that provides remote filesystem access using SMB/CIFS protocol and is most commonly used by UFRC clients for drive mapping to HiPerGator filesystems from their Microsoft Windows, MacOS, and Linux desktops.
Notice: Samba access is only available while on the University of Florida network. You must be on campus or connected to the UF VPN to mount HiPerGator filesystems as network drive shares.
The network drive server name for /blue and /orange is exasmb.rc.ufl.edu
The network drive server name for /home is cifs.rc.ufl.edu
.
Note: for automatically mounted filesystem paths like /blue/group or /orange/project use the full path when mounting a samba share to initiate the automounting. e.g. on Windows type the full path into the Windows Explorer Path bar - '\\exasmb.rc.ufl.edu\blue\mygroup\mydir'.
Windows
Expand this section to view instructions for accessing with Windows.
If you are logged into a managed device with UFAD credentials enter the following into the search field in the Start Menu or the Windows Explorer location bar and browse the available folders.
\\exasmb.rc.ufl.edu
For /home, the server name is :
\\cifs.rc.ufl.edu
You cannot browse the home area. You MUST enter the full path to your home share: \\cifs.rc.ufl.edu\home\<username> If you are not logged with UFAD credentials i.e. are using a local Windows account or some such a login box will appear for a username and password. Enter your UFAD credentials to be connected to the system. Precede your username with "UFAD\".
- For example, user "jsmith" would enter the following username
UFAD\jsmith
Note: If contents of the Samba folders change after the connection is established, you may need to click on the refresh button in Windows Explorer or press 'F5' to see the changes.
MacOS X
Expand this section to view instructions for accessing with Mac.
- Bring the Finder to the front
- Select "Connect to Server..." from the "Go" menu or press
Command+K
- Enter smb://exasmb.rc.ufl.edu
- Click "+" button to add to favorites (optional)
- Select "smb://exasmb.rc.ufl.edu" shown under Favorite Servers
- Connect (use GatorLink user name and password)
Note: There is a known issue with the CIFS client in Mac Finder. The Finder software in current version of MacOS does not have a refresh button to update contents for any changes after the connection is established and disconnecting/reconnecting does not refresh CIFS contents either. A manual solution to force refreshing in Mac Finder can be found on the web [1], [2].
Linux
Expand this section to view instructions for accessing with Linux.
GNOME Desktop
Click on a "Places" Menu at the top-left corner of the screen. Select the "Connect to Server..." option to open a dialog where you can select the service type, server, etc. Fill out the dialog as shown below:
- Service type: Windows Share
- Server: exasmb.rc.ufl.edu
- Share: blue for /blue, homes for /home, or orange for /orange filesystem
- Domain: UFAD
- Username: your Gatorlink user name
- Password: your Gatorlink password
Command Line
To mount from the Linux shell prompt, install the cifs-utils package (yum or apt-get) and run
sudo mount -t cifs -v -o user=<GatorLink Username>,domain=ufad,sec=ntlmssp <remote share>/<group> <local mount point>
where <GatorLink Username> is your GatorLink username, <remote share> is the remote folder you wish to mount, <group> is the group directory you wish to access, and <local mount point> is the local directory on which to mount the remote share (i.e. directory). For '/home', <remote share> will be //cifs.rc.ufl.edu/home.
You will be asked to enter your Gatorlink password.
Research Computing only supports SMB versions >3.0.
Examples
- /blue
mount -t cifs -v -o user=joe.smith,domain=ufad,sec=ntlmssp //exasmb.rc.ufl.edu/blue/smith /mnt/blue/smith
- /orange
mount -t cifs -v -o user=joe.smith,domain=ufad,sec=ntlmssp //exasmb.rc.ufl.edu/orange/smith /mnt/orange/smith
- /home
mount -t cifs -v -o user=joe.smith,domain=ufad,sec=ntlmssp //cifs.rc.ufl.edu/home/jsmith /mnt/home