Re: how can I (really) force a umount?

From: Gary Dale (garydale_at_rogers.com)
Date: 11/19/04

  • Next message: Gary Dale: "Re: how can I (really) force a umount?"
    Date: Thu, 18 Nov 2004 23:51:54 -0500
    
    

    Mihai Osian wrote:
    > Baho Utot wrote:
    >
    >> On Mon, 15 Nov 2004 10:24:57 -0500, Gary Dale wrote:
    >>
    >>
    >>> I'm connecting to a couple of shares on an XP Pro workstation - not a
    >>> good idea, I know, but it's convenient in this case except:
    >>>
    >>> sometimes the XP workstation gets rebooted while the shares are
    >>> connected. After that, I can't disconnect them and I can't reconnect
    >>> them. This creates a real problem because some programs (esp. under
    >>> wine) seem to read the full /mnt folder so they take forever.
    >>>
    >>> I've tried umount //server/share --force as root but it doesn't work.
    >>> I get 4 or 5 error messages telling me things like the device is
    >>> busy, etc..
    >>>
    >>> Any solutions?
    >>
    >>
    >>
    >> see man lsof
    >>
    >> lsof
    >> kill processes holding drive/mount point
    >> umount
    >
    >
    > fuser -k path
    > is even better

    Gives me an Input/Output error.


  • Next message: Gary Dale: "Re: how can I (really) force a umount?"

    Relevant Pages

    • Re: cannot mount /dev/sdb1
      ... umount: /dev/sdb1: not mounted ... 255 heads, 63 sectors/track, 527 cylinders ... > lsof /export? ...
      (comp.os.linux.setup)
    • file system busy ... how?
      ... Trying to umount a file system, ... using lsof, I find nothing open on the file system: ... pluto# lsof | grep vm ...
      (freebsd-stable)
    • what fuser and lsof dont show
      ... Does anyone have ideas about what could cause a umount to fail with fs ... busy message given that both lsof and fuser found nothing? ... run the fuser/lsof commands both before and after the umount command. ...
      (comp.unix.internals)
    • Re: Problem Reducing Size of JFS2 File System
      ... Try lsof to check and use umount - mount sequence first (so, ... shows it might be incorrect if applications are using this filesystem. ...
      (comp.unix.aix)
    • Re: file system busy ... how?
      ... open a new terminal and umount that fs again. ... > using lsof, I find nothing open on the file system: ... > pluto# ps aux ...
      (freebsd-stable)