TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:1989] trace where "device is busy"



On Wed, Oct 28, 1998 at 07:05:05PM -0600, Ben Luey wrote:
> I have a netware volume (NDS 4.11) mounted under linux (ncpfs2-2) and
> everynow and then the mount dies and I have to remount. I tried this now
> and it says "device is busy" when I try to unmount. How can I trace what
> is using it so I can stop it and remount. Right now I get input/output
> error when I try to access it.  I've looked for xterm's using a directory
> or a wordperfect file, but I don't see anything using (or trying to use)
> the mounted dir.
> 

try using fuser ...

$ fuser -m -v /home

                     USER       PID ACCESS COMMAND
/home                whisper    220 ..c..  zsh
                     whisper    221 ..c..  zsh
                     whisper    222 ..c..  zsh
                     whisper    223 ..c..  zsh
                     whisper    271 ..c..  lynx
                     whisper    868 ..c..  lynx
                     whisper    945 ..c..  esd
                     whisper   1001 ..c..  zsh
                     whisper   1030 f.c..  vim
                     whisper   1031 f....  fuser

-- 

        -  -  --  --- -----[ whisper@bitstream.net ]----- --- -- -   -

	"I've got nothing to prove, and nothing like you left to lose."

  - -  -- ----[ 83 C0 55 57 7D AF 81 A1  7B 14 49 0C A0 7F 45 E8 ]-- - -    -