Normal automount behavior or not?

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Normal automount behavior or not?
# 1  
Old 07-25-2011
Normal automount behavior or not?

I'm trying to setup automount on a redhat system and it's behaving differently than on the AIX systems I have it configured on. Here's what I'm seeing on the Redhat system:
Code:
# mount | grep home
/dev/mapper/VolGroup00-lvhome on /home type ext3 (rw)

# ls /home
user1
user2
user3

# service autofs start
# ls /home
user1

# mount | grep home
NFSserver:/home/user1 on /home/user1 type nfs (rw,addr=10.1.1..1)

So the /home filesystem is unmounted and /home/user1 is mounted instead.
On the AIX system it doesn't mount /home/user1 in place on /home it mounts it in addition to /home, like so:
Code:
# mount | grep home
/dev/hd1     /home    jfs2  Jun 01 10:51  rw,log=/dev/hd8
NFSserver  /home/user1  /home/user1  nfsv3  Jul25 15:03  rw,soft,intr

Here's my /etc/auto.master on Redhat:
/home /etc/auto.home

And auto.home
user1 -fstype=nfs NFSserver:/home/user1


I hope this isn't too confusing. Do I have auto.home wrong?

TIA
# 2  
Old 07-26-2011
It looks OK but I am not somewhere where I can actually check it out. Try the following in auto.home and see if there is a difference:
Code:
*    -fstype=nfs   NFSserver:/home/&

# 3  
Old 07-27-2011
Thanks for the suggestion but changing auto.home and restarting autofs gives the same results.
# 4  
Old 07-27-2011
Are you using NIS or LDAP for your automount?
# 5  
Old 07-28-2011
Just normal local authentication. The NFSserver is an AIX system if that makes any difference.
# 6  
Old 09-20-2011
Thought I'd update how I got this working the way I wanted.

Code:
# cat /etc/auto.master
/-  /etc/auto.home

# cat /etc/auto.home
/home/user1  -fstype=nfs,nfsvers=3,intr,-timeout=60 NFSHost:/home/user1

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Automount issue

Hi there, I have a strange problem, I have a NFS server running AIX 7.1 TL3 SP3, let's call it server A. I have another AIX 7.1 TL3 SP3 server, let's call it server B, that's automounting a filesystem from server A. When server B is automounting the filesystem from server A, I can't see any... (3 Replies)
Discussion started by: ce9888
3 Replies

2. Red Hat

Need help with automount.. is not working!!

When i export the directory where the data really is, i can specify which hosts can mount it. On the remote server i create a mount point directory and then mount it to the source servers directory (that has the data). I need to run my script on Server X , i would login there and type in the... (11 Replies)
Discussion started by: bkilaru
11 Replies

3. Red Hat

Automount in RHEL

Hello experts, On my RHEL box when i mount a nfs file system using autofs, the df -t shows the file system as nfs only. For which mounts does it report the filesystem as autofs. ?? I actually want to see the filesystem getting reported as autofs instead of nfs. Pls guide me I... (1 Reply)
Discussion started by: achak01
1 Replies

4. AIX

Help on Unconfiguring Automount

Hi All, Please help. I need an advise on how to Unconfigure automount please. Many Thanks. (2 Replies)
Discussion started by: EngnrRG
2 Replies

5. Shell Programming and Scripting

automount script

I'm attempting to take an fstab that looks something like this: /proc /proc proc rw,nosuid,nodev,noexec 0 0 /sys /sys sysfs rw,nosuid,nodev,noexec 0 0 /dev/shm /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0 /dev/pts /dev/pts devpts mode=0622 0 0... (6 Replies)
Discussion started by: unclecameron
6 Replies

6. UNIX for Dummies Questions & Answers

Automount issue

Folks; I'm mounting a directory on a different SUSE 10 server from my SUSE server fine. using this mount command: # mount 192.168.132.11:/var/local/new /var/local/new this command above works fine but when i added a new line to my "/etc/fstab" to be mounted automatically every time i... (2 Replies)
Discussion started by: Katkota
2 Replies

7. Solaris

CD automount does not work

Hello, I have a SUN Solaris 9 machine (Sun-Fire-V490). I put a DVD in the reader to install a software. The automount procedure did not work (vold is running) : I have nothing under /cdrom When I try "eject" command I have the answer "No default media available" When I try to mount manually the... (3 Replies)
Discussion started by: aribault
3 Replies

8. UNIX for Advanced & Expert Users

AutoMount

Hi All How do I do a auto mount to a directory in a different unix server. I am using Solaris. Please advise!! TIA Jana (7 Replies)
Discussion started by: janavenki
7 Replies

9. UNIX for Advanced & Expert Users

Automount

My site has a few sun solaris server including out NIS server and NFS server on solaris machines. we also have few suse linux and redhat linux machine. All our home directory is on our NFS server(sun Solaris) and this is automounted through /etc/auto_master and /etc/auto_home this worked fine... (1 Reply)
Discussion started by: hassan2
1 Replies

10. UNIX for Advanced & Expert Users

automount

I install an external disk on my sun solaris 8 this went fine and I was able to access all filesystem on the disk. the new disk is mounted on /local then 6 hours later files under /local/files was 1 byte in size at the same time I received the following error message in... (4 Replies)
Discussion started by: hassan2
4 Replies
Login or Register to Ask a Question