qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Trying to get fstrim / discard=unmap to work


From: Richard W.M. Jones
Subject: Re: [Qemu-devel] Trying to get fstrim / discard=unmap to work
Date: Mon, 10 Mar 2014 16:14:21 +0000
User-agent: Mutt/1.5.20 (2009-12-10)

On Mon, Mar 10, 2014 at 04:11:20PM +0000, Richard W.M. Jones wrote:
> Guest:
>  - guest kernel: 3.13.4-200.fc20.x86_64
>  - ext4 guest filesystem
>  - fstrim from util-linux 2.24.1
>  - cat /sys/block/sda/device/scsi_disk/*/provisioning_mode
>    unmap

I noticed that I wasn't mounting the guest filesystem with '-o discard'.
However it still doesn't work even after adding this option.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]