[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Using TRIM to shrink qcow2 images
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] Using TRIM to shrink qcow2 images |
Date: |
Fri, 04 Oct 2013 09:05:24 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130923 Thunderbird/17.0.9 |
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:
> address@hidden ~]# 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