Blog / ZFS compression
Your natbox disk holds about twice what it says
30 November 2026 · Update · By Mohammad AlSaraf
Every natbox server's disk lives on ZFS with compression switched on. We measured what that does across all customer servers on 9 November 2026, and the result is simple: typical Linux files take about half the space they would on an ordinary disk. And because your plan's disk limit counts the space actually used, you get to keep the difference.
The numbers

- Across 102 customer servers, 85.5 GB of files take up 44.4 GB of disk.
- The median server compresses its files 1.99 to 1. The least compressible one still manages 1.09 to 1, the best 2.19 to 1.
- The three hosts land at 1.89, 1.98 and 2.01. Most servers run the same operating systems and similar software, so they compress alike.
How it works
ZFS compresses every block with LZ4 as it's written and decompresses it as it's read. LZ4 is fast enough that it costs very little CPU, and because less data has to be written to and read from the disk, it can even make your server faster. You don't notice it at all: programs see normal files of their normal size.
Your disk limit counts the compressed size
Each plan's disk is a ZFS quota, and ZFS quotas count the space a server's files actually take on disk, after compression. On a test server of ours, df shows 368 MB used while the files add up to 782 MB. So a plan with a 5 GB disk holds roughly 10 GB of ordinary Linux files: programs, libraries, logs, text, source code, databases.
One thing to know: df and du inside your server show the compressed size, which is what counts against your limit. du --apparent-size shows the real size of your files.
What doesn't shrink
Files that are already compressed gain nothing: photos and videos (JPEG, PNG, MP4), archives (ZIP, gzip, xz), and encrypted data. If your server mostly stores media or backups that are already compressed, count on the plan's disk size as it is. ZFS notices incompressible data and stores it as is, so it never takes more space than without compression.
Also part of the same quota: the nightly snapshots we take of your server. They only store what changed since the previous one, and across all customer servers they currently use about 1.2 GB in total.
Want more room anyway? Bigger plans come with up to 20 GB, which with typical files means about twice that.
Get new tutorials in Telegram. Follow @natboxio: every new post, plus short server tips.
More from the blog: A flood took our client area down, and kept it down, China blocked our IPv4 address overnight, Black Friday 2026: yearly NAT VPS 50% off, for life. RSS feed.