首页 文章

Minio可以修复损坏的节点吗?

提问于
浏览
1

我构建了一个4节点的minio集群,运行一段时间后,一个节点被意外删除 . 当我将节点重新联机时,从那时起没有数据上传到该节点,只有另外3个节点正在工作 . 有没有办法修复损坏的节点并使其工作 .

2 回答

  • 0

    据我所知,目前的设置迫使你首先治愈节点,然后治疗水桶 . 意思是如果你有类似的东西:

    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
    
  • 1

    是的,它可以使用 mc admin heal 命令,目前可用作测试版功能 - 它正在进行中,并且应该在将来的版本中完全准备就绪 .

相关问题