Connect to Engram from Linux

Engram can be accessed remotely by using the CUIT Virtual Private Network (VPN) service. (More VPN setup details provided here (Limited access UNI login required))

1. SMB Share

a. Ubuntu

If cifs-utils not installed, install them using the following command

$ sudo apt-get install cifs-utils

Create a local mount point. For example:

$ mkdir ~/engram

Mount the share using the following command

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  //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

b. CentOS

Required packages

Make sure that the following packages are installed:

[uni1234@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.

Mount the share

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