When adding storage to a Linux server system administrators often use commands like pvcreate vgcreate lvcreate and mkfs to integrate the new storage into the system.nbspStratis is a command-line tool designed to make managing storage much simpler. It creates modifies and destroys pools of storage. It also allocates and deallocates filesystems from the storage pools.
Instead of an entirely in-kernel approach like ZFS or Btrfs Stratis uses a hybrid approach with components in both user space and kernel land. It builds on existing block device managers like device mapper and existing filesystems like XFS. Monitoring and control is performed by a user space daemon.
Stratis tries to avoid some ZFS characteristics like restrictions on adding new hard drives or replacing existing drives with bigger ones. One of its main design goals is to achieve a positive command-line experience.
Begin by installing the required packages. Several Python-related dependencies will be automatically pulled in. The stratisd package provides the stratisd daemon which creates manages and monitors local storage pools. The stratis-cli package provides the stratis command along with several Python libraries.