umount: /usr: device busy

umount: /usr: device busy

Post by Davide Bianc » Wed, 13 Sep 2000 00:00:55



Ok, I don't know what happened today, but now I can't shutdown the
server (Linux kernel 2.2.17) because the umount keep telling me
that the /usr is busy, so it wont' umount....

I've already killed all the deamons, basically there is nothing
alive... How can I know what is using /usr ?

Any idea ?

Davide

 
 
 

umount: /usr: device busy

Post by Andrew N. McGuir » Wed, 13 Sep 2000 02:55:04


On Mon, 11 Sep 2000, Davide Bianchi quoth:

DB> Ok, I don't know what happened today, but now I can't shutdown the
DB> server (Linux kernel 2.2.17) because the umount keep telling me
DB> that the /usr is busy, so it wont' umount....
DB>
DB> I've already killed all the deamons, basically there is nothing
DB> alive... How can I know what is using /usr ?
DB>
DB> Any idea ?

fuser -u /usr

anm
--
BEGIN { $\ = $/; $$_ = $_ for qw~ just another perl hacker ~ }
my $J = sub { return \$just }; my $A = sub { return \$another };
my $P = sub { return \$perl }; my $H = sub { return \$hacker  };
print map ucfirst() . " " => ${&$J()}, ${&$A()}, ${&$P()}, ${&$H()};

 
 
 

umount: /usr: device busy

Post by Hal Burgi » Wed, 13 Sep 2000 06:29:53


On Mon, 11 Sep 2000 12:55:04 -0500, Andrew N. McGuire


>On Mon, 11 Sep 2000, Davide Bianchi quoth:

>DB> Ok, I don't know what happened today, but now I can't shutdown the
>DB> server (Linux kernel 2.2.17) because the umount keep telling me
>DB> that the /usr is busy, so it wont' umount....
>DB>
>DB> I've already killed all the deamons, basically there is nothing
>DB> alive... How can I know what is using /usr ?
>DB>
>DB> Any idea ?

>fuser -u /usr

If you still don't find anything, thing the fs is *ed somehow. Been
there.

--
Hal B


--

 
 
 

umount: /usr: device busy

Post by Peter T. Breue » Wed, 13 Sep 2000 06:36:54


: On Mon, 11 Sep 2000 12:55:04 -0500, Andrew N. McGuire
:>On Mon, 11 Sep 2000, Davide Bianchi quoth:
:>DB> Ok, I don't know what happened today, but now I can't shutdown the
:>DB> server (Linux kernel 2.2.17) because the umount keep telling me
:>DB> that the /usr is busy, so it wont' umount....
:>DB>
:>DB> I've already killed all the deamons, basically there is nothing
:>DB> alive... How can I know what is using /usr ?

Well, if you eliminate all the daemons, what is left is the kernel, and
kernel threads. Any NFS exports, for example?

: If you still don't find anything, thing the fs is *ed somehow. Been
: there.

Yes. (s/fs/os/)

Peter

 
 
 

umount: /usr: device busy

Post by Lloyd Bryan » Wed, 13 Sep 2000 08:32:35



> Ok, I don't know what happened today, but now I can't shutdown the
> server (Linux kernel 2.2.17) because the umount keep telling me
> that the /usr is busy, so it wont' umount....

> I've already killed all the deamons, basically there is nothing
> alive... How can I know what is using /usr ?

> Any idea ?

> Davide

as root:
'fuser -vm /usr'

This should allow you to identify the process(es)
that are currently hitting the usr filesystem...

Lloyd Bryant

 
 
 

umount: /usr: device busy

Post by Davide Bianc » Wed, 13 Sep 2000 16:00:47





>: On Mon, 11 Sep 2000 12:55:04 -0500, Andrew N. McGuire

>:>On Mon, 11 Sep 2000, Davide Bianchi quoth:
>:>DB> Ok, I don't know what happened today, but now I can't shutdown the
>:>DB> server (Linux kernel 2.2.17) because the umount keep telling me
>:>DB> that the /usr is busy, so it wont' umount....
>:>DB>
>:>DB> I've already killed all the deamons, basically there is nothing
>:>DB> alive... How can I know what is using /usr ?

>Well, if you eliminate all the daemons, what is left is the kernel, and
>kernel threads. Any NFS exports, for example?

Nope.

Weel, I used the fuser command and this is the result:

/usr            m login
                        m bash
                        e fuser

Seems that login and bash uses the /usr filesystem for some mapped
file or shared directory... now I'm investigating what is using into
that filesystem (I suspect some library).

Thanks.

Davide

 
 
 

1. Can't umount /usr: device busy

Hi folks,

I've upgraded my Linux box to:
Linux-2.2.0
glibc-2.0.7pre6
I wanted to try something new: drop all libs in /usr/lib. Yes, even
libc.so and ld-linux.so

The system start works good. I can run the box. But when I try to
shutdown I get the "Can't umount /usr, device is busy". I've tried to
check if there are unkilled processes with a 'ps' in the shutdown
script, but there seem nothing left from /usr running. The only thing I
suspect still running is ld-linux.so, or some library part that is still
maped.

Does anyone know a solution to that. It's a bit annoying to have a
systematic fschk on /usr on system startup. Perhaps there is something
more to do than 'killall5 -15; killall5 -9' in the shutdown script, but
I can't figure out what is missing. There is the call to 'sync' before
the 'killall5'.

Thanks,
Markus

--
A designer  knows  he has achieved perfection  not  when there is
nothing left to add, but when there is nothing left to take away.
                                         Antoine de Saint-Exupry
-----------------------------------------------------------------
Markus SCHTZ
8, Ch. des Aubpines                      Phone: ++41 21 646 9362


            http://www.geocities.com/SiliconValley/Foothills/9297
-----------------------------------------------------------------

2. Netscape/CGI/Solaris bug??? serial execution of CGI apps

3. "umount: /usr: device is busy" on reboot...

4. Ethernet adapter driver for Netfinity 5000

5. Bacup Scripts

6. Can't umount /usr - device is busy

7. A bit rude

8. umount: /dev/{device}: device is busy

9. umount: /usr busy

10. SLS 1.03 /usr busy, umount fails

11. can't umount /usr (busy?)

12. can't umount, /usr busy