Difference between revisions of "ECE497 Mounting dfs/afs in Linux"

From eLinux.org
Jump to: navigation, search
m (Removed category)
Line 1: Line 1:
 +
[[Category:ECE497]]
 +
 
You can set up your Linux box to directly mount your afs and dfs files.  The [http://lug.rose-hulman.edu/wiki/Main_Page Rose-Hulman Linux Users' Group] has a nice [http://lug.rose-hulman.edu/wiki/HOWTO_Use_sshfs_to_mount_AFS/DFS_home page] with the details .
 
You can set up your Linux box to directly mount your afs and dfs files.  The [http://lug.rose-hulman.edu/wiki/Main_Page Rose-Hulman Linux Users' Group] has a nice [http://lug.rose-hulman.edu/wiki/HOWTO_Use_sshfs_to_mount_AFS/DFS_home page] with the details .
  

Revision as of 05:46, 27 October 2011


You can set up your Linux box to directly mount your afs and dfs files. The Rose-Hulman Linux Users' Group has a nice page with the details .

After installing sshfs I added the following to my /etc/fstab file:

sshfs#username@dfs.Rose-hulman.edu:/MyDocs/username /home/username/MyDocs fuse user,noauto,uid=1000,gid=1000 0 0
sshfs#username@dfs.rose-hulman.edu:/Users/Y/username /home/username/dfs-home fuse user,noauto,uid=1000,gid=1000 0 0
sshfs#username@afs.rose-hulman.edu: /home/username/afs-home fuse user,noauto,uid=1000,gid=1000 0 0

You'll have to replace username with your login name. Then create the mount points:

cd ~
mkdir MyDocs
mkdir dfs-home
mkdir afs-home

Now you can mount your files by using:

cd ~
mount dfs-home
cd dfs-home
ls

You should now see your dfs files. You can unmount using:

cd ~
sudo umount