From mboxrd@z Thu Jan 1 00:00:00 1970 From: C Anthony Risinger Subject: Re: can't unmount Date: Thu, 12 Aug 2010 12:46:11 -0500 Message-ID: <-3215279523596534788@unknownmsgid> References: <4C641969.9070405@noir.com> <4C641A31.4090603@noir.com> Mime-Version: 1.0 (iPhone Mail 7D11) Content-Type: text/plain; charset=ISO-8859-1 Cc: "linux-btrfs@vger.kernel.org" To: "K. Richard Pixley" Return-path: In-Reply-To: <4C641A31.4090603@noir.com> List-ID: On Aug 12, 2010, at 10:58 AM, "K. Richard Pixley" wrote: > And should I be worried about what umount -l might be leaving > behind? (eg, any unfreed kernel resources) Or is that a reasonable > way to deal with this situation on an ongoing basis? > > --rich > > On 8/12/10 08:55 , K. Richard Pixley wrote: >> I'm running into a situation where I can't unmount a mounted >> snapshot. It shows "busy" even though neither lsof nor fuser show >> any open files. Umount -f doesn't work although umount -l does. >> >> Is there anything else I can do to debug this scenario or to clear >> the busy status myself? Or am I down to rebooting each time? >> >> This is on stock ubuntu-10.04, x86. >> >> --rich You are lazy unmounting, as I understand, you are essentially just hiding the fact that the mount was busy to userspace... The mount will remain active in the kernel until you resolve whatever was stopping umount in the first place; kernel will then silently unmount. Does this affect all of your mounted snapshots, or only a particular one? C Anthony [mobile]