luxinjun888 发表于 2012-02-08 17:02

glusterfs增加服务器报错!

root@IRIS1:/usr/local/glusterfs/sbin# ./gluster volume add-brick v1 192.168.12.209:/home/data9
Incorrect number of bricks supplied 1 for type STRIPE with count 7

以上是我想在一个建立的条带(raid0)卷上增加主机目录,想测试动态的增加空间,不过通过命令后报错。不知道什么原因? 请教啊!!!主机节点添加209的时候是正常的。
root@IRIS1:/usr/local/glusterfs/sbin# ./gluster peer probe 192.168.12.209
Probe successful

下面是卷信息:
root@IRIS1:/usr/local/glusterfs/sbin# ./gluster volume info
Volume Name: v1
Type: Stripe
Status: Started
Number of Bricks: 7
Transport-type: tcp
Bricks:
Brick1: 192.168.12.201:/home/gluster/data1
Brick2: 192.168.12.202:/home/gluster/data2
Brick3: 192.168.12.203:/home/gluster/data3
Brick4: 192.168.12.205:/home/gluster/data5
Brick5: 192.168.12.206:/home/gluster/data6
Brick6: 192.168.12.207:/home/data7
Brick7: 192.168.12.208:/home/data8

下面是节点信息:
oot@IRIS1:/usr/local/glusterfs/sbin# ./gluster peer status
Number of Peers: 8

Hostname: 192.168.12.202
Uuid: 04a24c93-7640-4896-b679-acc02c2e784e
State: Peer in Cluster (Connected)

..........

Hostname: 192.168.12.208
Uuid: 87431cfb-9bc0-43bd-87e1-d2292954cf3e
State: Peer in Cluster (Connected)

Hostname: 192.168.12.209
Uuid: e18ae511-46a6-457f-9682-4eb3a60b7718
State: Peer in Cluster (Connected)

sandish 发表于 2012-03-30 15:18

aklus 发表于 2012-12-28 09:56

stripe volumeadd-brick 时,增加brick 数量要等于 stripe count 值或者其倍数
页: [1]
查看完整版本: glusterfs增加服务器报错!