139: Thanks

Happy American Food Coma Day! Here’s a tidbit of OpenZFS Mastery.

ZFS makes it easy to answer questions like “How much free disk space does this pool have?” The question “What’s using up all my space?” is much harder to answer thanks to snapshots, clones, reservations, volumes, compression, and referenced data. These features might also cause problems when trying to use traditional filesystem management methods on ZFS datasets. It’s even possible to find you don’t have enough space to delete files, which feels nonsensical until you understand why.

ZFS offers tools to transparently increase the amount of data you can fit on a disk. Rather than requiring the system administrator to compress and decompress individual files, ZFS uses efficient transparent compression at the filesystem level. While compressing logs during rotation makes the files look smaller in ls(1), it doesn’t change how many disk blocks those logs use. Snapshots and clones let you duplicate entire datasets with only a tiny amount of space. ZFS can also perform deduplication of files, improving disk usage at the cost of memory. We’ll see how to evaluate these options and determine when to use each.

I would appreciate your help making this book happen.

Leave a Reply

Your email address will not be published. Required fields are marked *