Finally got autofs on ubuntu 14 working
1. Install autofs
2. Add this entry to /etc/auto.master
/media/azure /etc/auto.azure
3. Add following to /etc/auto.azure
Multimedia -fstype=fuse,nonempty,rw,allow_other,uid=1000,gid=1000 :sshfs\#admin\
@192.168.2.4\:/share/MD1_DATA/Multimedia
Multimedia2 -fstype=fuse,nonempty,rw,allow_other,uid=1000,gid=1000 :sshfs\#admin
\@192.168.2.4\:/share/MD0_DATA/Multimedia2
#Multimedia -fstype=fuse,rw :sshfs\#admin\@azure\:/share/MD0_DATA/Multimedia
4. Turn on Browsing in /etc/default/autofs
5. Stop the automount service
service automount stop
6. Use (as root)
automount -d -f -v
to debug the problems/
Saturday, October 17, 2015
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment