[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] resize disk image partition


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Kristoffer Harthing Egefelt <k@xxxxxxx>
  • Date: Fri, 24 Aug 2012 05:00:38 -0700 (PDT)
  • Delivery-date: Fri, 24 Aug 2012 12:01:30 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Hi,

I'm trying to clarify if it's at all possible to live resize a disk image.

After trying and failing it seems that the reason a disk image cannot be
resized - is that domU is only able to detect changes in partitions (eg.
partprobe), not in block devices as the xvd driver lacks a rescan feature.

My domU sees disk images as blockdevices - that is without a partition
table, and I cannot find a way to boot a domU from a partition within a disk
image?

But if I could get XEN to boot a domU from a partition on a disk image, I
assume the domU via partprobe would see if I resized the partition and could
then resize the filesystem?

Or would it be considered bad practice to modify partitions in a disk image
from dom0 while domU is running?

What do you think - is it impossible to live resize a disk image/partition? 

I'd really like to avoid LVM.

Thanks

Regards
Kristoffer




--
View this message in context: 
http://xen.1045712.n5.nabble.com/resize-disk-image-partition-tp5710813.html
Sent from the Xen - User mailing list archive at Nabble.com.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.