Re: using fstrim to save some space in cloud images

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

 



On Wed, Jun 17, 2015 at 6:45 PM, Matthew Miller
<mattdm@xxxxxxxxxxxxxxxxx> wrote:
> On Wed, Jun 17, 2015 at 06:12:00PM -0400, Dusty Mabe wrote:
>> Have we considered running fstrim against our cloud image filesystems
>> before we package it up? I wrote a small script to do it (inside a
>> container) at [1]. Looks like we can save ~28M:
>
> Yeah, we tried it before, and it was failing in the image build
> process. I don't remember the current state.

I am at Flock and I am very interested in helping with this.

I have used rsync (from a live CD) to "clone" old disk to a new disk
without copying over deleted files. That is very hard to automate
though. I tried it with Fedora cloud images in May and I achieved a
similar reduction in space.

-Mike
_______________________________________________
cloud mailing list
cloud@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/cloud
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux