Saravanakumar Arumugam
2016-Nov-19 09:16 UTC
[Gluster-users] How to enable shared_storage?
On 11/19/2016 01:39 AM, Alexandr Porunov wrote:> Hello, > > I try to enable shared storage for Geo-Replication but I am not sure > that I do it properly. > > Here is what I do: > # gluster volume set all cluster.enable-shared-storage enable > volume set: success > > # mount -t glusterfs 127.0.0.1:gluster_shared_storage > /var/run/gluster/shared_storage > ERROR: Mount point does not exist > Please specify a mount point > Usage: > man 8 /sbin/mount.glusterfs > >This error means /var/run/gluster/shared_storage directory does NOT exists. But, running the command (gluster volume set all cluster.enable-shared-storage enable) should carry out the mounting automatically. (so, there is no need to manually mount). Check after running "gluster volume set all cluster.enable-shared-storage enable" 1. gluster volume info 2. glusterfs process started with volfile-id as gluster_shared_storage. Thanks, Saravana
It still doesn't work.. I have created that dir: # mkdir -p /var/run/gluster/shared_storage and then: # mount -t glusterfs 127.0.0.1:gluster_shared_storage /var/run/gluster/shared_storage Mount failed. Please check the log file for more details. Where to find a proper file to read logs? Because "/var/log/glusterfs/" has a lot of log files. Sincerely, Alexandr On Sat, Nov 19, 2016 at 11:16 AM, Saravanakumar Arumugam < sarumuga at redhat.com> wrote:> > On 11/19/2016 01:39 AM, Alexandr Porunov wrote: > >> Hello, >> >> I try to enable shared storage for Geo-Replication but I am not sure that >> I do it properly. >> >> Here is what I do: >> # gluster volume set all cluster.enable-shared-storage enable >> volume set: success >> >> # mount -t glusterfs 127.0.0.1:gluster_shared_storage >> /var/run/gluster/shared_storage >> ERROR: Mount point does not exist >> Please specify a mount point >> Usage: >> man 8 /sbin/mount.glusterfs >> >> >> This error means /var/run/gluster/shared_storage directory does NOT > exists. > > But, running the command (gluster volume set all > cluster.enable-shared-storage enable) > should carry out the mounting automatically. (so, there is no need to > manually mount). > > Check after running "gluster volume set all cluster.enable-shared-storage > enable" > 1. gluster volume info > 2. glusterfs process started with volfile-id as > gluster_shared_storage. > > Thanks, > Saravana > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20161119/3c8ed276/attachment.html>