Skip to content Skip to site navigation

Mount AFS Volumes

Stanford OpenAFS lets you mount an AFS location to a drive in your Windows Explorer. Once it is mounted, you can see all files and directories in the AFS location in a Windows Explorer window. You can also drag and drop files between your local drives and your mounted AFS locations. For example, you can create web pages on your PC and then drag the generated files into your WWW folders in your AFS home folder.

Log in to OpenAFS

  1. If you see a red or gray S icon ( Stanford Desktop Tools icon ) in the notification area (located at the far right of the taskbar):
    Right-click the icon and click Mount AFS Drive.

    Stanford Desktop Tools shortcut menu

    If you don't see a red or gray S icon (Stanford Desktop Tools icon ) in the notification area:
    Click the Windows Start menu and navigate to Programs > Stanford > OpenAFS > Stanford AFS Controller. When you are prompted to obtain a valid AFS token, click Yes.

    prompt to obtain new AFS token
     
  2. Enter your SUNet ID and password and click OK.

    get new AFS token
     
  3. The Mount AFS Volume window will be displayed.

Mount your home directory

  1. In the Mount Volume belonging to list, click My Home.
     
  2. If you want your home directory to mount automatically the next time you log in to Stanford OpenAFS, check the box for Restore mount at next login.
     
  3. Click Mount.

    mount your AFS home directory
     
  4. Your AFS home directory will automatically open in Windows Explorer, and the directory will be added as a new drive.

Mount a user, class, department, or group directory

  1. In the Mount Volume belonging to list, click User, Class, Department, or Group.
     
  2. In the adjacent box, type in the name of the directory you want to mount.
    • For User—enter the SUNet ID of a user's home directory (example: enter jdoe to mount John Doe's directory)
    • For Class—enter the class name (example: econ1)
    • For Department—enter the name of a department (example: biology)
    • For Group—enter the name of name of a group (example: dance)
       
  3. If you want the directory to mount automatically the next time you log in to Stanford OpenAFS, check the box for Restore mount at next login.

    Note: In order to restore the mount the next time you log in, single sign-on must be enabled and you must log in to Stanford OpenAFS using your SUNet ID and password.
     
  4. Click Mount.

    mount a department
     
  5. The AFS directory will automatically open in Windows Explorer, and the directory will be added as a new drive.

Mount AFS root or AFS path

  1. To mount the entire AFS file system, in the Mount Volume belonging to list, click AFS Root.

    If you prefer to mount a volume using a specific AFS path, in the Mount Volume belonging to list, click AFS Path and then enter the full path in the adjacent box (examples: enter \\afs\ir.stanford.edu\dept\chemistry to mount the volume for the chemistry department; enter \\afs\ir.stanford.edu\users\j\d\jdoe to mount John Doe's home directory).
     
  2. If you want the path to mount automatically the next time you log in to Stanford OpenAFS, check the box for Restore mount at next login.

    Note: In order to restore the mount the next time you log in, single sign-on must be enabled and you must log in to Stanford OpenAFS using your SUNet ID and password.
     
  3. Click Mount.

    mount a path
     
  4. The AFS directory will automatically open in Windows Explorer, and the directory will be added as a new drive.

Disconnect a mounted volume

  1. Open the Currently mounted volumes list.
     
  2. Select the volume that you want to disconnect and then click Unmount.

    disconnect a mounted volume

Remount a previously mounted volume

  1. Open the Previous mounted volumes list. Up to 10 of the most recently mounted drives are displayed.
     
  2. Select the drive that you want to remount and then click Mount.

    remount a previously mounted volume

Troubleshooting

If you encounter problems with Stanford OpenAFS there are a couple of things you should try from the Mount AFS Volume window:

  • Discard the current AFS token and get a new one
  • Stop and re-start the AFS service
  • Restart your computer

OpenAFS tokens expire after about 25 hours. A common symptom of an expired OpenAFS token is that your ability to access AFS directories suddenly stops working. You may also see an "Access denied" message. The remedy is to get a new AFS token.

Discard AFS token

  1. In the AFS Tokens menu, click Discard Token.
  2. In the AFS Tokens menu, click Get New Token.
  3. When the Obtain AFS Token dialog box is displayed, enter your SUNet ID and password and click OK..

Stop and start AFS service

  1. In the AFS Service menu, click Stop.
  2. In the AFS Service menu, click Start.
  3. When the Obtain AFS Token dialog box is displayed, enter your SUNet ID and password and click OK.
Last modified December 9, 2015