Operating System - HP-UX
1837819 Members
5849 Online
110120 Solutions
New Discussion

NFS linux Server and 10.2 client

 
Mr LAMARTA
Advisor

NFS linux Server and 10.2 client

Hi,
I've an NFS server MDK7.2 on which i've move my homedirs, and 10.2 clients using autofs. I'm using indirect mount for Homes. but when i do find . in a user home I saw from the dir i automount :
my map is :
/nfs auto.indirect
auto.indirect is :
users srv:/export/users
if my Home is /nfs/users/toto, i saw from /nfs/users ! if i try ls ../../../../toto from my dir it works, if I try ls ../../../../.. i saw from /nfs/users ! does anyone have an idea for me ?
Seb
3 REPLIES 3
Brian Hackley
Honored Contributor

Re: NFS linux Server and 10.2 client

Mr LAMARTA,

Your question sounds interesting. It sounds like the mount point has gotten a little confused, does it not? I am wondering if you get the same behaviors with the legacy "User space" automounter. You would need to disable AUTOFS in the /etc/rc.config.d/nfsconf file.e.g. AUTOFS=0, but leave AUTOMOUNT=1. You would need to reboot that NFS client, too.

If problem goes away, you have a workaround identified (use the legacy automounter). Otherwise, I would suspect a possible configuration problem, or alternatively, one that might require updating the NFS patch to PHNE_25234 or better plus the current libc patch e.g. PHCO_25640. The NFS patch has multiple dependencies.

As a general note, I find that debugging Automount problems in general is assisted greatly by putting the automountd (or automount if not using AutoFS) in to debug mode. A kill -17 against the PID will do that. Look for messages to be logged to /var/adm/automount.log, including enable/disable of debug logging. Do this before the mount of the directory occurs. Only mount/umount attempts are logged as you can imagine.
In addition, I find cat /etc/mnttab is very helpful to inspect the mount points at time of failure.

Hope this helps,

-> Brian Hackley
Ask me about telecommuting!
Mr LAMARTA
Advisor

Re: NFS linux Server and 10.2 client

Hi Brian !

as you said, I've tried to downgrade to the old AM. then It worked as expected ! I think there really is a pb on autofs !
I 've turned on the log, but while tailing -f the automount.log nothing was wrong !i then switched off the debug mode... :-(
I hope HP support can help me. Thanks for your way of testing it was very usefull. Note : a Linux server and Autofs works fine on AIX, SOLARIS and Linux, and 11.0 also. Maybe it's time to finish with 10.2 ;-).
If i could....I would !
Seb
Mr LAMARTA
Advisor

Re: NFS linux Server and 10.2 client

HI you all
I've just been notified by HP that ther really is a problem on autofs running on 10.2 clients with LINUX NFS servers.

The labs are now looking for a solution. maybe a patch will soon be available. wait and see. ;-)
Seb