0.实验前的环境检查与配置
[student@workstation ~]$ lab tiering setup
1.存储信息
gluster volume info prod-vol查看存储卷信息(此时已用的存储条为a1 b1)。for I in server{a,b} 遍历查看存储条的挂载信息。注意:可用的存储条有a1 a2 b1 b2。
[root@servera ~]# gluster volume info prod-vol
Volume Name: prod-vol
Type: Replicate
Volume ID: 3ef06fa0-87b4-4a54-ae03-fd6ee473bbe4
Status: Started
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1: servera:/bricks/brick-a1/brick
Brick2: serverb:/bricks/brick-b1/brick
Options Reconfigured:
performance.readdir-ahead: on
[root@servera ~]# for I in server{a,b}
> do
> ssh ${I} "mount | grep brick"
> done
The authenticity of host 'servera (172.25.250.10)' can't be established.
ECDSA key fingerprint is f3:3a:20:c9:5a:cc:cc:f0:44:f7:00:90:03:18:b1:8d.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'servera,172.25.250.10' (ECD