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/
Home Products Support Community News


Re: [Xen-users] Re: DomU on LVM


Am Donnerstag, 8. Mai 2008 16:55 schrieb Ross S. W. Walker:
> Wolfgang Rosenauer wrote:
> > Ross S. W. Walker wrote:
> > >> So IMHO a better way to do it is to export each lv as
> > >> a separate disk and make one single partition of whole
> > >> such disk in domU:
> > >> /dev/vg/lv1 -> /dev/hda -> /dev/hda1 --> /
> > >> /dev/vg/lv2 -> /dev/hdb -> /dev/hdb1 --> /var
> > >> /dev/vg/lv3 -> /dev/hdc -> /dev/hdc1 --> /home
> > >> Resizing is extremly easy (lvextend, resize2fs)
> > >> and it can be done online if ext3 is used.

why use multiple partitions if you can resize?
  /dev/vg/lv1 -> /dev/hda -> /dev/hda1 --> /
  /dev/vg/lv2 -> /dev/hdb -> /dev/hdb1 --> swap

But i also prefer to use lvs as partitions inside domU because you don't loose 
any byte for a (needless) partitiontable.
It's also easier to backup these unpartitioned lvs (you don't need any
"-o offset=XXXXX" while mounting a snapshot of this lv).

Where is the discussion why this is not to be supported in the future? I've 
seen that it was mentioned here a few times but i've never found out what the 
reason could be?



Attachment: pgpEjIeFUpcGH.pgp
Description: PGP signature

Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>