Received: from eggs.gnu.org ([2001:4830:134:3::10]:59785) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSMff-0001wn-8e for qemu-devel@nongnu.org; Fri, 12 Sep 2014 04:57:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XSMfX-0007Uh-Pb for qemu-devel@nongnu.org; Fri, 12 Sep 2014 04:57:35 -0400 Received: from s16892447.onlinehome-server.info ([82.165.15.123]:37698) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSMfX-0007TQ-Ik for qemu-devel@nongnu.org; Fri, 12 Sep 2014 04:57:27 -0400 Received: from [86.188.254.49] (helo=[172.30.1.185]) by s16892447.onlinehome-server.info with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1XSMfP-0004Nu-EX for qemu-devel@nongnu.org; Fri, 12 Sep 2014 09:57:19 +0100 Message-ID: <5412B563.2060307@ilande.co.uk> Date: Fri, 12 Sep 2014 09:57:07 +0100 From: Mark Cave-Ayland MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] qemu-img: unable to convert raw image > 2GB with git master List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel Hi all, I've been trying to convert a raw disk partition from my laptop for use on VMWare player and I'm seeing the following error from qemu-img git master during conversion: # qemu-img convert -f raw -O vmdk /dev/mapper/vm-raw out.vmdk qemu-img: error while writing sector 4247552: Invalid argument A quick glance at the resulting output file makes me thing that an artificial 2GB limit has accidentally been introduced: # ls -l | grep out.vmdk -rw-r--r-- 1 root root 2147483648 Sep 12 09:49 out.vmdk Can anyone else reproduce this? The input /dev/mapper/vm-raw is simply a raw 4GB LVM partition on my local disk which is mapped through as a standard hard disk into QEMU. Many thanks, Mark.