zeroing out the cloud image filesystem

Matthew Miller mattdm at
Wed Jun 19 13:20:15 UTC 2013

On Tue, May 21, 2013 at 06:23:13PM -0400, Matthew Miller wrote:
> > > Using virt-sparsify seems to take even longer, but does get it down to 208M.
> > > That requires libguestfs, which we can't do in the current build system, but
> > > will be able to in the future one. (Feature rescheduled for F20.)
> > Why not use fstrim on the image file?
> Um. Because no good reason? This is both fast and produces the smallest
> size.
> There was some problem with it months ago, and I had discarded it as an
> option. But clearly that was wrong! 

I remembered / re-discovered the reason: it fails in virt-install with
"fstrim: /: FITRIM ioctl failed: Operation not supported".

I should probably figure out *why* rather than just avoiding it, though. :)

Matthew Miller  ☁☁☁  Fedora Cloud Architect  ☁☁☁  <mattdm at>

More information about the cloud mailing list