stratis命令 – 管理linux存储

  其他命令

stratis 是一个具有与 ZFS 和 Btrfs 相似功能的卷管理文件系统。同时又是一个易于使用的 Linux 存储工具。

语法格式:stratis [参数]

常用参数:

fs创建文件系统
list列出文件系统
pool列出文件系统的池
snapshot创建文件系统快照

参考实例

安装stratis:

[root@linuxvip ~]# dnf install stratis-cli stratisd

创建文件系统:

[root@linuxvip ~]# stratis fs create mypool myfs1

创建一个文件系统作为现有文件系统的快照:

[root@linuxvip ~]# stratis fs snapshot mypool myfs1 myfs1-experiment

以列出系统中的池:

[root@linuxvip ~]# stratis pool list

列出池中的文件系统:

[root@linuxvip ~]# stratis fs list mypool