Skip to contentSkip to conversation

[[email protected]: Bug#297359: autofs: replicated server not working]

[email protected]: Bug#297359: autofs: replicated server not working Steinar H. Gunderson 1 participant 1 message Feb 28, 2005 Kernel automounter

lore
Share & tools
lore
#0 lore raw

Ian,

Would you mind taking a look at this? I don't really have any idea what he's talking about, but I haven't touched this :-P

/* Steinar */

Signature · 1 line
Homepage: http://www.sesse.net/

Package: autofs
Version: 4.1.3+4.1.4beta2-3
Severity: normal

The replicated hosts feature of autofs isn't working right on Debian. The automounter that comes with Debian will only use the first server in the list and never falls back to the others.

/etc/auto.master:
/srv/autofs /etc/auto.global

/etc/auto.global:
jon787 -hard,intr,nodev,nosuid junkers(1):/home/jon787
tesla(2):/home/setec/jon787

This should first try to mount from junkers and then fallback to tesla if junkers is unavailable according to README.replicated-server Actual behavior is it tries to talk to junkers and then just fails after awhile, never trying to contact tesla.

root@tesla:~(0)# ls -l /srv/autofs/jon787/
ls: /srv/autofs/jon787/: No such file or directory

daemon.log:

Feb 28 13:31:50 tesla automount[1660]: failed to mount

/srv/autofs/jon787

I use the exact same configuration on a Gentoo system running autofs 4.1.3 and it is falling back to tesla properly.

-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages autofs depends on:

ii  debconf                     1.4.46       Debian configuration management sy
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an

-- debconf information:
autofs/upgrade-from-broken-version:

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs