Public bug reported: Binary package hint: autofs
Hi, After not using automounted directories for a while, autofs seem to loose track of its mountpoints. This is what happens: mag...@htpc:~$ ls /var/lib/mythtv/videos/remote/hmovies ls: cannot access /var/lib/mythtv/videos/remote/hmovies: No such file or directory mag...@htpc:~$ ls /var/lib/mythtv/videos/remote/hmovies/ ls: cannot access /var/lib/mythtv/videos/remote/hmovies: No such file or directory mag...@htpc:~$ sudo /etc/init.d/autofs restart Stopping automounter: done. Starting automounter: done. mag...@htpc:~$ ls /var/lib/mythtv/videos/remote/hmovies ls: cannot access /var/lib/mythtv/videos/remote/hmovies: No such file or directory mag...@htpc:~$ ls /var/lib/mythtv/videos/remote/hmovies/ ls: cannot access /var/lib/mythtv/videos/remote/hmovies: No such file or directory It seems to be no way to get it to work again - other than rebooting the entire box. After rebooting all automounts are accessible again. Also when using these automounts frequently it will keep working. mag...@htpc:~$ ls -l /var/lib/mythtv/videos|grep remote drwxr-xr-x 3 root root 0 2010-02-28 17:35 remote I try to restart and unmount, but somehow autofs is dead. Also, manually mounting the same cifs share with mount works fine. More info mag...@htpc:~$ tail /var/log/daemon.log Feb 28 16:28:56 localhost automount[16000]: mount_autofs: already mounted Feb 28 16:28:56 localhost automount[16000]: /var/lib/mythtv/videos/remote: mount failed! Feb 28 16:29:02 localhost automount[16126]: mount_autofs: already mounted Feb 28 16:29:02 localhost automount[16126]: /var/lib/mythtv/music/remote: mount failed! Feb 28 16:29:02 localhost automount[16180]: mount_autofs: already mounted Feb 28 16:29:02 localhost automount[16180]: /var/lib/mythtv/videos/remote: mount failed! Feb 28 16:29:58 localhost automount[16298]: mount_autofs: already mounted Feb 28 16:29:58 localhost automount[16298]: /var/lib/mythtv/music/remote: mount failed! mag...@htpc:~$ cat /etc/auto.master|egrep -v "^#" /var/lib/mythtv/music/remote /etc/auto.music --ghost --timeout=300 /var/lib/mythtv/videos/remote /etc/auto.video --ghost --timeout=300 mag...@htpc:~$ ps aux|grep auto magnus 16375 0.0 0.0 7336 888 pts/1 S+ 16:33 0:00 grep --color=auto auto mag...@htpc:~$ cat /etc/auto.music hmp3 -fstype=cifs,username=xxx,password=xxx,rw,uid=1000,gid=105,noacl,iocharset=utf8 ://192.168.200.2/hmp3 mag...@htpc:~$ cat /etc/auto.video hmovies -fstype=cifs,username=xxx,password=xxx,rw,uid=1000,gid=105,noacl,iocharset=utf8 ://192.168.200.2/video mag...@htpc:~$ cat /etc/mtab|grep auto <nothing> mag...@htpc:~$ cat /proc/mounts |grep auto automount(pid1565) /var/lib/mythtv/videos/remote autofs rw,relatime,fd=4,pgrp=1565,timeout=600,minproto=2,maxproto=4,indirect 0 0 automount(pid1549) /var/lib/mythtv/music/remote autofs rw,relatime,fd=4,pgrp=1549,timeout=600,minproto=2,maxproto=4,indirect 0 0 mag...@htpc:~$ ps -ef|grep 1565 magnus 16501 32237 0 16:36 pts/1 00:00:00 grep --color=auto 1565 mag...@htpc:~$ ps -ef|grep 1549 magnus 16503 32237 0 16:36 pts/1 00:00:00 grep --color=auto 1549 mag...@htpc:~$ sudo umount -a -t autofs umount: /var/lib/mythtv/music/remote: not mounted mag...@htpc:~$ sudo fusermount -u /var/lib/mythtv/music/remote fusermount: /var/lib/mythtv/music/remote not mounted mag...@htpc:~$ sudo rmmod -f autofs4 ERROR: Removing 'autofs4': Resource temporarily unavailable mag...@htpc:~$ lsmod|grep auto autofs4 31720 2 mag...@htpc:~$ apt-cache policy autofs autofs: Installed: 4.1.4+debian-2.1ubuntu2 Candidate: 4.1.4+debian-2.1ubuntu2 Version table: *** 4.1.4+debian-2.1ubuntu2 0 500 http://se.archive.ubuntu.com karmic/main Packages 100 /var/lib/dpkg/status mag...@htpc:~$ apt-cache policy samba-tools samba-tools: Installed: (none) Candidate: 2:3.4.0-3ubuntu5.4 Version table: 2:3.4.0-3ubuntu5.4 0 500 http://se.archive.ubuntu.com karmic-updates/universe Packages 500 http://security.ubuntu.com karmic-security/universe Packages 2:3.4.0-3ubuntu5 0 500 http://se.archive.ubuntu.com karmic/universe Packages mag...@htpc:~$ uname -a Linux htpc 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 02:39:34 UTC 2010 x86_64 GNU/Linux mag...@htpc:~$ cat /etc/*-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=9.10 DISTRIB_CODENAME=karmic DISTRIB_DESCRIPTION="Ubuntu 9.10" Regards Magnus ** Affects: autofs (Ubuntu) Importance: Undecided Status: New -- autofs hangs https://bugs.launchpad.net/bugs/529530 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to autofs in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs