WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] problem with deleting the loopback files

> No, DomU is not running any more. I just can not free the disk space
> allocated to the image files, even delete them.

Weird.

What kind of disk setup did you have?  PV guests?  HVM guests?  file: disks?

As Javier said, there must be something hanging about that's keeping 
references to those loop files around so that the OS can't safely deallocate 
the space.

What output does losetup --all give you?

In any case, rebooting dom0 will solve this, but there should be a way to do 
this without restarting the system if you need it to stay online.  It would 
be helpful to figure out what caused it, in case it's a bug somewhere.  I've 
not heard of this problem before!

Cheers,
Mark

> Thanks for reply.
>
> On Thu, Mar 13, 2008 at 12:29 PM, Javier Guerra <javier@xxxxxxxxxxx> wrote:
> > On 3/12/08, Jia Rao <rickenrao@xxxxxxxxx> wrote:
> > > Hi all,
> > >
> > > I created the disk spaces for VMs using loopback files. However I got a
> > > strange problem. When I deleted the loopback file for the virtual
> >
> > machine to
> >
> > > free some disk space for the physical machine, it turned out that after
> > > deletion,  the free disk space is not increased.
> >
> > are the DomU's still running? on unix systems when you delete a file,
> > it's not really deleted until no process has it open.
> >
> > --
> > Javier



-- 
Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/)

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users