Re: /usr nfs mounted -> / is always busy

Glynn Clements (glynn@sensei.co.uk)
Sat, 22 May 1999 13:54:30 +0200 (GMT--1:00)


Andreas Jellinghaus wrote:

> kernel 2.2.*, distribution debian 2.1 (slink).
>
> i'm mounting /usr, /opt and /home via nfs. when shutting down, init executes
> "/etc/init.d/rc 6" to shutdown (a shell script). this shell executes
> "/etc/init.d/umountfs" (a shell script), and this calls umount.
>
> /usr is busy, so it can't be unmounted. since the system boots without /usr,
> bash and umount should work without /usr, but these processes cause /usr
> to be busy. maybe somethign with locales, ld searchpaths ? i have no idea.

`fuser -m /usr' should tell you which processes are using files on
/usr, and why. You can then use the information in /proc/<pid> to
determine the details.

> anyway: /usr is mounted read-only, so it shouldn't matter.
> but it does: / cannot be remounted readonly.

Again, `fuser -m /' should provide some clues.

-- 
Glynn Clements <glynn@sensei.co.uk>

- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.rutgers.edu