gerhardub
asked on
Error attempting to auto mount /home directories to an NFS server under RedHat
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-b y-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,rsiz e=8192,wsi ze=8192,no suid,tcp lfs1:/home:&
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-b
# 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,rsiz
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
> Is this a syntax issue between RedHat and Fedora?
No, but there are some options difference for autofs in /etc/sysconfig/autofs since there is new feature update in autofs recently.
No, but there are some options difference for autofs in /etc/sysconfig/autofs since there is new feature update in autofs recently.
ASKER
Yeah, it was syntax based, I guess due to version, which is confusing.
Fedora Core 6 (which has a newer Kernel than RH Ent WS4 U4) uses:
* lfs1:/home /home:&
RedHat 4WS U4 uses:
* lfs1:/home /home/&
..and that appears to have been the issue.
Fedora Core 6 (which has a newer Kernel than RH Ent WS4 U4) uses:
* lfs1:/home /home:&
RedHat 4WS U4 uses:
* lfs1:/home /home/&
..and that appears to have been the issue.
ASKER
Well, I'm still getting an error when I attempt to get RedHat to load the auto.home settings...
I'm going to open another ticket for this. It works flawlessly on a new RedHat installation, so what is preventing this one from working?
The new case is here:
https://www.experts-exchange.com/questions/22465459/AutoFS-fails-with-Warning-and-will-not-map-an-NFS-share-on-RedHat-Enterpise-Linux-4-U4.html
I'm going to open another ticket for this. It works flawlessly on a new RedHat installation, so what is preventing this one from working?
The new case is here:
https://www.experts-exchange.com/questions/22465459/AutoFS-fails-with-Warning-and-will-not-map-an-NFS-share-on-RedHat-Enterpise-Linux-4-U4.html
> Fedora Core 6 (which has a newer Kernel than RH Ent WS4 U4) uses:
> * lfs1:/home /home:&
Mmm, I will try it on RHEL5 (based on FC6) to see if there is issue over there or not.
> * lfs1:/home /home:&
Mmm, I will try it on RHEL5 (based on FC6) to see if there is issue over there or not.
ASKER
When I say "new" installation, I mean taking that last release of RH 4 Wks Ent U4 and isntalling that freash. I then use one of the RH systems for the NFS server, and connect to it with the other.
Since I'm going from Fedora Core 6 (32bit) to RH 4 U4 (x86_64), I wonder if there is an incompatibility?
I wonder if they support the same versions of NFS, etc...
Since I'm going from Fedora Core 6 (32bit) to RH 4 U4 (x86_64), I wonder if there is an incompatibility?
I wonder if they support the same versions of NFS, etc...
ASKER
Is this a syntax issue between RedHat and Fedora?