[ovirt-users] Reclaim disk space of thin disks

Yaniv Kaul ykaul at redhat.com
Wed Mar 30 20:29:22 UTC 2016


On Wed, Mar 30, 2016 at 10:04 AM, Grundmann, Christian <
Christian.Grundmann at fabasoft.com> wrote:

> Hi,
>
> is there a way to „shrink“ a thin disk image to reclaim deleted space like
> using virt-sparsify?
>

Yes, if the underlying file system supports it (NFS, for example, might
need to be 4.2 and above).


> Or can it be done by making a snapshot and clone the VM to a new one?
>

Another suggestion: use the VDSM hooks for discard ('diskunmap') and run
'fstrim' from within the guest.
Y.


>
> Thanks a lot
>
> Christian
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160330/344fa6da/attachment-0001.html>


More information about the Users mailing list