NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
kevinb1
Jan 30, 2016Aspirant
What btrfs data compression format is used in NAS OS 6?
I was looking at the options for btrfs, and I can't remember what Netgear mentioning what type of data compression is used in their boxes.
I've heard of both zlib (faster compresion) and LZO (more compression) being used in btrfs systems. I'm not as interested in the space-saving end as I am in the transfer speed of otherwise non-compressed data (not precompressed AV media for example).
What does OS 6 use?
3 Replies
Replies have been turned off for this discussion
- StephenBGuru - Experienced User
kevinb1 wrote:
.I've heard of both zlib (faster compresion) and LZO (more compression) being used in btrfs systems.
You have this backwards btw. zlib has higher compression ratios, and LZO is faster. https://btrfs.wiki.kernel.org/index.php/Compression#What_is_the_default_compression_method.3F
My RN202 uses zlib - if you are using ssh, you can see this by entering
btrfs property get /volumename/sharename
Unfortunately there is no way to see the compression ratio for a file. https://btrfs.wiki.kernel.org/index.php/FAQ#Can_I_find_out_compression_ratio_of_a_file.3F
Note bitrot protection must be enabled to create a compressed share.
- ibell63Aspirant
Does OS 6 use the compress or compress-force mount option?
I'm considering enabling compression for a share that will have both compressible and incompressible files and I want to ensure that it doesn't try to compress incompressible files.
Thanks,
Ian
- JennCNETGEAR Employee Retired
Hello kevinb1,
I'll check if I can get this info.
For the meantime, you might also find this helpful: BTRFS on ReadyNAS
Regards,
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!