this post was submitted on 20 Jun 2023
8 points (100.0% liked)
homelab
6657 readers
26 users here now
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Void Linux + mdadm in RAID5 + BTRFS with snapshots enabled. Trust me, you won't regret it 😉. I have a working storage like this, but with 6 drives (scrap 2TB ones in RAID5) and BTRFS with zstd set at 10. Compression on MPEG2 content is... more than I ever hoped for to be honest, like 30, 40% compression. MPEG4, not as much, but you can shim about 5 to 10%.
MPEG2 is, by today's standards, horribly inefficient, so that is to be expected. Transcoding, in that case, will gain a lot more. But if your mp4 files still compress significantly with a standard lossless compression algorithm, something is wrong with your encoder settings. Even xz, which, even at the default Level 6 is often better than zstd at 19, will generally do less than 1%, typically 0.2%, even at level 9 (the highest).
Do not do this setup if your data is critical. btrfs raid 5 isn't stable