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

From: Mihai Osian (zzz_at_zzz.com)
Date: 11/16/04

  • Next message: Michał Dyszyński: "Re: How to install Knoppix into hard disk and/or into USB memory stick?"
    Date: Tue, 16 Nov 2004 21:14:14 +0100
    
    

    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


  • Next message: Michał Dyszyński: "Re: How to install Knoppix into hard disk and/or into USB memory stick?"

    Relevant Pages

    • Re: how can I (really) force a umount?
      ... >>sometimes the XP workstation gets rebooted while the shares are ... I can't disconnect them and I can't reconnect ... > see man lsof ...
      (comp.os.linux.questions)
    • Samba Shares & Windows 2000
      ... fact have the correct access to the share, ... Also, there are 4 different shares, and they ... I can disconnect and reconnect and the share will then show as ...
      (alt.os.linux.suse)
    • Re: how can I (really) force a umount?
      ... > sometimes the XP workstation gets rebooted while the shares are ... see man lsof ...
      (comp.os.linux.questions)