RE: autofs

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

 



Look at your /etc/auto.master files in the clients
#
# $Id: auto.master,v 1.3 2003/09/29 08:22:35 raven Exp $
#
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#/misc  /etc/auto.misc --timeout=60
#/misc  /etc/auto.misc
#/net   /etc/auto.net
/mnts   /etc/auto.mnts  --timeout=60

In my case, I have a number of subdirectories under mnts that  I want to
automount. 
This is my /etc/auto.mnts file. Replace <server name> with the NFS
server
*          -fstype=nfs,rw,nosuid,soft     <server name>:/mnts/&

Also take a look at the man pages for autofs. 

--
Jerry Feldman <Jerry.Feldman@xxxxxxxxxxxxxxxx>
Algorithmics (US), Inc
Suite 2-400
275 Grove St.
Newton, MA 02466
617-663-5220
617-663-5391 (fax) 


> -----Original Message-----
> From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-
> bounces@xxxxxxxxxx] On Behalf Of Mad Unix
> Sent: Thursday, July 17, 2008 11:23 AM
> To: General Red Hat Linux discussion list
> Subject: autofs
> 
>  I have setup NFS server RHEL5 , to serve some NFS clients RHEL5, at
the
> moment i setup the the nfs mount on the client manually
> how can I convert it to autofs, i.e if nfs folder been requested it
should
> mount auto , till it finish the job?
> 
> 
> --
> madunix
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list

 
--------------------------------------------------------------------------
This email and any files transmitted with it are confidential and proprietary to Algorithmics Incorporated and its affiliates ("Algorithmics"). If received in error, use is prohibited. Please destroy, and notify sender. Sender does not waive confidentiality or privilege. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. Algorithmics does not accept liability for any errors or omissions. Any commitment intended to bind Algorithmics must be reduced to writing and signed by an authorized signatory.
--------------------------------------------------------------------------


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux