Re: autofs for idiots

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 21 Nov 2007 15:04:09 -0700, Craig White wrote:

> Trying to get my head around plain autofs before I attempt ldap
> 
> I can nfs mount via /etc/fstab...
> #srv1:/home/storage/users  /home/storage/users  nfs  user,suid,dev,exec
> 0  0
> 
> It's commented out and not presently mounted
> 
> why doesn't this work? (comments removed)
> 
> # cat auto.master
> /net    /etc/auto.net
> /home/storage/users     /etc/auto.misc
> 
> # cat auto.misc
> cd              -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
> /home/storage/users -fstype=nfs srv1:/home/storage/users
> 
> # service autofs restart
> Stopping automount:                                        [  OK  ]
> Starting automount:                                        [  OK  ]
> 
> # ls -l /home/storage/users
> total 0
> 
> it should show all user files
> 
> Why doesn't this work?  I've been through every man page, etc.
> 
> Craig


You do know autofs has been set up by default so that it works out of the 
box. Just keep the original /etc/auto* files, make sure that autofs is 
running and do

cd /net/server/foobar

and you're there. All nfs partitions that a client can see are under 
/net/<server>/. In the above example, the server exports /foobar.


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux