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

Re: [Xen-users] increase size for dom guest using lvm online


  • To: Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
  • Date: Wed, 19 Aug 2009 13:55:45 +0700
  • Delivery-date: Tue, 18 Aug 2009 23:56:27 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Sun, Aug 16, 2009 at 6:25 PM, James
Harper<james.harper@xxxxxxxxxxxxxxxx> wrote:
>>
>> could we increase the size for dom guest online without rebooting or
>> unmounting?

>
> For a PV DomU (or a HVM DomU using PV drivers), there is no mechanism
> for the backend (Dom0) to notify the frontend (DomU) of a change in
> device size. I suspect that HVM DomU's have the same problems.
>
> So no, it cannot be done without rebooting.


There's a workaround, actually. For PV domU anyway.
While you cannot get domU to pickup device size change online, you CAN
attach new block device. So if you use LVM on domU as well, you can
simply attach a new block device, add it as new PV, then extend domU's
LV.

So you get the ability to grow domU's storage online at the cost of
extra complexity (having LVM on domU).

-- 
Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

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