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

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


Date: Thu, 18 Nov 2004 23:53:32 -0500


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
>
>
>

gives me a "Warning: can't stat() smbfs file system" /mnt/mntpoint.



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)