[Fedora-xen] resizing Xen para-virtualized guest partition

Kanwar Ranbir Sandhu m3freak at thesandhufamily.ca
Sat Jun 16 13:30:27 UTC 2007


On Mon, 2007-05-07 at 15:07 -0400, Paul Wouters wrote:
> You do not need LVM for that provided you have the disk space on the dom0:
> 
> dd if=/dev/zero bs=1M count=1024 >> /var/lib/xen/images/guest.dsk
> e2fsck -f /var/lib/xen/images/guest.dsk
> resize2fs /var/lib/xen/images/guest.dsk
> e2fsck -f /var/lib/xen/images/guest.dsk

How do you do this if one installs the domU in a LV on dom0?  I thought
I could simply lvextend the dom0 LV, boot the domU, and then lv/vg/pv
extend inside the domU, but that didn't work.

Regards,

Ranbir
-- 
Kanwar Ranbir Sandhu
Linux 2.6.20-1.2944.fc6 i686 GNU/Linux 
09:22:03 up 7 days, 10 min, 2 users, load average: 0.09, 0.29, 0.33 





More information about the Fedora-xen mailing list