7

My current method is to mount the filesystem via SSH using Nautilus's graphical interface, but I would much prefer to be able to use some tool that mounts the AFS filesystem and gives me access to AFS-specific features (permissions, etc.). I've tried installing OpenAFS via apt-get, but so far the kernel module has refused to compile. Also, assuming I get OpenAFS installed, I'm not quite sure how to actually mount the remote filesystem to, say, /media/afs or some directory.

I'm running Maverick with the 2.6.36-020636-generic kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/

Thanks for the help!

Jorge Castro
  • 73,717
AVB
  • 536

3 Answers3

3

Update: In the end, it appeared that the problem was due to using the mainline kernel. Once the Ubuntu kernel was updated to include vga_switcheroo, I tried again and installing OpenAFS via apt-get worked just fine. Running sudo service openafs-client start starts OpenAFS and mounts the AFS directory at /afs, and I use klog username to authenticate via Kerberos.

AVB
  • 536
2

Also, assuming I get OpenAFS installed, I'm not quite sure how to actually mount the remote filesystem to, say, /media/afs or some directory.

To specifically answer this part, this can be done by passing the -mountdir option to afsd, or modifying the /etc/openafs/cacheinfo file. To mount AFS on /media/afs instead of just /afs, pass -mountdir /media/afs to afsd, or specify the /media/afs directory in the first field inside /etc/openafs/cacheinfo. See afsd(8) and cacheinfo(5). AFS is traditionally always mounted on /afs, though; there's usually no reason to change it.

In order to pass the -mountdir option to afsd in Ubuntu, you need to modify /etc/openafs/afs.conf before the openafs client starts, and add the extra options to the OPTIONS or VERBOSE variables. It's probably easier to just modify cacheinfo instead.

adeason
  • 35
1

Check this article: http://lug.rose-hulman.edu/wiki/HOWTO_Use_sshfs_to_mount_AFS/DFS_home

Hope this will help

aneeshep
  • 30,949