...
sudo /sbin/mount.cifs --verbose -o vers=2.1,user=UNI,domain=adcu.columbia.edu,uid=$(id -u),forceuid,gid=$(id -g),forcegid,file_mode=0755,dir_mode=0755,rw,noacl noacl //TIERNAME-smb.engram.rc.zi.columbia.edu/LABNAME-TIERNAME /home/$(id -un)/engram
- Replace strings in BOLD with real values, as follows:
- UNI - your UNI
- TIERNAME - locker, labshare or staging
- LABNAME - name of your lab
- Replace strings in BOLD with real values, as follows:
...
Make sure that the following packages are installed:
[
root@hostuni1234@host]#$ sudo yum install samba-client samba-common cifs-utils
which will also pull in any needed dependencies. Note that cifs-utils is for CentOS-6 (or later) only.
...
Create a local mount point. For example:
[uni1234@host]$ mkdir ~/engram
Mount the engram to the mountpoint using the following command:
[uni1234@host]$ sudo /sbin/mount.cifs --verbose -o vers=2.1,user=UNI,domain=adcu.columbia.edu //TIER-smb.engram.rc.zi.columbia.edu/LABNAME-TIER /home/UNI/engram
Replace strings in BOLD with real values, as follows:
- UNI - your UNI
- TIERNAME - locker, labshare or staging
- LABNAME - name of your lab
2. NFS Share
a. Ubuntu
Required packages
$ apt install nfs-common
Mounting share
Modify the following example for your needs and insert into /etc/fstab file
locker-smb.engram.rc.zi.columbia.edu:/MYLAB/MYSHARE /MOUNTPOINT nfs _netdev,nfsvers=3,tcp,rw,hard,intr,timeo=600,retrans=2 0 2
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...