Accessing Central Filesystems from Unmanaged Linux Boxes
For example, laptops or home computers connected to our OpenVPN server.
CLASSE provides several network accessible fileystems to our linux and unix systems using NFS. For a comprehensive list of available filesystems, please see
https://www.classe.cornell.edu/private/computing/filesystems.html .
To check if your file system is currently being backed up, see
BackupSchedule. To request changes to this schedule, please open a
ServiceRequest.
Use a graphical front-end
Thunar in XFCE (recommended)
- Open a File Browser (there are several ways from XFCE)
- "Xmouse Menu" -> File Manager
- "Command/WinKey + E"
- "Pause/Break", search for "thunar"
- In the address bar type
smb://samba.classe.cornell.edu
- Browse to your samba share.
- Enter your CLASSE username
- Change Workgroup/Domain to
CLASSE
- Enter your password. We recommend not saving it permenantly.
Nautilus (Pre 2019)
- Open a file browser (Panel->Applications->System Tools->File Browser, or type nautilus from a command line)
- Click on File->Connect to Server
- Change Service type to Windows share
- Change Server to
samba
- Change Share to
user
- Change Folder to your userName
- Change User Name to your userName
- Change "Domain Name:" to CLASSE
- Click Connect (Enter your password if necessary)
- To save this connection, click on Places and select Add Bookmark. You will then see this connection listed in the Places menu.
- Open files or drag and drop as needed
Use the smbclient command line utility (check out the man page, type "man smbclient" in a terminal window)
- execute
smbclient -U user -W CLASSE //samba/user
- You should now be located in \\samba\user
- Type "pwd" to show the current remote directory
- Type "cd " to change remote directory
- Type "ls" to list the contents of remote directory
- Type "lcd " to change the local directory
- Type "get " to copy a remote file to your local directory
- Type "put " to copy a local file to the remote directory. Note, the local starting directory is where you were when you started smbclient. So, if you have a file in your home directory, and start smbclient from your home directory, you can just use the file name. I recommend navigating to the local directory where you wish to download to or upload from and starting there.
- Type "quit" to disconnect and exit
Mount remote directory using the command line (must be root):
Depending on your operating system, you should be able to mount a remote sure using CIFS. For example, the following commands would mount your User disk (\\samba\user\username) at /mnt/tmp. Replace "username" with your CLASSE username, and try each of the following in order of preference
- kinit username
- mount -t cifs -o sec=krb5 //samba/user/username /mnt/tmp
- mount -t cifs -o sec=krb5,cruid=username //samba/user/username /mnt/tmp
- mount -t cifs -o username=username,domain=CLASSE //samba/user/username /mnt/tmp