2017-08-17 50 views
1

我構建了一個4節點minio羣集,運行了一段時間後,一個節點被偶然刪除。當我使節點重新聯機時,從此沒有數據被上傳到此節點,只有另外3個節點正在工作。 有什麼方法可以修復損壞的節點並使其工作。Can Minio能修復損壞的節點嗎?

回答

0

是的,它可以使用mc admin heal命令,目前可作爲測試版功能 - 它是一項正在進行的工作,應在未來版本中完全準備好。

1

據我可以告訴當前的設置迫使你先治癒節點,然後剷鬥。也就是說,如果你有這樣的:

minio.exe --config-dir c:\data_config server --address ":8001" d:\node1 e:\node2 f:\node3 g:\node4 

和磁盤f:變壞您更換這些驅動器,然後,假設你已經安裝local作爲別名,你必須做的:

// this will bring your disk up to speed 
mc admin heal local 

然後:

// this will bring your data up to speed 
mc admin heal local/bucket - where bucket is the bucket name you want to sync