[Bug 235143] [NEW] Samba keeps drive "busy" even after unsharing

Mathias Gug mathiaz at ubuntu.com
Tue May 27 15:13:46 BST 2008


On Tue, May 27, 2008 at 05:22:50AM -0000, Martin Rehn wrote:
> 1) Mount a removable drive
> 2) Share a directory on the drive using Samba
> 3) Access this through Samba, using another machine
> 4) Remove (unshare) the Samba share
> 5) Try to unmount ("safely remove") the drive
> 
> Result: At step 5) the drive is reported as busy and is not unmounted.
> Expected result: The drive is unmounted.
> 
> 6) Restart Samba: /etc/init.d/samba restart
> 7) Unmounting the drive now succeeds

When a share is undefined, samba doesn't automatically kill existing
connections to the share. This is why the removable drive is busy and
cannot be unmounted.

I'm not sure if it's a good idea to kill existing connections to a share
as it could lead to data loss.

 status confirmed
 importance low

-- 
Mathias Gug
Ubuntu Developer  http://www.ubuntu.com


** Changed in: samba (Ubuntu)
   Importance: Undecided => Low
       Status: New => Confirmed

-- 
Samba keeps drive "busy" even after unsharing
https://bugs.launchpad.net/bugs/235143
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list