5.0.7: direct mount points no available + automount hanging after boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I have experienced some problems with autofs 5.0.7 on openSUSE 12.2 with multiple machines lately.

Sometimes right after booting the machine, sometimes after some operation, direct maps become "unavailable", that is, for example

# cd /opt/<direct map>
No such file or directory

If i then issue
# rcautofs restart
I get the following lines in the logs:
--------------
Dec  6 10:33:57 lab05 automount[2758]: mapent cache rwlock busy
Dec 6 10:33:57 lab05 automount[2758]: do_umount_autofs_direct: couldn't get ioctl fd for direct mount /opt/servershare
Dec  6 10:33:57 lab05 automount[2758]: mapent cache rwlock busy
Dec 6 10:33:57 lab05 automount[2758]: do_umount_autofs_direct: couldn't get ioctl fd for direct mount /opt/lnt
Dec  6 10:33:57 lab05 automount[2758]: mapent cache rwlock busy
Dec 6 10:33:57 lab05 automount[2758]: do_umount_autofs_direct: couldn't get ioctl fd for direct mount /doc
Dec  6 10:33:57 lab05 automount[2758]: mapent cache rwlock busy
Dec 6 10:33:57 lab05 automount[2758]: do_umount_autofs_direct: couldn't get ioctl fd for direct mount /group
--------------
All of the above entries are direct maps, managed via kerberized LDAP...
After restart, maps are available!


The problem may (or may not) have something to do with automount getting stuck in some kind of loop sometimes right after boot, taking 100% CPU and not responding.

I did an strace -fF on the hanging process after boot and got the following:
--------------
...
2861 poll([{fd=7, events=POLLIN}], 1, -217828) = 1 ([{fd=7, revents=POLLIN}]) 2861 poll([{fd=7, events=POLLIN}], 1, -217828) = 1 ([{fd=7, revents=POLLIN}]) 2861 poll([{fd=7, events=POLLIN}], 1, -217828) = 1 ([{fd=7, revents=POLLIN}]) 2861 poll([{fd=7, events=POLLIN}], 1, -217828) = 1 ([{fd=7, revents=POLLIN}]) 2861 poll([{fd=7, events=POLLIN}], 1, -217828) = 1 ([{fd=7, revents=POLLIN}]) 2861 poll([{fd=7, events=POLLIN}], 1, -217828) = 1 ([{fd=7, revents=POLLIN}]) 2861 poll([{fd=7, events=POLLIN}], 1, -217829) = 1 ([{fd=7, revents=POLLIN}]) 2861 poll([{fd=7, events=POLLIN}], 1, -217829) = 1 ([{fd=7, revents=POLLIN}]) 2861 poll([{fd=7, events=POLLIN}], 1, -217829) = 1 ([{fd=7, revents=POLLIN}]) 2861 poll([{fd=7, events=POLLIN}], 1, -217829) = 1 ([{fd=7, revents=POLLIN}]) 2861 poll([{fd=7, events=POLLIN}], 1, -217829) = 1 ([{fd=7, revents=POLLIN}])
...
--------------
The number -21782... is repeating multiple time before increasing by one. This continues indefinitely (or longer than I was wanting to wait).

I have now turned autofs logging to "debug" and will wait for the problem to reappear... possibly, the two described problems are the same or separate ones.

- J Brauchle


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Index of Archives]     [Linux Filesystem Development]     [Linux Ext4]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux