I got a drive that's using btrfs as the filesystem to be successfully mounted with compression with a command like mount /dev/sda /mnt -o compress=zlib, but a command like mount /dev/sda /mnt -o compress=zlib:9 doesn't work. (If I remember correctly, it gives me an error along the lines of "wrong filesystem type, bad superblock" or something like that.) I tried this on Debian stable/stretch.
Does anyone have any insight into this?
Any input would be greatly appreciated!
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[SOLVED] Why can't set compress. level when mounting btrfs?
Re: Why can't I set the compression level when mounting btrf
maybe this?
https://btrfs.wiki.kernel.org/index.php/Compression
https://btrfs.wiki.kernel.org/index.php/Compression
...
Can I set the compression level? The level support of ZLIB has been added in v4.14...
Code: Select all
$ apt policy btrfs-progs
btrfs-progs:
Installed: (none)
Candidate: 4.7.3-1
Version table:
4.7.3-1 500
500 http://deb.debian.org/debian stretch/main amd64 Packages
resigned by AI ChatGPT
Re: Why can't I set the compression level when mounting btrf
Oh!
I think that because, on Wikipedia, it's written as "Yes (zlib, LZO[5] and (since 4.14) ZSTD[6])", and, because the 4.14 is near the ZSTD there, my brain kept ignoring the part you mentioned from the website you linked, due to it thinking that the zlib near the 4.14 text applied to ZSTD.
Anyways, thanks!
I think that because, on Wikipedia, it's written as "Yes (zlib, LZO[5] and (since 4.14) ZSTD[6])", and, because the 4.14 is near the ZSTD there, my brain kept ignoring the part you mentioned from the website you linked, due to it thinking that the zlib near the 4.14 text applied to ZSTD.
Anyways, thanks!
Use Mnemosyne to Study for School!