[OpenIndiana-discuss] NFS Automount from FreeNAS Server

Jonathan Adams t12nslookup at gmail.com
Fri Feb 20 16:15:05 UTC 2015


On 20 February 2015 at 15:56, Till Wegmüller <toasterson at gmail.com> wrote:

> no problem :)
>
> ...
>
> The No such file or directory Error Happens when automount can't find a
> directory on the Server and thus does not create and mount the Directory.
>

jadams at jadlaptop:~$ dfshares mansalnfs01
RESOURCE                                  SERVER ACCESS    TRANSPORT
mansalnfs01:/mnt/datapool             mansalnfs01  -         -
mansalnfs01:/mnt/datapool/accounts    mansalnfs01  -         -
mansalnfs01:/mnt/datapool/analysts    mansalnfs01  -         -
mansalnfs01:/mnt/datapool/inorganics  mansalnfs01  -         -
mansalnfs01:/mnt/datapool/organics    mansalnfs01  -         -
mansalnfs01:/mnt/datapool/technician  mansalnfs01  -         -
mansalnfs01:/mnt/datapool1/PM         mansalnfs01  -         -
mansalnfs01:/mnt/datapool1/bdm        mansalnfs01  -         -
mansalnfs01:/mnt/datapool1/quality    mansalnfs01  -         -
mansalnfs01:/mnt/datapool1/reception  mansalnfs01  -         -
mansalnfs01:/mnt/datapool2/IT         mansalnfs01  -         -
mansalnfs01:/mnt/datapool2/air        mansalnfs01  -         -
mansalnfs01:/mnt/datapool2/health     mansalnfs01  -         -
mansalnfs01:/mnt/datapool2/metals     mansalnfs01  -         -
mansalnfs01:/mnt/datapool2/sr         mansalnfs01  -         -

in this case all the directories I'm trying to access are on datapool2/IT
... it's a ZFS share.



> My Question is from where does the truss output of the successful
> automount come from?
>
root at jadlaptop:~# ps -ef | grep automount
    root  3599  3597   0 10:00:09 ?           0:00
/usr/lib/autofs/automountd
    root  3597     1   0 10:00:09 ?           0:00
/usr/lib/autofs/automountd
    root  4441  4387   0 16:14:15 pts/16      0:00 grep automount
root at jadlaptop:~# truss -f -p 3599

Is it from the same Computer as the failed one? Also are you running
> /hipster or /dev on this Computer?
>

Hipster last updated  2015-01-15 (problems with Intel driver if I update at
the moment)


> Other Tests you could do.
> What happens if you manually create the home?
>
?

What happens if you replace the * and & in auto_home with some real
> usernames?
>

no difference.


> What gets logged in syslog when Automount gets its config from LDAP?
>
nothing.

As I said, I can still access all the LDAP automounted shares from the
Solaris 10 servers, and the Solaris 10 machines can access all the shares
automounted from the FreeNAS box


More information about the openindiana-discuss mailing list