SUMMARY: Problem with NIS/Automount

From: Atmane Alouache (aatmane@yahoo.fr)
Date: Thu May 18 2000 - 14:18:31 CDT


Hi Admins,

I also received this answer from Arthur Darren Dunham
Thank you guy.

My original post was :
----------------------
Hi Admins,

On our NIS server, one of the automount maps holds>
this line :
/files -ro,soft,intr
hostA(1),hostB(3):/export/files
The aim of this is to ensure the mount point "/files"
will be always available if hostA goes down.
Actually, if hostA goes down, hostB should take over.
But when hostA is down it does not work and the
message "Stale NFS file handle" is displayed.

Does someone understand this problem ?

Regards

Answers :
---------

None of your respondents addressed the man page for
automount. The man page appears to contradict them in
saying that with the -ro mount, it *will* try other
servers. I haven't tried this myself and cannot offer
you advice, but the responses you've posted don't seem
adequate. You might want to keeplooking.
Good Luck.
--excerpt
     If the read-only flag is set in the map entry,
automount mounts a list of locations that the kernel
may use, sorted by several criteria. When a server
does not respond, the kernel will switch to an
alternate server. The sort ordering of automount
is used to determine how the next server is chosen. If
the read-only flag is not set, automount will mount
the best single location, chosen by the same sort
ordering, and new servers will only be chosen when an
unmount has been possible, and a remount is done.
--end excerpt

Arthur Darren Dunham

---

___________________________________________________________ Do You Yahoo!? Achetez, vendez! votre prix! Sur http://encheres.yahoo.fr



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:08 CDT