AFS
From FarmShare
AFS is now available on the barley machines. You'll want to ensure you have your Kerberos ticket on corn-image-new first.
To obtain and cache Kerberos ticket-granting ticket:
kinit
To list cached Kerberos tickets:
klist
Next, you'll want to ensure you have a valid AFS token.
To obtain tokens for authentication to AFS:
aklog
To display the issuer's tokens:
tokens
Then you can just submit jobs to the resource manager, and the jobs will be able to read/write to/from your AFS directories.
To submit a job:
echo "sleep 3600" | qsub
A simple, complete example:
ssh corn-image-new kinit aklog echo "sleep 3600" | qsub