[Gluster-users] How to enable shared_storage?

Saravanakumar Arumugam sarumuga at redhat.com
Sat Nov 19 13:18:08 UTC 2016



On 11/19/2016 04:13 PM, Alexandr Porunov wrote:
> 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.

You can  find mount logs like this :  "directory_mounted".log inside 
/var/log/glusterfs
There is some issue in your setup...check this log and share it here.
>
> Sincerely,
> Alexandr
>
> On Sat, Nov 19, 2016 at 11:16 AM, Saravanakumar Arumugam 
> <sarumuga at redhat.com <mailto: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/7526593b/attachment.html>


More information about the Gluster-users mailing list