You are not logged in.

#1 2013-12-25 10:29:36

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Autofs direct mapping not working

Hi there,

I'm currently migrating from Gentoo and hit a problem. I'm trying to use an autofs feature called 'Direct mapping'. It allows one to use map one directory to a specific server. Combined with ghosting, one can use this to do a on demand bind setup. This is useful if the target is not always available (like an encrypted disk that is not active).

Relevant auto.master snippet:

/- \
	/etc/autofs/auto.bind_1 \
	-fstype=auto,--timeout=5 \
	defaults,nodev,noexec,nomand,nosuid,noiversion,\
	noatime,bind

and the full contents of auto.bind_1:

/home/gedeeld/secure :/home/secure/gedeeld
/opt/32bit_chroot/home/secure/ronald :/home/secure/ronald

Automounter just won't list it:

[root@Alpha autofs]# automount -f -v
Starting automounter version 5.0.7, master map auto.master
using kernel protocol version 5.02
syntax error in nsswitch config near [ syntax error ]

mounted indirect on /var/autofs/cifs with timeout 5, freq 2 seconds
ghosting enabled
mounted indirect on /var/autofs/dev with timeout 10, freq 3 seconds
ghosting enabled

This exact same configuration file used to work with autofs on Gentoo. I'm at deads end why it's not working under Arch. Autofs documentation is sparse, especially with respect to 'Direct mapping'.


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

Board footer

Powered by FluxBB