Re: Automounted NFS shares never timeout
On Monday 17 March 2014 14:46:54 Michael Schuerig wrote:
> I have a single NFS share automounted by autofs. Once it is mounted,
> it is never (auto-)unmounted, even though I don't explicityl access
> it. Lsof does not show any open files below the mount point.
When I start plasma-desktop under strace, the main thread blocks in a
call to lstat.
$ strace -f plasma-desktop
[pid 2189] lstat("/net", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
[pid 2189] lstat("/net/tardis", {st_mode=S_IFDIR|0555, st_size=0, ...})
= 0
[pid 2189] lstat("/net/tardis/srv", {st_mode=S_IFDIR|0555, st_size=0,
...}) = 0
[pid 2189] lstat("/net/tardis/srv/test", <unfinished ...>
I'd like to use gdb to generate a backtrace from there, but I don't know
how to set a breakpoint on that specific lstat syscall.
Michael
--
Michael Schuerig
mailto:michael@schuerig.de
http://www.schuerig.de/michael/
Reply to: