From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:48862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RnuVw-0001Yz-6v for qemu-devel@nongnu.org; Thu, 19 Jan 2012 11:07:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RnuIz-0006ia-Fk for qemu-devel@nongnu.org; Thu, 19 Jan 2012 10:53:41 -0500 Received: from mx1.redhat.com ([209.132.183.28]:27440) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RnuIz-0006i3-95 for qemu-devel@nongnu.org; Thu, 19 Jan 2012 10:53:37 -0500 Message-ID: <4F183C7A.9070603@redhat.com> Date: Thu, 19 Jan 2012 16:53:30 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1326731457-9056-1-git-send-email-pbonzini@redhat.com> <20120118073902.GA2265@localhost.localdomain> In-Reply-To: <20120118073902.GA2265@localhost.localdomain> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 00/15] SCSI s/g + SCSI migration + virtio-scsi List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hu Tao Cc: qemu-devel@nongnu.org On 01/18/2012 08:39 AM, Hu Tao wrote: > Hi Paolo, > > 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? Paolo