This document describes how to connect to ResearchDrive storage from a Linux computer.
There are several ways to connect to ResearchDrive storage from a linux computer:
If you work with restricted data then you will need to consult your local IT support for assistance.
The smbclient method can be used by most linux user accounts, but the mount and /etc/fstab methods require root or sudo privledges so you may need to contact your system administrator or departmental IT person for assistance.
ResearchDrive storage accounts are named based on the PI's NetID such as //research.drive.wisc.edu/[pi netid] but collaborators will login to a ResearchDrive account with their own NetID credentials.
user@host:~ smbclient -k //research.drive.wisc.edu/[pi netid]
user@host:~ smbclient //research.drive.wisc.edu/[pi netid]
Try "help" to get a list of possible commands. smb: \>
smb: \>cd [directory] smb: \>put [filename] smb: \>get [filename2]
smb: \>prompt smb: \>mget *.tar.gz
Note: Samba performance is improved on CentOS/Red Hat v8 compared to v7. Consider upgrading to CentOS/Red Hat v8 for faster data transfer speeds.
user@host:~ sudo yum install -y cifs-utils samba-client
user@host:~ sudo mkdir /mnt/researchdrive
user@host:~ sudo mount -t cifs -o user=[netid],domain=ad.wisc.edu,sec=ntlmssp,seal,vers=3.0 //research.drive.wisc.edu/[pi netid] /mnt/researchdrive/
If multiple users need to access ResearchDrive from the same linux computer then the file share should be mounted by the root user in multiuser mode with an Active Directory service account that has minimal access to the contents of the share. Contact researchdrive@wisc.edu to request an Active Directory service account. Regular users can then provide their NetID credentials to the current session's kernel keyring using the cifscreds utility.
Note: Samba performance is improved on CentOS/Red Hat v8 compared to v7. Consider upgrading to CentOS/Red Hat v8 for faster data transfer speeds.
user@host:~ sudo yum install -y cifs-utils samba-client
user@host:~ sudo mkdir /mnt/researchdrive
user@host:~ vi ~/researchdrive.cred username=[netid] password=[netid password] domain=ad.wisc.edu (esc):wq
user@host:~ chown [user_name] ~/researchdrive.cred user@host:~ chmod 600 ~/researchdrive.cred
//research.drive.wisc.edu/[pi netid] /mnt/researchdrive cifs multiuser,sec=ntlmssp,seal,vers=3.0,credentials=/home/[user_name]/researchdrive.cred 0 0
user@host:~ sudo cifscreds add -u [netid] research.drive.wisc.edu Password: [netid password]
user@host:~ sudo apt-get install cifs-utils
user@host:~ sudo mkdir /mnt/researchdrive
user@host:~ sudo mount -t cifs -o user=[netid],domain=ad.wisc.edu,sec=ntlmssp,seal,vers=3.0 //research.drive.wisc.edu/[pi netid] /mnt/researchdrive/
If multiple users need to access ResearchDrive from the same linux computer then the file share should be mounted by the root user in multiuser mode with an Active Directory service account that has minimal access to the contents of the share. Contact researchdrive@wisc.edu to request an Active Directory service account. Regular users can then provide their NetID credentials to the current session's kernel keyring using the cifscreds utility.
user@host:~ sudo apt-get install cifs-utils samba-client
user@host:~ sudo mkdir /mnt/researchdrive
user@host:~ vi ~/researchdrive.cred username=[netid] password=[netid password] domain=ad.wisc.edu (esc):wq
user@host:~ chown [user_name] ~/researchdrive.cred user@host:~ chmod 600 ~/researchdrive.cred
//research.drive.wisc.edu/[pi netid] /mnt/researchdrive cifs multiuser,sec=ntlmssp,seal,vers=3.0,credentials=/home/[user_name]/researchdrive.cred 0 0
user@host:~ sudo cifscreds add -u [netid] research.drive.wisc.edu Password: [netid password]
Contact researchdrive@wisc.edu to open a support case.
For more information on common problems that can occur when mapping drives and how to troubleshoot them, please refer to the following resources: