Am 14.06.2012 21:55, schrieb Gianluca Cecchi:
[root@f17 ~]# echo 1 > /sys/block/sda/device/rescan
from dmesg output:
[ 263.003897] sd 2:0:0:0: [sda] 18874368 512-byte logical blocks:
(9.66 GB/9.00 GiB)
[ 263.004344] sda: detected capacity change from 8589934592 to 9663676416
So at this point you have resized the image and told the kernel about
it, you're done with the virt-specific part. The rest should be the same
as on physical hardware.
A quick search on the net suggests indeed that you can't modify a
partition that is mounted/in use by LVM. So I'm afraid a new partition
that is added to the VG must be good enough.
Kevin