gpt4 book ai didi

GlusterFS - 为什么不推荐使用 root 分区?

转载 作者:行者123 更新时间:2023-12-04 21:32:18 34 4
gpt4 key购买 nike

我计划设置多个节点以使用 glusterfs 创建分布式复制卷

我使用主(也是唯一)分区上的目录在两个节点上创建了一个 gluster 复制卷。

gluster volume create vol_dist-replica replica 2 transport tcp 10.99.0.3:/glusterfs/dist-replica 10.99.0.4:/glusterfs/dist-replica

这返回了以下警告
volume create: vol_dist-replica: failed: The brick 10.99.0.3:/glusterfs/dist-replica is being created in the root partition. It is recommended that you don't use the system's root partition for storage backend. Or use 'force' at the end of the command if you want to override this behavior.
所以我用了 force最后创建了卷。然后我能够将 gluster 卷挂载到本地目录。

我的问题是,为什么不建议使用root分区?

我只能想到一个明显的原因,系统可能永远不会因为 xyz 原因启动,因此你会丢失一个节点的砖内容..但是如果你有足够的节点,你应该能够从中恢复吗?

最佳答案

这是一个为什么不这样做的例子:

volume remove-brick commit force: failed: Volume X does not exist

No volumes present in cluster

volume create: X: failed: /export/gv01/brick or a prefix of it is already part of a volume



完美的循环我无法逃脱。

关于GlusterFS - 为什么不推荐使用 root 分区?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48000825/

34 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com