I don't do Xen, really. Sounds like you need to fdisk/parted the disk from the guest. Are you using lvm on the guest as well (sounds like you are not)? If you are, then you'll also need to lvextend the LV.<br><br>
<div class="gmail_quote">On Wed, Mar 18, 2009 at 11:06 AM, Andrew Grieser <span dir="ltr"><<a href="mailto:agrieser@gmail.com">agrieser@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm just getting started with Xen, and I was wondering if there was a "smart" way to do utilize LVM in combination with Xen.<br>
<br>
I'd like to be able to add additional guests without having to repartition, and I'd also like to be able to increase space available to the guest without having to reinstall the guest.<br>
<br>
Creating new "partitions" for guests on the fly means that I need to use LVM in the host domain (dom0). However, when Xen exports the partition/logical-volume to the guest, the guest thinks it is an entire drive, and wants to create a partition table. Because of this, using dom0 to increase the size of the logical volume on which the guest is residing doesn't accomplish much. Running resize2fs on the guest doesn't pick up the extra space.<br>
<br>
Basically I'm wondering if there is a smart way to do this. Should I be running LVM on the host, on the guests, or both? For reference, both the host and guests are Debian Lenny.<br>
<br>
Also, is there a way to export a partition/logical-volume and have the guest realize that it is a partition and not an entire disk?<br>
<br>
Andrew<br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
</blockquote></div><br>