=====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====
* check stratis pools stratis pool list
* Create a stratis pool of one or more block devices stratis pool create pool1 /dev/vdb
* You can add more devices using the add data option stratis pool add-data pool1 /dev/vdc
* create file systems from a pool stratis filesystem create pool1 fs1
* you can create snaphots of of file systems using stratis filesystem snapshot pool1 fs1 snapshot1
* You can add the stratis file systems to fstab to permanently mount get UUID using lsblk --output=UUID /dev/stratis/pool1/fs1
or
stratis filesystem list
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**