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. How can I delete the loopback files? removing them as the regular file? Right now, I already deleted the loopback file, how can I get the free disk space back? Thanks a lot, Jia. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
hi I try to compile to Pararllax , I have loaded down xen-3.1-testing.hg, and try to install it , there are some errors : could someone help me Thanks multi.c: 在函数 ‘sh_x86_emulate_cmpxchg8b__shadow_3_guest_2’ 中: multi.c:4174: 警告:‘mfn’ may be used uninitialized in this function make[7]: *** [g2_on_s3.o] 错误 1 make[7]: Leaving directory `/home/parallax/mercurial-0.9.5/xen-3.1-testing.hg/xe n/arch/x86/mm/shadow'' make[6]: *** [shadow/built_in.o] 错误 2 make[6]: Leaving directory `/home/parallax/mercurial-0.9.5/xen-3.1-testing.hg/xe n/arch/x86/mm'' my node : processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 8 model name : Pentium III (Coppermine) stepping : 6 cpu MHz : 1115.602 cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 mmx fxsr sse bogomips : 2000.49 processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 8 model name : Pentium III (Coppermine) stepping : 6 cpu MHz : 1115.602 cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 mmx fxsr sse up bogomips : 2000.49 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Javier Guerra
2008-Mar-13 16:29 UTC
Re: [Xen-users] problem with deleting the loopback files
On 3/12/08, Jia Rao <rickenrao@gmail.com> 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 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
No, DomU is not running any more. I just can not free the disk space allocated to the image files, even delete them. Thanks for reply. On Thu, Mar 13, 2008 at 12:29 PM, Javier Guerra <javier@guerrag.com> wrote:> On 3/12/08, Jia Rao <rickenrao@gmail.com> 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 >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nico Kadel-Garcia
2008-Mar-14 00:01 UTC
Re: [Xen-users] problem with deleting the loopback files
Jia Rao 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. > > How can I delete the loopback files? removing them as the regular file? > Right now, I already deleted the loopback file, how can I get the free > disk space back? > > Thanks a lot, > Jia.Run lsof: look for "discarded" files. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
tgh
2008-Mar-14 00:46 UTC
[Xen-devel] what is requirement for hardware platform to install parallax?
hi I try to compile to Pararllax , I have loaded down xen-3.1-testing.hg, and try to install it , my node is 2×(Pentium III (Coppermine)) 1GHz and IDE 200.0 GB SCSI 18.3 GB is there any requirement for hardware platform to install the parallax? there are some errors : could someone help me Thanks multi.c: 在函数 ‘sh_x86_emulate_cmpxchg8b__shadow_3_guest_2’ 中: multi.c:4174: 警告:‘mfn’ may be used uninitialized in this function make[7]: *** [g2_on_s3.o] 错误 1 make[7]: Leaving directory `/home/parallax/mercurial-0.9.5/xen-3.1-testing.hg/xe n/arch/x86/mm/shadow'' make[6]: *** [shadow/built_in.o] 错误 2 make[6]: Leaving directory `/home/parallax/mercurial-0.9.5/xen-3.1-testing.hg/xe n/arch/x86/mm'' _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mark Williamson
2008-Mar-16 21:00 UTC
Re: [Xen-devel] what is requirement for hardware platform to install parallax?
Hi there, I don''t believe there are any special hardware requirements for Parallax, although I''m not an expert in this area!> Thanks > > > multi.c: 在函数 ‘sh_x86_emulate_cmpxchg8b__shadow_3_guest_2’ 中: > multi.c:4174: 警告:‘mfn’ may be used uninitialized in this function > make[7]: *** [g2_on_s3.o] 错误 1 > make[7]: Leaving directory > `/home/parallax/mercurial-0.9.5/xen-3.1-testing.hg/xe > n/arch/x86/mm/shadow'' > make[6]: *** [shadow/built_in.o] 错误 2 > make[6]: Leaving directory > `/home/parallax/mercurial-0.9.5/xen-3.1-testing.hg/xe > n/arch/x86/mm''That''s a build problem in Xen that I''d expect is entirely unrelated to Parallax. Where did you clone the tree from? Have you done an hg fetch to update it to the latest code recently? Cheers, Mark -- Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mark Williamson
2008-Mar-16 21:20 UTC
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@guerrag.com> wrote: > > On 3/12/08, Jia Rao <rickenrao@gmail.com> 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@lists.xensource.com http://lists.xensource.com/xen-users