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
- If you see a red or gray S icon ( ) in the notification area (located at the far right of the taskbar):
Right-click the icon and click Mount AFS Drive.
If you don't see a red or gray S 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.
- Enter your SUNet ID and password and click OK.
- The Mount AFS Volume window will be displayed.
Mount your home directory
- In the Mount Volume belonging to list, click My Home.
- 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.
- Click Mount.
- 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
- In the Mount Volume belonging to list, click User, Class, Department, or Group.
- 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)
- 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.
- Click Mount.
- 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
- 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).
- 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.
- Click Mount.
- The AFS directory will automatically open in Windows Explorer, and the directory will be added as a new drive.
Disconnect a mounted volume
- Open the Currently mounted volumes list.
- Select the volume that you want to disconnect and then click Unmount.
Remount a previously mounted volume
- Open the Previous mounted volumes list. Up to 10 of the most recently mounted drives are displayed.
- Select the drive that you want to remount and then click Mount.
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
- In the AFS Tokens menu, click Discard Token.
- In the AFS Tokens menu, click Get New Token.
- When the Obtain AFS Token dialog box is displayed, enter your SUNet ID and password and click OK..
Stop and start AFS service
- In the AFS Service menu, click Stop.
- In the AFS Service menu, click Start.
- When the Obtain AFS Token dialog box is displayed, enter your SUNet ID and password and click OK.