Difference between revisions of "Btrfs"

277 bytes added ,  1 year ago
compression only per volume
(Warning swapfile)
(compression only per volume)
Line 337: Line 337:


== Compression [https://btrfs.readthedocs.io/en/latest/Compression.html ⇒] ==
== Compression [https://btrfs.readthedocs.io/en/latest/Compression.html ⇒] ==
 
Compression can only be set '''per volume'''. So if you set different "levels" of compression for different mounts in the fstab, only the first "level" will be applied. [https://btrfs.readthedocs.io/en/latest/Compression.html#how-to-enable-compression see@btrfs.readthedocs.io]
{{BoxWarning|Grub needs to load the kernel and initrd|When you use compression on kernel, initrd, or grub config files, '''grub''' needs to decompress these files. Otherwise you will '''not be able to boot'''. GRUB introduced '''zstd''' support in '''2.04.''' Maybe you need to update grub '''and''' reinstall it}}
{{BoxWarning|Grub needs to load the kernel and initrd|When you use compression on kernel, initrd, or grub config files, '''grub''' needs to decompress these files. Otherwise you will '''not be able to boot'''. GRUB introduced '''zstd''' support in '''2.04.''' Maybe you need to update grub '''and''' reinstall it}}


translator
1,001

edits