loopback won't unmount?!

Net Llama! netllama
Mon May 17 11:47:41 PDT 2004


On 05/22/03 14:06, Condon Thomas A KPWA wrote:

> Net Llama! wrote:
>> I mounted a ext3 filesystem image on loopback today, and then
>> chroot'ed into it to make some changes.  when i tried to unmount it,
>> it refuses with the error:
>> Device or resource busy
>> 
>> If i grep the output from lsof for the file that i had mounted, i get
>> no results.  What can i do to unmount this besides rebooting the box?
> 
> I found you have to cd *out* of the mounted disk in the chroot environment
> before you can exit and unmount it in the master environment.  If you didn't
> do that, chroot back in and "cd /".  Then you should be able to unmount it
> when you exit.  Strange, but it keeps track of *anyone* in that directory
> structure.

nope, i did that too.  thanks though.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                       	       netllama at linux-sxs.org
Linux Step-by-step & TyGeMo: 		    http://netllama.ipfox.com

   2:15pm  up 4 days, 41 min,  2 users,  load average: 1.59, 1.37, 1.27



More information about the Linux-users mailing list