Re: umount /var is busy on shutdown

campbell-TtXmYh9KqR1Wk0Htik3J/[email protected]
Newsgroups gmane.linux.tao.general
Message-ID <[email protected]>

On Fri, 2004-11-12 at 21:29, David L. Parsley wrote:

>> Is this problem repeatable then?  Run mozilla, shut down & get '/var
>> busy'?  If so, try running mozilla, then as root, manually switch to
>> single-user (telinit S), stopping services, and using 'fuser' to see
>> what's keeping it busy (might want to 'man fuser').  e.g.:
>> /sbin/fuser -m /var
>> /var:                 1826  1826r  1826c  1826e  1895  1895r  1895e
>> 1952  1952r  1952c  1952e  1957  1957r  1957e  1959  1959r  1959e
>> ...
>> The letter codes indicate how the process is making it busy.
>>
>> regards,
>>       David
>>
>I had the same problem some time ago, in my case there were no files
>opened on /var but it was reported as busy.
>
>I resolved the problem removing /var as a separate partition.
>
>                        Daniele


David, 

I ran the fuser stuff you suggested, and found some 'c's and one 'm'. I tried
killing the associated processes to no avail. I did confirm, though, that it
took some time to make this happen. If I left the machine on long enough, I
would receive the busy messages on shutdown, but if I shutdown rather quickly
soon after booting, the messages would not appear.

Daniele,

I assume that you re-installed to get rid of /var. After spending some time on
the above fuser attempts, I decided to re-install Update 2 and leave it there. I
had originally installed update 2, installing everything, and then immediately
upgrading all. Since leaving the system at Update 2, I have not seen the
messages. (Could this mean though that the messages are not displaying in Update
2, or that the install fixed something that wasn't installed properly?).

It was your posting that I originally saw on the list, and I was hoping you
could provide a solution.

Thanks everyone for their suggestions and time. I will attempt to upgrade only
the packages as I need them, and will report back as I find that anything changes. 

Steve Campbell

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.