thanks for getting back to me :)

...

now it says "no such file or directory" instead of "permission denied" ...

setting the verbose logging in sharectl doesn't seem to produce much extra
output, nothing in syslog, and only a little extra in
/var/svc/log/system-filesystem-autofs:default.log (no error messages)

Jon

On 19 February 2015 at 20:03, Till Wegmüller <[email protected]> wrote:

> 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@jadlaptop:~# mount mansalnfs01:/mnt/datapool2/IT /mnt
> > root@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
> >
>
> _______________________________________________
> openindiana-discuss mailing list
> [email protected]
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>
3313/4:         door_return(0x08087970, 24, 0x00000000, 0xFEA3EE00, 1007360) = 0
3313/4:         time()                                          = 1424426158
3313/4:         open64("/etc/auto_home", O_RDONLY)              = 10
3313/4:         stat64("/etc/auto_home", 0xFEA3A298)            = 0
3313/4:         fstat64(10, 0xFEA3A034)                         = 0
3313/4:         fstat64(10, 0xFEA39F34)                         = 0
3313/4:         ioctl(10, TCGETA, 0xFEA39FF2)                   Err#25 ENOTTY
3313/4:         read(10, " #\n #   C o p y r i g h".., 1536)    = 1111
3313/4:         llseek(10, 0xFFFFFFFFFFFFFFF4, SEEK_CUR)        = 1099
3313/4:         close(10)                                       = 0
3313/4:         door_return(0x08087970, 24, 0x00000000, 0xFEA3EE00, 1007360) = 0
3313/4:         time()                                          = 1424426158
3313/4:         open64("/etc/auto_home", O_RDONLY)              = 10
3313/4:         stat64("/etc/auto_home", 0xFEA39298)            = 0
3313/4:         fstat64(10, 0xFEA39034)                         = 0
3313/4:         fstat64(10, 0xFEA38F34)                         = 0
3313/4:         ioctl(10, TCGETA, 0xFEA38FF2)                   Err#25 ENOTTY
3313/4:         read(10, " #\n #   C o p y r i g h".., 1536)    = 1111
3313/4:         llseek(10, 0xFFFFFFFFFFFFFFF4, SEEK_CUR)        = 1099
3313/4:         close(10)                                       = 0
3313/4:         open("/etc/svc/volatile/repository_door", O_RDONLY) = 10
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(10, 0xFEA3B1BC)                       = 0
3313/4:         close(10)                                       = 0
3313/4:         fcntl(11, F_SETFD, 0x00000001)                  = 0
3313/4:         door_info(11, 0xFEA3B244)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B17C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B17C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B17C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B17C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B17C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B17C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B17C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B17C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B1AC)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B1AC)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B14C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B11C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B1AC)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B1AC)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B1AC)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B1CC)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B22C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B19C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B1FC)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B19C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B1FC)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B53C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B53C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3960C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B5EC)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B5EC)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B5EC)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B5EC)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B5EC)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B5EC)                       = 0
3313/4:         close(11)                                       = 0
3313/4:         open("/etc/svc/volatile/repository_door", O_RDONLY) = 10
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(10, 0xFEA3B1BC)                       = 0
3313/4:         close(10)                                       = 0
3313/4:         fcntl(11, F_SETFD, 0x00000001)                  = 0
3313/4:         door_info(11, 0xFEA3B244)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B17C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B17C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B17C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B17C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B17C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B17C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B17C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B17C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B1AC)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B1AC)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B14C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B11C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B1AC)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B1AC)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B1AC)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B1CC)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B22C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B19C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B1FC)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B19C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B1FC)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B53C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B53C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3960C)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B5EC)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B5EC)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B5EC)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B5EC)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B5EC)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(11, 0xFEA3B5EC)                       = 0
3313/4:         close(11)                                       = 0
3313/4:         so_socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP, 0x00000000, 
SOV_DEFAULT) = 10
3313/4:         getuid()                                        = 0 [0]
3313/4:         getuid()                                        = 0 [0]
3313/4:         door_info(9, 0xFEA3B644)                        = 0
3313/4:         door_call(9, 0xFEA3B6AC)                        = 0
3313/4:         ioctl(10, SIOCTMYADDR, 0xFEA3BA3C)              = 0
3313/4:         close(10)                                       = 0
3313/4:         lstat64("/home/cbarnes", 0xFEA3B16C)            = 0
3313/4:         time()                                          = 1424426158
3313/4:         fstat(8, 0xFEA3A3D8)                            = 0
3313/4:         time()                                          = 1424426158
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         putmsg(8, 0xFEA3A47C, 0xFEA3A488, 0)            = 0
3313/4:         open("/var/run/syslog_door", O_RDONLY)          = 10
3313/4:         door_info(10, 0xFEA3A1BC)                       = 0
3313/4:         getpid()                                        = 3313 [3311]
3313/4:         door_call(10, 0xFEA3A1EC)                       = 0
3313/4:         close(10)                                       = 0
3313/4:         door_return(0x08087970, 24, 0x00000000, 0xFEA3EE00, 1007360) 
(sleeping...)

_______________________________________________
openindiana-discuss mailing list
[email protected]
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to