2

我有一个 docker swarm 集群,我正在尝试设置 gluster 以在 swarm 中运行。我在所有工作人员上安装了 gluster,并尝试使用以下命令创建一个 gluster 卷:

#gluster volume create dist-rep-vol gluster1:/bricks/brick1/brick gluster2:/bricks/brick2/brick

但我收到以下错误:

volume create: dist-rep-vol: failed: Glusterfs is not supported on brick: gluster1:/bricks/brick1/brick.
Setting extended attributes failed, reason: Operation not permitted.

我在网上发现我需要将 privileged 设置为 true 才能设置扩展属性。但我在这里发现swarm 不支持此功能。有解决办法吗?

4

0 回答 0