Hi. I want use xen with dynamic slices. For example, I have 20 domU based on FreeBSD, xen hypervisor 3.3.1, Debian Lenny dom0 system. All domUs have 80Gb LVM partitions, but realy they use 20 of this 80Gb and I want to create more domU''s. How can I do it? I know that some virtualisation have possibility to do dynamic slices(4 example Virtul box) -- Best Regards, alex.faq8@gmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Sep 8, 2009 at 5:43 PM, alex<alex.faq8@gmail.com> wrote:> Hi. > I want use xen with dynamic slices. For example, I have 20 domU based on > FreeBSD, xen hypervisor 3.3.1, Debian Lenny dom0 system. > All domUs have 80Gb LVM partitions, but realy they use 20 of this 80Gb and I > want to create more domU''s. > How can I do it? I know that some virtualisation have possibility to do > dynamic slices(4 example Virtul box)Do you mean storage overcommit? That is, assign more storage to domU than what you actually have? If yes, it''s not a matter of Xen vs VirtualBox. It''s a matter of what storage backend you use. If you use one of these: - sparse raw file (with file: or tap:aio:) - qcow - vmdk/vdisk (I think full support is only in newer Xen or Opensolaris) - zvol (on Opensolaris) then you can overcommit storage. But if you use disk/partition/LVM for domU storage, you won''t be able to. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Yes, you right, thank you. I have Debian Lenny on dom0 and use LVM. When I am using files: I do dd if=/dev/zero of=/myfile bs=1024k count=100000 And I have 100Gb file. Fajar, how can I overcommit storage ? I can''t see different between using LVM or files to overcommit storage. 2009/9/8 Fajar A. Nugraha <fajar@fajar.net>> On Tue, Sep 8, 2009 at 5:43 PM, alex<alex.faq8@gmail.com> wrote: > > Hi. > > I want use xen with dynamic slices. For example, I have 20 domU based on > > FreeBSD, xen hypervisor 3.3.1, Debian Lenny dom0 system. > > All domUs have 80Gb LVM partitions, but realy they use 20 of this 80Gb > and I > > want to create more domU''s. > > How can I do it? I know that some virtualisation have possibility to do > > dynamic slices(4 example Virtul box) > > Do you mean storage overcommit? That is, assign more storage to domU > than what you actually have? > > If yes, it''s not a matter of Xen vs VirtualBox. It''s a matter of what > storage backend you use. If you use one of these: > - sparse raw file (with file: or tap:aio:) > - qcow > - vmdk/vdisk (I think full support is only in newer Xen or Opensolaris) > - zvol (on Opensolaris) > > then you can overcommit storage. But if you use disk/partition/LVM for > domU storage, you won''t be able to. > > -- > Fajar >-- Best Regards, alex.faq8@gmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
alex escribió:> Yes, you right, thank you. > I have Debian Lenny on dom0 and use LVM. > When I am using files: I do > dd if=/dev/zero of=/myfile bs=1024k count=100000 > And I have 100Gb file. > Fajar, how can I overcommit storage ? I can''t see different between > using LVM or files to overcommit storage.Look the difference with a sparse file: dd if=/dev/zero of=/myfile bs=1024k seek=99999 count=1 du will show the really used disk by the file. -- -------------------------------------------------------------------- Administrador de Sistemas Centro de Cálculo e-mail: ntadmin [en] fi.upm.es Facultad de Informática Universidad Politécnica de Madrid -------------------------------------------------------------------- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users