
11 Jul
2012
11 Jul
'12
7:41 a.m.
On 10 July 2012 22:06, James Harper <james.harper@bendigoit.com.au> wrote: <...>
So I'm thinking that there is some process running that somehow touches the mounted volume every 15 seconds causing autofs to think that the mount is in use... can anyone suggest what that might be?
Assuming you have a relatively new kernel (>2.6.20), the following might give you some clues (where DEVICE is your USB disk); dmesg > /var/tmp/dmesg # save current state of kernel ringbuffer DEVICE=dm-1 echo 1 > /proc/sys/vm/block_dump while true; do sleep 1; dmesg -c; done |awk '/(READ|WRITE|dirtied).* on '$DEVICE'/' Don't forget the following once done; echo 0 > /proc/sys/vm/block_dump -- Joel Shea <jwshea@gmail.com>