本文介绍如何通过向现有Stratis池中添加新磁盘和添加缓存磁盘。下面将介绍添加、删除、快照等内容。 |
系统环境
向Stratis池中添加其他磁盘
在Stratis管理下,将新的块设备添加到现有池非常容易。在上一篇文章《在Centos 中创建Stratis本地存储(一)》设置中,“ data01_pool”中有4个磁盘,现在我们需要通过添加新磁盘来扩展池中的空间。使用选项add-data
来添加新磁盘,下面向"data01_pool"池中添加"/dev/sde"磁盘。
[root@localhost ~]# stratis pool list Name Total Physical Properties data01_pool 8 GiB / 1.11 GiB / 6.89 GiB ~Ca,~Cr [root@localhost ~]# stratis pool add-data data01_pool /dev/sde [root@localhost ~]# stratis pool list Name Total Physical Properties data01_pool 10 GiB / 1.12 GiB / 8.88 GiB ~Ca,~Cr