[OpenIndiana-discuss] NFS Automount from FreeNAS Server

Till Wegmüller toasterson at gmail.com
Thu Feb 19 20:03:04 UTC 2015


Looking at that truss output it seems that automount fails shortly after stat 
on the home directory without even contacting nfs. Could it be that automount 
has problems connecting to LDAP?

I would like to see what happens if we disable LDAP for automounts.

To do so Coment out all Lines starting with a plus '+' in /etc/auto_home and 
/etc/auto_master.

Then Insert the following little Magic Line and reload automount
*	-fstype=nfs	myserver:/myhomes/&
Replace myserver and myhomes acordingly.

This will instruct automount to search all the subdirectories of /home under 
myserver:/myhomes and mount hem if needed.

If for example we have a user test and would do cd /home/test automount would 
map myserver:/myuser/test to /home/test automagically replacing & and * with 
test.

If you now get a Permission denied error try to look in syslog, automount is 
very silent about failing to mount.
To Increase automounts volume use:
sharect set -p automountd_verbose=true autofs
sharect set -p automount_verbose=true autofs

Greetings Till

On Thursday 19 February 2015 09.57:57 Jonathan Adams wrote:
> via automount, it never gets mounted at all.
> 
> hard mounted:
> 
> root at jadlaptop:~# mount mansalnfs01:/mnt/datapool2/IT /mnt
> root at jadlaptop:~# mount | grep mansalnfs01
> /mnt on mansalnfs01:/mnt/datapool2/IT
> remote/read/write/setuid/devices/xattr/dev=9080001 on Thu Feb 19 09:49:24
> 2015
> 
> not sure if it helps, but attached is a section of via truss of the
> automountd when accessing 2 different mount points from /home
> 
> Jon
> 



More information about the openindiana-discuss mailing list