LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 03-21-2007, 12:05 PM   #1
gerhardb
LQ Newbie
 
Registered: Sep 2006
Distribution: RedHat Enterprise / CentOS
Posts: 8

Rep: Reputation: 0
Manual NFS Mount works / AutoFS will not!


Hi All,

I'm currently using RedHat 4 Enterprise Workstation 4 U4 for a small lab.

I've got a Fedora Core 6 File Server with an NFS share, and I'm simply exporting the /home directory on that server for the RH4Ent clients to auto.home their /home directories.

When I restart autofs I get:

failed to load map: "/usr/sbin/automount --timeout=60 /home[WARNING]c/auto.home"

So it will not automount the /home directory.

On the server I'm simply using corresponding users and groups. In a test environment using all Fedora Core machines, it works without an issue.

Also, if I issue the command:

[root@tuw5 etc]# mount lfs1:/home /home/

It works without a problem and the NFS share on the LFS1 server is mounted to the local RedHat Ent 4 workstation.

What am I doing wrong?



Here are the files:

[root@tuw5 etc]# more auto.master
#
# $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
/net -hosts
/home /etc/auto.home --timeout 300

[root@tuw5 etc]# more auto.home
* -fstype=nfs,soft,intr,rsize=8192,wsize=8192,nosuid,tcp lfs1:/home:&
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 13 04-11-2016 11:30 PM
autofs for NFS jkmartha Linux - Software 1 06-17-2005 10:14 AM
autofs by nfs convenientstore Linux - Networking 1 10-16-2004 03:16 PM
nfs mount with fstab vs autofs rrich100 Linux - Networking 2 11-13-2003 10:21 PM
Mounting NFS filesystem fstab vs autofs rrich100 Linux - Networking 0 11-13-2003 01:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 07:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration