How to Use AFS
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:
- Launch the SFTP program. Use the appropriate link below to download the software, if not installed.
- Enter unix.andrew.cmu.edu for the server/hostname.
- 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.
- 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.
- 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.
- 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.
- Click Common Unix Commands to select the command to check your quota usage.