What command to defragment BTRFS partition using best compression ?

aug7744

Member
Joined
Aug 12, 2020
Messages
103
Reaction score
13
Credits
1,069
Hello.
Using the command below
sudo btrfs filesystem defragment -v -r -czlib -f /
defragment an BTRFS partition root using compression zlib.

in fstab is possible select zlib compression 1 to 9.
strange detail is that defrag command allow to select zlib, but not has any information if is possible select low or high compression.
trying to use czlib:9 or c zlib:9 result in error and not will run the command.

If using defrag command will use zlib compression settings from fstab ? will use maximum compression ? If not how is possible configure to use maximum compression ?
Thanks for reply.
 

Members online


Latest posts

Top