I'm
using CentOS 7.4 with Gluster 3.10.7 and
Ganesha NFS 2.4.5.
I'm
trying to create a very simple 2 nodes
cluster to be used with NFS-ganesha. I've
created the bricks and the volume. Here's
the output:
#
gluster volume info
Volume
Name: cluster-demo
Type:
Replicate
Volume
ID: 9c835a8e-c0ec-494c-a73b-cca9d77871c5
Status:
Started
Snapshot
Count: 0
Number
of Bricks: 1 x 2 = 2
Transport-type:
tcp
Bricks:
Brick1:
glnode1:/data/brick1/gv0
Brick2:
glnode2:/data/brick1/gv0
Options
Reconfigured:
nfs.disable:
on
transport.address-family:
inet
cluster.enable-shared-storage:
enable
Volume
Name: gluster_shared_storage
Type:
Replicate
Volume
ID: caf36f36-0364-4ab9-a158-f0d1205898c4
Status:
Started
Snapshot
Count: 0
Number
of Bricks: 1 x 2 = 2
Transport-type:
tcp
Bricks:
Brick1:
glnode2:/var/lib/glusterd/ss_brick
Brick2:
192.168.0.95:/var/lib/glusterd/ss_brick
Options
Reconfigured:
transport.address-family:
inet
nfs.disable:
on
cluster.enable-shared-storage:
enable
However,
when I'm trying to run gluster nfs-ganesha
enable - it creates a wrong symbolic link
and failes:
# gluster nfs-ganesha enable
Enabling NFS-Ganesha requires
Gluster-NFS to be disabled across the
trusted pool. Do you still want to
continue?
(y/n) y
This will take a few minutes to
complete. Please wait ..
nfs-ganesha: failed: creation of
symlink ganesha.conf in /etc/ganesha
failed