[OpenAFS] umount /afs busy ?
Jeffrey Hutzelman
jhutz@cmu.edu
Thu, 30 Aug 2001 12:29:01 -0400 (EDT)
On Thu, 30 Aug 2001, Jinwei Shen wrote:
> I am using open-afs-1.1.1 with Debian potato (kernel 2.4.4) on a
> laptop. (apt-get from http://www.openafs.org/dl/openafs/1.1.1)
>
> I use /etc/init.d/openafs-client force-start to start afs, and
> /etc/init.d/openafs-client force-stop to stop it. However, sometime I
> can not stop it because of umount /afs busy. I tried to use two ways
> to identify which process is using /afs.
>
> 1/ lsof |grep afs (lsof version 4.48).
> 2/ fuser -vm /afs
I've found that I usually get good results by doing 'lsof|grep afs' and
ignoring the afsd's, _before_ trying to stop AFS. Once you've tried and
failed to shut it down, it's often too late.
Note also that my experience with this is mostly on 2.2.x kernels; YMMV.
-- Jeffrey T. Hutzelman (N3NHS) <jhutz+@cmu.edu>
Sr. Research Systems Programmer
School of Computer Science - Research Computing Facility
Carnegie Mellon University - Pittsburgh, PA