On 01/19/2012 04:53 PM, Paolo Bonzini wrote:
I found a problem that a virtio-scsi disk gets offline during mkfs.
The scsi disk is of 100G or bigger, and the corresponding image
is a freshly created qcow2 image. If the disk is small enough, or
not freshly created, the problem doesn't appear.

Hi Hu,

I cannot reproduce this with a 100G qcow2 image (created with "qemu-img
create scsi.qcow2 100G" just before launching the host), with a
partition starting at sector 2048 and extending to the end of the disk.
  mkfs (ext4) takes less than 1 minute and extends the qcow2 file to a
little less than 2 gigs.

Can you send the partition table ("file -s /dev/sda" should be enough)
and any output you get from the dmesg?

I cannot reproduce this even with a 3T qcow2 image. mkfs takes 30 minutes and creates a 50G image.

What kernel driver are you using?

Paolo

Reply via email to