loopback won't unmount?!

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


On 05/22/03 14:18, Andrew Mathews wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Net Llama! wrote:
> | On 05/22/03 13:58, Andrew Mathews 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?
> |> |
> |>
> |> You did a Ctrl-D to exit from the chroot environment first?
> |
> |
> | exit
> |
> | which should be the same, right?
> |
> 
> Yes. Did you start a process that didn't terminate properly while
> chrooted per chance?

the only thing i started was postgresql, that i cleanly stopped before 
exiting the chroot.  and lsof didn't report anything connected with the 
mount point.

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

   2:20pm  up 4 days, 46 min,  2 users,  load average: 1.53, 1.48, 1.33



More information about the Linux-users mailing list