Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

...

Make sure that the following packages are installed:

[
root@host
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.

...

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

Filter by label (Content by label)
showLabelsfalse
max5
spaceszmbbi
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ( "mount" , "engram" , "ubuntu" , "linux" , "centos" ) and type = "page" and space = "zmbbi"
labelsengram linux ubuntu centos mount

...