[CentOS-virt] Resizing disks for VMs

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

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