[fedora-virt] How to use virtio-scsi on F17 host and F17 guest

Kevin Wolf kwolf at redhat.com
Fri Jun 15 08:20:44 UTC 2012


Am 14.06.2012 21:55, schrieb Gianluca Cecchi:
> [root at 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


More information about the virt mailing list