請教glusterfs的問題 - Linux

Elma avatar
By Elma
at 2014-05-23T14:31

Table of Contents

首先先簡單介紹一下配置
我手邊總共有四個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 /]#
系統會一直告知「沒有連結」的訊息,請問這在什麼情況下會發生?
煩請各位先進不吝解答,謝謝...

--
Tags: Linux

All Comments

Connor avatar
By Connor
at 2014-05-25T12:26
2的話可以貼一下gluster peer status嗎?
Ophelia avatar
By Ophelia
at 2014-05-27T08:55
3.3我沒用過,但這還真的是很奇怪的情況
Tracy avatar
By Tracy
at 2014-05-31T03:47
我曾google到這個問題,但上面是寫跟hostname有關,我也
看不太懂@@

squid3 TCP/denied

Daph Bay avatar
By Daph Bay
at 2014-05-22T15:46
大家好 我是要用 squid3+pam 來設定 proxy,照這個網頁設定好之後 http://zeldor.biz/2013/03/squid3-pam_auth/ 是可以通過驗證 但是存取速度很慢 甚至好幾次 timeout 查看 log 檔之後發現好幾次都是 TCP/miss 跟TCP/de ...

Ubuntu 14.04 開機問題

Todd Johnson avatar
By Todd Johnson
at 2014-05-22T13:45
小弟最近將桌機安裝Ubuntu 14.04 但是在安裝完後 開機常常會遇到黑屏 就完全沒有反應 連鍵盤的lock燈都沒反應 有時候重開就正常了 有時候重開好幾次他還是不理我 請問這是什麼問題呢??? 謝謝 - ...

asus n13b1網卡是否支援linux mint 17呢

Sierra Rose avatar
By Sierra Rose
at 2014-05-21T23:41
我剛灌完 linux mint 17 rc版 網卡是 usb-n13b1 asus的 連網路過一段時間自己會斷線 找到官網的driver for kernel 2.4 2.6 3.0的 自行安裝編譯可行嘛 我現在版本很新 有人試過 或推薦市面上for linux mint 的網卡 謝謝 - ...

nftables 嘗鮮中

William avatar
By William
at 2014-05-21T19:48
昨天稍微嘗試一下 nftables ,基本概念跟 iptables 一樣,因為中 文資料不太多,所以我上來寫一些資料當參考,下面是我這台機器跟 參考資料來源。 發行版:Slackware64 14.1(已更新到 Current) 參考資料: Arch 跟 Gentoo 的 wiki 、netfilter 的 ...

Additional Add-On Services是什麼意思?

John avatar
By John
at 2014-05-21T04:18
(VPS) Virtual Private Server Includes: Unlimited Domain andamp; DNS hosting SSH Root Access, DNS Hosting, Optional Webmin Control Panel, and Backups/Resto ...