From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36125) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRzRn-0004Ss-Vq for qemu-devel@nongnu.org; Fri, 04 Oct 2013 03:05:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRzRi-0005vM-0l for qemu-devel@nongnu.org; Fri, 04 Oct 2013 03:05:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34790) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRzRh-0005uV-PE for qemu-devel@nongnu.org; Fri, 04 Oct 2013 03:05:05 -0400 Message-ID: <524E68B4.10906@redhat.com> Date: Fri, 04 Oct 2013 09:05:24 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <5203744F.4010407@ramses-pyramidenbau.de> <5203884F.5040805@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Using TRIM to shrink qcow2 images List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy Cc: QEMU Developers Il 04/10/2013 08:22, Alexey Kardashevskiy ha scritto: > > btw I tried "discard=on" as you described (with if=virtio) and received > an error: > [root@localhost ~]# fstrim -v / > fstrim: /: FITRIM ioctl failed: Operation not supported > > In my case if=virtio means virtio-blk. If I use virtio-scsi or ibmvscsi, > fstrim works just fine but failing virtio-blk bothers me a bit as we > might have a bug in ppc64, do not we? (we == ppc64 folks, of course :) ) > No, virtio-blk does not support trim. Paolo