Storage
The root Btrfs file system now uses compression
New Fedora installations now enable transparent compression on the root Btrfs file system, including all its subvolumes. The default compression algorithm is zstd:1
. This change has no effect on Fedora variants that do not use Btrfs in their installation.
The benefits of the compression include:
-
The compression saves storage space and can significantly increase the lifespan of flash-based media, such as SSDs, by reducing write amplification.
-
The compression can increase read and write performance.
You can configure the Btrfs compression on an existing installation:
-
To enable the compression:
-
Edit the
/etc/fstab
file. -
Add the
compress=zstd:1
option to the/
mount point. -
Remount the file system:
$ sudo mount -o remount,compress=zstd:1 /
-
-
To disable the compression:
-
Edit the
/etc/fstab
file. -
Remove the
compress=zstd:1
option from the/
mount point. -
Remount the file system:
$ sudo mount -o remount,compress=none /
-
For more information about the Btrfs compression, see https://fedoraproject.org/wiki/Changes/BtrfsTransparentCompression.
stratis-cli and stratisd rebased to version 2.3.0
The stratis-cli
and stratisd
packages have been upgraded to version 2.3.0, which provides multiple bug fixes and enhancements. Notable changes include:
-
The
stratis pool bind <select_encryption_policy>
command has been added. This command adds encryption policy to all devices in the specified pool. This establishes an alternative mechanism for unlocking a pool. -
The
stratis pool unbind <select_encryption_policy>
command has been added. -
The functionality of the
stratis pool unlock <select_encryption_policy>
command has been extended. It is now necessary to specify the encryption mechanism - either the kernel keyring, the tang server, or the Trusted Platform Module (TPM) 2 device. -
Stratis filesystem symlinks are now in the
/dev/stratis/
directory. You need to update your system configurations that make use of the older filesystem paths. -
Users are able to specify their preferred log level.
-
The
org.storage.stratis2.Manager.r3
D-Bus interface has been updated to enable theUnlockPool
method to take an additional parameterunlock_method
. -
The
org.storage.stratis2.pool.r3
D-Bus interface adds two new methods:Bind
andUnbind
.
Two new dependencies have been added for clevis
and clevis-luks
packages.
For more information, see the stratis(8) manual page.
For full information about this release, see the upstream release notes.
Want to help? Learn how to contribute to Fedora Docs ›