Displaying 2 results from an estimated 2 matches for "anddddd".
Did you mean:
addded
2015 Oct 14
2
Re: Questions about qcow2 file size management
Le 2015-10-14 12:09, Sven Schwedas a écrit :
> On 2015-10-14 11:34, Jérôme wrote:
>
>> In other words, can I have this on a 60Go drive?
>> total 53G
>> 7,4G -rw------- 1 root root 11G oct. 8 06:34 prod_151008.qcow2
>> 7,4G -rw------- 1 root root 11G oct. 9 06:37 prod_151009.qcow2
>> 7,5G -rw------- 1 root root 11G oct. 10 06:41 prod_151010.qcow2
>>
2015 Oct 14
0
Re: Questions about qcow2 file size management
...et up an fstrim cron job.
Thanks. I read stuff about that and it's becoming clearer now.
These pages are the most complete explanations I found:
http://dustymabe.com/2013/06/11/recover-space-from-vm-disk-images-by-using-discardfstrim/
http://dustymabe.com/2013/06/26/enabling-qemu-guest-agent-anddddd-fstrim-again/
Unfortunately, after stopping the VM, editing the config file to add
"discard=unmap" and booting the VM again, fstrim does not work:
fstrim: /: the discard operation is not supported
The doc cited above says the feature needs virtio-scsi so I modified the
guest parameters...