mikedep333 / duckpan-vagrant

Vagrant + Chef virtual development environment for DuckDuckGo (http://duckduckhack.com)
Apache License 2.0
4 stars 1 forks source link

Automate Manual Disk Shrink Steps using fstrim #3

Open mikedep333 opened 9 years ago

mikedep333 commented 9 years ago

The first half of manual-disk-shrink-steps.txt is a bunch of commands that can be automated.

The latter half involves cloning the disk using rsync and live CD. However, it should be possible to use fstrim instead. See these links: https://lists.fedoraproject.org/pipermail/cloud/2015-June/thread.html#5497 http://www.jaysonrowe.com/2013/08/compacting-virtualbox-vdi.html