Stratis Mount Systemd

Posted on

Hi Guys, i wonder if it is possible to integrate in the next version?
[root@cornel ~]# uname -a
Linux cornel.rhel 4.18.0-147.0.3.el8_1.x86_64 #1 SMP Mon Nov 11 12:58:36 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
[root@cornel ~]#

cat /etc/systemd/system/dataSTR.mount
[Unit]
Description = Mount filesystem that lives on Stratis
name = dataSTR.mount
Requires = stratisd.service systemd-remount-fs.service
After = multi-user.target
Conflicts = umount.target

[Mount]
What = /stratis/stratpool/stratfs
Where = /dataSTR
Type = xfs
Options = discard

[Install]
WantedBy = multi-user.target

mount |tail -n 1
/dev/mapper/stratis-1-0e57e08adfe44fc0b8e9d9f4d008d7d7-thin-fs-5ca2faab630c46dea96efa6622f49203 on /dataSTR type xfs (rw,relatime,seclabel,attr2,discard,inode64,sunit=2048,swidth=2048,noquota)

[root@cornel ~]# cat /etc/fstab |grep stratis
[root@cornel ~]#

Thank you
Best Regards

Responses