[問題] 請教glusterfs的問題

作者: pizzahut (...)   2014-05-23 14:31:06
首先先簡單介紹一下配置
我手邊總共有四個VM(hadoop111、hadoop112、hadoop113、hadoop114)
且都有加入彼此的host對應IP的設定在/etc/hosts內,
四台的OS都是使用CentOS 5.6,且gluster安裝的版本均為3.3.2。
1.用glusterfs刪除volume碰到以下狀況:
[root@hadoop111 /]# gluster volume info
Volume Name: dist-vol
Type: Distribute
Volume ID: b8eefa6f-8cc6-435f-919d-b608e0419cef
Status: Created
Number of Bricks: 2
Transport-type: tcp
Bricks:
Brick1: hadoop113:/dist
Brick2: hadoop114:/dist
[root@hadoop111 /]# gluster volume delete dist-vol
Deleting volume will erase all information about the volume. Do you want to
continue? (y/n) y
Volume dist-vol does not exist
[root@hadoop111 /]#
明明用volume info查看是存在的,但是要刪除的時候卻會提示已經不存在了,
這樣的話要怎樣處理?
2.若是要在已經建立完成的volume上新增brick,會出現以下訊息
[root@hadoop111 /]# gluster volume info repli-vol
Volume Name: repli-vol
Type: Replicate
Volume ID: 592c815e-f34c-4a5b-93e6-47fa153a9173
Status: Created
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1: hadoop111:/repli-vol
Brick2: hadoop112:/repli-vol
[root@hadoop111 /]# gluster volume add-brick repli-vol hadoop113:/repli-vol
Incorrect number of bricks supplied 1 with count 2
[root@hadoop111 /]# gluster volume add-brick repli-vol hadoop113:/repli-vol
hadoop114:/repli-vol
Host hadoop113 not connected
[root@hadoop111 /]#
系統會一直告知「沒有連結」的訊息,請問這在什麼情況下會發生?
煩請各位先進不吝解答,謝謝...
作者: soem (流水)   2014-05-23 23:06:00
2的話可以貼一下gluster peer status嗎?
作者: pizzahut (...)   2014-05-29 00:49:00
我曾google到這個問題,但上面是寫跟hostname有關,我也看不太懂@@

Links booklink

Contact Us: admin [ a t ] ucptt.com