[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: two devices mounted on one mountpoint



On Thu, Sep 18, 2003 at 07:51:29PM -0400, Chuck Yerkes wrote:
> Sometimes, when you drive a nail into your food, you need a
> hammer to pull it out.

I was really amused by the image of driving a nail into my food, and
when I figured out s/food/foot/ it just got funnier.

> stop nfs (its' got the partition open).
> umount /cvs
> umount /cvs
> 
> if it won't umount, lsof /cvs

You got it!  sudo kill `ps ax|awk '/nfs/ {print $1}'` was the first
missing step, and lsof was the second.  A cronjob that I'd killed off
had left an innocuous /bin/sh process hung with CWD=/cvs.  Quick kill -9
later and the umount succeeded (twice).

Thanks!
-andy