Re: [SLUG] "mount" weirdness

From: Eben King (eben01@verizon.net)
Date: Thu Feb 26 2009 - 20:27:59 EST


On Tue, 24 Feb 2009, Eben King wrote:

> On Tue, 24 Feb 2009, Daniel Jarboe wrote:
>
>> On Tue, Feb 24, 2009 at 12:56 AM, Eben King <eben01@verizon.net> wrote:
>>
>>> 'Splain this, please.
>>>
>>> eben@pc:~$ sudo umount /misc/scratch/
>>> umount: /misc/scratch: device is busy
>>> umount: /misc/scratch: device is busy
>>>
>>> eben@pc:~$ lsof -n | grep scratch
>>> eben@pc:~$
>>>
>>> Why's it busy, then? This might explain why automount never lets it
>>> umount. In particular:
>>>
>>> eben@pc:~$ sudo /etc/init.d/autofs stop
>>> Stopping automounter:
>>> Couldn't stop automount for /misc done.
>>
>> Does sudo lsof -n find it?
>
> I have a mind to start in runlevel 1 and run /etc/{rc1.d/K*,rc3.c/S*} one at
> a time until it screws up. Any reason why I shouldn't?

OK, I did that, and found that nfs-user-server (most likely rpc.mountd) was
keeping /misc/{torrent,export,scratch} mounted. OK, I can whip up a wrapper
script that runs NFS if it isn't already going, runs vmplayer, then brings
down NFS if I started it. Stopped that (I'll deal with it later), carried
on.

Some things from /etc/rc.local live in /misc/export. OK, they're moved.
NEXT!

When Firefox runs and offers to restore my tabs, everything is fine. When I
take it up on that offer, /misc/scratch gets mounted and won't unmount.
Maybe some tab is open from file:///misc/scratch/... ?

-- 
-eben   QebWenE01R@vTerYizUonI.nOetP   royalty.mine.nu:81

This message was created using recycled electrons. ----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:00:57 EDT