[CentOS-virt] Resizing disks for VMs

Fabian Arrotin fabian.arrotin at arrfab.net
Mon Sep 28 19:24:09 UTC 2009


Karanbir Singh wrote:
> On 28/09/09 17:37, Fabian Arrotin wrote:
>> So what i do since then is to use lvm in the domU as well and add a new
>> xvd block device to the domU (aka a new LV on the dom0) and then the
>> traditionnal pvcreate/vgextend/lvextend. Working correctly for all my
>> domU's ..
> 
> how are  you able to add a new disk without a reboot ? or is that 
> something that works with the xenblock drivers ?
> 
Yes, i've only PV domU's ;-)

virsh attach-disk /path/to/lv/on/the/domO xvd[letter as it appears on 
the domU]

-- 
--
Fabian Arrotin
idea=`grep -i clue /dev/brain`
test -z "$idea" && echo "sorry, init 6 in progress" || sh ./answer.sh




More information about the CentOS-virt mailing list