ECE497 Mounting dfs/afs in Linux

From eLinux.org
Revision as of 19:57, 11 November 2011 by Yoder (Talk | contribs) (Delete, moved to tips and tricks)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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