RE: autofs/ext2fs race?

From: Jeremy Fitzhardinge (jeremy@goop.org)
Date: Wed Feb 02 2000 - 13:26:40 EST


On 02-Feb-00 Romano Giannetti wrote:
># rmdir /mov
> rmdir: /mov: No such file or directory
>
># mkdir /mov
> mkdir: cannot make directory `/mov': File exists
>
> (Note: the other autofs mountpoints are /rem and /net). Now, fuser
> give no user of the /mov directory, and switching to single user and
> umounting all but / doesn't change the situation. Nor reboot. I have
> to force a fsck on the root partition (that, BTW, goes away without
> errors nor warnings) and then the autofs works again.
>
> What kinf of information should I recollect when it will happen again?
> To help track down this?

It looks like /mov has an autofs filesystem mounted on it. What does mount
say (or cat /proc/mounts)? Is there an autofs process? You can try umount
/mov; if that doesn't work, you can ls -l /mov/z; umount /mov (the ls will put
the autofs into catatonic mode if the automount process has died).

        J

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Feb 07 2000 - 21:00:08 EST