Table of Contents

Using Stratis

Stratis is a service that needs to be installed and enabled.

To manage file systems with the Stratis storage management solution, install the stratis-cli and stratisd packages.

 dnf install stratis-cli stratisd
systemctl enable --now stratisd

Process to add storage using Stratis

to add them to fstab you need to use the options

UUID=c7b57190-8fba-463e-8ec8-29c80703d45e /dir1 xfs defaults,x-systemd.requires=stratisd.service 0 0

ensure x-systemd.requires=stratisd.service is in fstab

Checking stratis

to see what block devices are in a pool use

 stratis blockdevlist pool-name 

to check the filesystems in stratis

 stratis filesystem list 

to mount Stratis filesystems

use the UUID in fstab or to manually mount them use

[root@servera ~]# mount /dev/stratis/poolname/filesystem-name /mountpoint 

To remove files systems or snapshots use command

 [root@servera ~]# stratis filesystem destroy poolname filesystem-name

Issues

not entering details correctly in fstab will cause it to abort to emergency target

df will always tell you the size is 1Tb to get accurate size and usage use stratis pool list