FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor


 
 
LinkBack Thread Tools
 
Old 07-17-2008, 03:22 PM
"Mad Unix"
 
Default 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@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 07-17-2008, 03:28 PM
 
Default autofs

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@algorithmics.com>
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@redhat.com [mailto:redhat-list-
> bounces@redhat.com] 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@redhat.com?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@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 

Thread Tools




All times are GMT. The time now is 10:14 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org