CentOS 8のGlusterFS - レプリケーションボリュームの作成に失敗する

CentOS 8のGlusterFS - レプリケーションボリュームの作成に失敗する

私は4つのCentOS 8仮想マシンで構成されたホームラップでGlusterFSを学び始めました。私の研究室の設定は次のとおりです。

  1. 1つの仮想マシンはネームサーバー(BIND)とタイムサーバー(Chrony)として機能します。
  2. GlusterFSがインストールされた3つの仮想マシンで構成されるクラスタ。sdb1各マシンには、Gluster専用のXFSパーティション()があります。パーティションが/gfsPool/gBricksディレクトリにマウントされます。
  3. gfsvol01/gfsPool/gBricks各ノードに作成されたディレクトリ。

GlusterFSのインストールは、3ノードクラスタと同様にシームレスに行われました。

複製されたGlusterボリュームを作成すると、次のエラーが発生します。

gluster volume create gfsvol01 replica 3 transport tcp virthost01:/gfsPool/gBricks/gfsvol01 virthost02:/gfsPool/gBricks/gfsvol01 virthost03:/gfsPool/gBricks/gfsvol01

volume create: gfsvol01: failed: Multiple bricks of a replicate volume are present on the same server. This setup is not optimal. Bricks should be on different nodes to have best fault tolerant configuration. Use 'force' at the end of the command if you want to override this behavior.

force を使用すると、次のエラーが発生します。

volume create: gfsvol01: failed: Commit failed on localhost. Please check the log file for more details.

この問題を解決する方法を知っていますか?既にご協力ありがとうございます。

PS私は通常Linuxを初めて使用し、GlusterFSを初めて使用します。

ありがとう、バハディン

ベストアンサー1

おすすめ記事