Tag Archives: openafs

ECE Clusters to use ANDREW.CMU.EDU authentication

UPDATE: 2020.08.31 12:30 EDT – Please note that ECE accounts can still be used by connecting to fileexchange.cit.cmu.edu

ANDREW.CMU.EDU authentication is now the default for the ECE “number cluster”, ECE-GUI cluster, HH1305 and HH1307 lab linux machines.

The default home directory will be your Andrew AFS space (/afs/andrew.cmu.edu/usr/$USER/).

Your ECE AFS space (/afs/ece.cmu.edu/usr/$USER) still exists and can be changed into via cross realm authentication (ece / cs documentation). Cross realm authentication is available for all existing and newly created users.   Access permissions are unaffected. If an access control problem is found, login to fileexchange.cit.cmu.edu with ECE credentials to correct it. (an example find is in the FAQ below)

FAQ:

Q: CMU only provides a 2GB storage quota. How can I get more space?
Q: Where are my files, I do not see files I had in my home directory?
Q: I would prefer to use my ECE home directory, How can I do that?
Q: How can I fix permission issues myself?
Q: The SSH banner text is interfering with my program. How can I fix this?

  • Q: CMU only provides a 2GB storage quota. How can I get more space?
  • A: ECE ITS can not increase Andrew AFS quotas. Use ECE space for larger data needs. Please contact ITS if you require assistance.
  • Q: Where are my files, I do not see files I had in my home directory?
  • A: Your files haven’t been deleted or moved.  Your home directory ($HOME) is defaulting to your Andrew AFS directory (/afs/andrew.cmu.edu/usr/$USER) vs your ECE directory (/afs/ece.cmu.edu/usr/$USER).  Your files are likely in the ECE AFS space directory.  If your programs expect to write into your home directory, create the symlink mentioned in the next paragraph.
  • Q: I would prefer to use my ECE home directory, How can I do that?
  • A: For ease of use, you can set this to happen automatically at login. Create a symlink which will, after the next login, cd to the directory linked upon and set $HOME to the link target. The command to cut and paste is below:
    • ln -s /afs/ece.cmu.edu/usr/$USER/ /afs/andrew.cmu.edu/usr/$USER/.ecehomedir
    • log out and log back into the system for the $HOME environment variable to update
    • $HOME can be updated directly in the active session with the following commands
      • cd /afs/ece.cmu.edu/usr/$USER
      • export HOME=/afs/ece.cmu.edu/usr/$USER
  • Q: How can I fix permission issues myself?
  • A: SSH to fileexchange.cit.cmu.edu with your ECE account and change them.
    • After login via ssh, run (on one line):
      find /afs/ece.cmu.edu/usr/$USER -type d -exec fs sa {} $USER@andrew.cmu.edu all \;
      Substitute path for external project space, or group access as needed.

 

  • Q: The SSH banner text is interfering with my program. How can I fix this?
  • A: Enable quiet SSH on the commandline or in your ~/.ssh/config) using the “-q” flag
    • ssh -q USERNAME@SERVER_FQDN
Posted in News Tagged , ,