Stratis 2.2 arrives with improvements for D-Bus, CLI version and more

stratis

The new version of the Stratis 2.2 project has already been released and is available to the general public. This new version worked to add D-Bus interfaces to interact with block devices and other changes.

For those unfamiliar with Stratis, you should know that this is a daemon developed by Red Hat and the Fedora community to unify and simplify user space settings which configures and monitors existing components of the underlying Linux storage components of LVM volume management and XFS file system over D-Bus.

Stratis p.provides functions like heap allocation, snapshots, integrity, and caching layers. The project code is written in Rust and is distributed under the MPL 2.0 license.

The system largely repeats advanced tools in its capabilities to manage ZFS and Btrfs partitions, but it is implemented as an intermediate layer (stratisd daemon) that runs on top of the Linux kernel device mapper subsystem (dm-thin, dm-cache, dm-thinpool, dm-raid and dm-integration modules) and XFS file system. Unlike ZFS and Btrfs, Stratis components operate only in user space and do not require loading specific kernel modules.

Stratis has been tested with block devices based on LUKS (encrypted partitions), mdraid, dm-multipath, iSCSI, LVM logical volumes, and a variety of hard drives, SSDs, and NVMe drives. With a disk in the group, Stratis allows you to use snapshot-enabled logical partitions to revert the changes.

Main new features of Stratis 2.2

The 2.2 version adds new options for D-Bus interfaces to get properties (FetchProperties), manage (Manager) and interact with block devices (Blockdev).

Added the ability to report the occurrence of events on connection and removal of interfaces (InterfacesAdded and InterfacesRemoved) through D-Bus. Bash autocomplete scripts have been improved in the stratis-cli utility.

stratis 2.2.0 now put the symlinks from the Stratis filesystem in / dev / stratis, instead of / stratis, plus symbolic links are created and maintained by udev rules, instead of directly through stratisd as before. The / stratisdirectory is not created or used by stratisd 2.2.0.

This version positions terminal configuration management for interactive input of encryption keys in stratisd instead of stratis-cli.

The shell script is based on a small Rust script, stratis_dbusquery_version, which is included with this version of stratisd.

This version it also extends the D-Bus interface in several ways:

  • It sends org.freedesktop.DBus.ObjectManager.InterfacesAddedy org.freedesktop.DBus.ObjectManager.InterfacesRemoved signals on the D-Bus every time a D-Bus object is added or removed from the D-Bus interface.
  • Add a new D-Bus PhysicalPath property, for the org.storage.stratis2.blockdev.r2interface. This property is mainly useful for encrypted Stratis block devices; Identifies the block device on which the Stratis LUKS2 metadata resides.
  • Add a new key, LockedPoolsa to the org.storage.stratis2.FetchProperties.r2interface for the objects that implement the org.storage.stratis2.Managerinterface. This key returns a D-Bus object that maps the UUIDs of the locked groups to their corresponding key descriptions.

This release allows the user to specify their preferred logging level more directly and succinctly with the –log-levelopment CLI.

Finally if you want to know more about it about this new version, you can check the list of changes In the following link.

How to install Stratis?

Stratis is available for RHEL, CentOS, Fedora and derivatives. Its installation is quite simple, since the package is inside the RHEL repositories as well as its derivatives.

In order to install Stratis just run the following command in a terminal:

sudo dnf install stratis-cli stratisd -y

Or you can also try this other:

sudo yum install stratis-cli stratisd -y

Once installed on the system, must enable Stratis services, they do this by executing the following commands:

sudo systemctl start stratisd.service
sudo systemctl enable stratisd.service
sudo systemctl status stratisd.service

For more information on configuration and use, you can visit the following link. https://stratis-storage.github.io/howto/


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.