Advertisement
Guest User

Morgan - Zero-Filling a VM

a guest
Oct 12th, 2016
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. A note for Allan…
  2.  
  3.  
  4.  
  5. Now that DigitalOcean is about to begin charging for snapshot storage, I’m wondering about reducing the size of them and the storage fees … more a curiosity than a concern about cost. Some of my snapshots, while compressed, are larger than the actual data they contain due to free space containing unreferenced data. I’m wondering about creating a file from /dev/zero to occupy all the remaining storage space, and then deleting it, leaving the free space zeroed. This will grow the VM image to capacity, so all the DigitalOcean droplet operations will take the longest, I assume. But RLE compression should result in a smaller snapshot. Are there any operational downsides to doing this with a ZFS-based system? What are your thoughts on this?
  6.  
  7.  
  8.  
  9. As always, thank you for your expertise and support of FreeBSD.
  10.  
  11.  
  12.  
  13. --Morgan
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement