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

From eLinux.org
Jump to: navigation, search
m
m (Fixed [[]])
Line 1: Line 1:
You can set up your Linux box to directly mount your afs and dfs files.  The Rose Linux Users Group [[http://lug.rose-hulman.edu/wiki/Main_Page]] has a nice page with the details [[http://lug.rose-hulman.edu/wiki/HOWTO_Use_sshfs_to_mount_AFS/DFS_home]].
+
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 Linux Users Group] has a nice [http://lug.rose-hulman.edu/wiki/HOWTO_Use_sshfs_to_mount_AFS/DFS_home page] with the details .
  
 
After installing <code>sshfs</code> I added the following to my <code>/etc/fstab</code> file:
 
After installing <code>sshfs</code> I added the following to my <code>/etc/fstab</code> file:

Revision as of 12:35, 3 March 2010

You can set up your Linux box to directly mount your afs and dfs files. The Rose 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