Carnegie Mellon University

How to Use AFS

Access Rights [pdf]

Common Unix Commands [pdf]

A read-only backup is made nightly, 6pm - 4am, of your AFS  content to the OldFiles directory. To recover a file:

  1. Launch the SFTP program. Use the appropriate link below to download the software, if not installed.
  2. Enter unix.andrew.cmu.edu for the server/hostname.
  3. Go to the OldFiles directory.
  4. Transfer your files from remote to local.
  1. Launch the SFTP program. Use the appropriate link below to download the software, if not installed.
  2. Enter unix.andrew.cmu.edu for the server/hostname.
  3. Transfer your files from local to remote in the appropriate directory.
    • My Documents, Desktop - files saved in a computer lab
    • Private - files you don't want to share
    • Public - shared files 
    • www - for personal web pages

When your AFS quota is depleted or almost depleted, you may have difficulty saving files or logging on to a machine in a computer lab. To resolve this problem, follow these instructions to delete AFS files and create storage space.

  1. Open your AFS directory, and log in with your Andrew userID and password:
    • On Mac or Linux, from Terminal, type ssh <Your Andrew userID>@unix.andrew.cmu.edu.
    • On a PC (Windows), connect to SSH Tectia.
  2. Type du -hs * to determine which directories are using the most space. Note: Because "OldFiles" do not count in your quota, you do not have to delete them.
  3. Type rm -f -r ./foldername/* to delete all files in a folder (foldername). Repeat the command with the name of each folder you want to delete until your quota is reduced to the size you want.
  4. Click Common Unix Commands to select the command to check your quota usage.