Re: Utility to zero unused blocks on disk

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



Once upon a time, Robert Nichols <rnicholsNOSPAM@xxxxxxxxxxx> said:
> On 02/08/2016 07:04 PM, Chris Adams wrote:
> >For that purpose, use something that can TRIM a VM image, like
> >virt-sparsify.
> 
> That's doing the same thing.
> 
> virt-sparsify works by mounting the filesystem, filling it to capacity
> with zeros, then performing a copy operation which skips over the
> all-zero blocks, leaving them unallocated in the sparse destination
> file.

Well, that's the slow method that copies the image.  There's also the
in-place method, which just does a TRIM that pokes holes in the original
image (much faster and uses no extra disk space).

-- 
Chris Adams <linux@xxxxxxxxxxx>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux