<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Did u install rpm or directly from sources. Can u check whether
      following script is present?<br>
    </p>
/var/lib/glusterd/hooks/1/set/post/S32gluster_enable_shared_storage.sh<br>
    <br>
    --<br>
    <br>
    Jiffin<br>
    <br>
    <div class="moz-cite-prefix">On 20/11/16 13:33, Alexandr Porunov
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAB-_WnH7=MYS_uS=hKBcUkWvir2-qH6Fm1jsn-HO01APN6i9NA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>To enable shared storage I used next command:</div>
        <div># gluster volume set all cluster.enable-shared-storage
          enable</div>
        <div><br>
        </div>
        <div>But it seems that it doesn't create gluster_shared_storage
          automatically.</div>
        <div><br>
        </div>
        <div># gluster volume status gluster_shared_storage</div>
        <div>Volume gluster_shared_storage does not exist</div>
        <div><br>
        </div>
        <div>Do I need to manually create a volume
          "gluster_shared_storage"? Do I need to manually create a
          folder "/var/run/gluster/shared_storage"? Do I need to
          manually mount it? Or something I don't need to do?</div>
        <div><br>
        </div>
        <div>If I use 6 cluster nodes and I need to have a shared
          storage on all of them then how to create a shared storage? </div>
        <div>It says that it have to be with replication 2 or
          replication 3. But if we use shared storage on all of 6 nodes
          then we have only 2 ways to create a volume:</div>
        <div>1. Use replication 6</div>
        <div>2. Use replication 3 with distribution.</div>
        <div><br>
        </div>
        <div>Which way I need to use?</div>
        <div><br>
        </div>
        <div>Sincerely,</div>
        <div>Alexandr</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Sun, Nov 20, 2016 at 9:07 AM, Jiffin
          Tony Thottan <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:jthottan@redhat.com" target="_blank">jthottan@redhat.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"><span class="">
                <p><br>
                </p>
                <br>
                <div class="m_1748935029945796892moz-cite-prefix">On
                  19/11/16 21:47, Alexandr Porunov wrote:<br>
                </div>
                <blockquote type="cite">
                  <div dir="ltr">
                    <div>Unfortunately I haven't this log file but I
                      have 'run-gluster-shared_storage.<wbr>log' and it
                      has errors I don't know why.</div>
                    <div><br>
                    </div>
                    <div>Here is the content of the
                      'run-gluster-shared_storage.<wbr>log':</div>
                    <div><br>
                    </div>
                  </div>
                </blockquote>
                <br>
              </span> Make sure shared storage is up and running using
              "gluster volume status  gluster_shared_storage"<br>
              <br>
              May be the issue is related to firewalld or iptables. Try
              it after disabling them.<br>
              <br>
              --<br>
              <br>
              Jiffin<br>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <div dir="ltr">
                      <div>
                        <div><font size="1">[2016-11-19 10:37:01.581737]
                            I [MSGID: 100030] [glusterfsd.c:2454:main]
                            0-/usr/sbin/glusterfs: Started running
                            /usr/sbin/glusterfs version 3.8.5 (args:
                            /usr/sbin/glusterfs
                            --volfile-server=127.0.0.1
                            --volfile-id=gluster_shared_<wbr>storage
                            /run/gluster/shared_storage)</font></div>
                        <div><font size="1">[2016-11-19 10:37:01.641836]
                            I [MSGID: 101190] [event-epoll.c:628:event_<wbr>dispatch_epoll_worker]
                            0-epoll: Started thread with index 1</font></div>
                        <div><font size="1">[2016-11-19 10:37:01.642311]
                            E [glusterfsd-mgmt.c:1586:mgmt_<wbr>getspec_cbk]
                            0-glusterfs: failed to get the 'volume file'
                            from server</font></div>
                        <div><font size="1">[2016-11-19 10:37:01.642340]
                            E [glusterfsd-mgmt.c:1686:mgmt_<wbr>getspec_cbk]
                            0-mgmt: failed to fetch volume file
                            (key:gluster_shared_storage)</font></div>
                        <div><font size="1">[2016-11-19 10:37:01.642592]
                            W [glusterfsd.c:1327:cleanup_<wbr>and_exit]
                            (--&gt;/lib64/libgfrpc.so.0(rpc_<wbr>clnt_handle_reply+0x90)
                            [0x7f95cd309770]
                            --&gt;/usr/sbin/glusterfs(mgmt_<wbr>getspec_cbk+0x536)
                            [0x7f95cda3afc6] --&gt;/usr/sbin/glusterfs(<wbr>cleanup_and_exit+0x6b)
                            [0x7f95cda34b4b] ) 0-: received signum (0),
                            shutting down</font></div>
                        <div><font size="1">[2016-11-19 10:37:01.642638]
                            I [fuse-bridge.c:5793:fini] 0-fuse:
                            Unmounting '/run/gluster/shared_storage'.</font></div>
                        <div><font size="1">[2016-11-19 10:37:18.798787]
                            I [MSGID: 100030] [glusterfsd.c:2454:main]
                            0-/usr/sbin/glusterfs: Started running
                            /usr/sbin/glusterfs version 3.8.5 (args:
                            /usr/sbin/glusterfs
                            --volfile-server=127.0.0.1
                            --volfile-id=gluster_shared_<wbr>storage
                            /run/gluster/shared_storage)</font></div>
                        <div><font size="1">[2016-11-19 10:37:18.813011]
                            I [MSGID: 101190] [event-epoll.c:628:event_<wbr>dispatch_epoll_worker]
                            0-epoll: Started thread with index 1</font></div>
                        <div><font size="1">[2016-11-19 10:37:18.813363]
                            E [glusterfsd-mgmt.c:1586:mgmt_<wbr>getspec_cbk]
                            0-glusterfs: failed to get the 'volume file'
                            from server</font></div>
                        <div><font size="1">[2016-11-19 10:37:18.813386]
                            E [glusterfsd-mgmt.c:1686:mgmt_<wbr>getspec_cbk]
                            0-mgmt: failed to fetch volume file
                            (key:gluster_shared_storage)</font></div>
                        <div><font size="1">[2016-11-19 10:37:18.813592]
                            W [glusterfsd.c:1327:cleanup_<wbr>and_exit]
                            (--&gt;/lib64/libgfrpc.so.0(rpc_<wbr>clnt_handle_reply+0x90)
                            [0x7f96ba4c7770]
                            --&gt;/usr/sbin/glusterfs(mgmt_<wbr>getspec_cbk+0x536)
                            [0x7f96babf8fc6] --&gt;/usr/sbin/glusterfs(<wbr>cleanup_and_exit+0x6b)
                            [0x7f96babf2b4b] ) 0-: received signum (0),
                            shutting down                              
                                                                       
                                               </font></div>
                        <div><font size="1">[2016-11-19 10:37:18.813633]
                            I [fuse-bridge.c:5793:fini] 0-fuse:
                            Unmounting '/run/gluster/shared_storage'.  
                                                    </font></div>
                        <div><font size="1">[2016-11-19 10:40:33.115685]
                            I [MSGID: 100030] [glusterfsd.c:2454:main]
                            0-/usr/sbin/glusterfs: Started running
                            /usr/sbin/glusterfs version 3.8.5 (args:
                            /usr/sbin/glusterfs
                            --volfile-server=127.0.0.1
                            --volfile-id=gluster_shared_<wbr>storage
                            /run/gluster/shared_storage)   </font></div>
                        <div><font size="1">[2016-11-19 10:40:33.124218]
                            I [MSGID: 101190] [event-epoll.c:628:event_<wbr>dispatch_epoll_worker]
                            0-epoll: Started thread with index 1  </font></div>
                        <div><font size="1">[2016-11-19 10:40:33.124722]
                            E [glusterfsd-mgmt.c:1586:mgmt_<wbr>getspec_cbk]
                            0-glusterfs: failed to get the 'volume file'
                            from server    </font></div>
                        <div><font size="1">[2016-11-19 10:40:33.124738]
                            E [glusterfsd-mgmt.c:1686:mgmt_<wbr>getspec_cbk]
                            0-mgmt: failed to fetch volume file
                            (key:gluster_shared_storage)                
                                                                       
                                                                       
                                                    </font></div>
                        <div><font size="1">[2016-11-19 10:40:33.124869]
                            W [glusterfsd.c:1327:cleanup_<wbr>and_exit]
                            (--&gt;/lib64/libgfrpc.so.0(rpc_<wbr>clnt_handle_reply+0x90)
                            [0x7f23576a9770]
                            --&gt;/usr/sbin/glusterfs(mgmt_<wbr>getspec_cbk+0x536)
                            [0x7f2357ddafc6] --&gt;/usr/sbin/glusterfs(<wbr>cleanup_and_exit+0x6b)
                            [0x7f2357dd4b4b] ) 0-: received signum (0),
                            shutting down                              
                                                                       
                                               </font></div>
                        <div><font size="1">[2016-11-19 10:40:33.124896]
                            I [fuse-bridge.c:5793:fini] 0-fuse:
                            Unmounting '/run/gluster/shared_storage'.  
                                                    </font></div>
                        <div><font size="1">[2016-11-19 10:44:36.029838]
                            I [MSGID: 100030] [glusterfsd.c:2454:main]
                            0-/usr/sbin/glusterfs: Started running
                            /usr/sbin/glusterfs version 3.8.5 (args:
                            /usr/sbin/glusterfs
                            --volfile-server=127.0.0.1
                            --volfile-id=gluster_shared_<wbr>storage
                            /run/gluster/shared_storage)   </font></div>
                        <div><font size="1">[2016-11-19 10:44:36.043705]
                            I [MSGID: 101190] [event-epoll.c:628:event_<wbr>dispatch_epoll_worker]
                            0-epoll: Started thread with index 1  </font></div>
                        <div><font size="1">[2016-11-19 10:44:36.044082]
                            E [glusterfsd-mgmt.c:1586:mgmt_<wbr>getspec_cbk]
                            0-glusterfs: failed to get the 'volume file'
                            from server    </font></div>
                        <div><font size="1">[2016-11-19 10:44:36.044106]
                            E [glusterfsd-mgmt.c:1686:mgmt_<wbr>getspec_cbk]
                            0-mgmt: failed to fetch volume file
                            (key:gluster_shared_storage)                
                                                                       
                                                                       
                                                    </font></div>
                        <div><font size="1">[2016-11-19 10:44:36.044302]
                            W [glusterfsd.c:1327:cleanup_<wbr>and_exit]
                            (--&gt;/lib64/libgfrpc.so.0(rpc_<wbr>clnt_handle_reply+0x90)
                            [0x7fbd9dced770]
                            --&gt;/usr/sbin/glusterfs(mgmt_<wbr>getspec_cbk+0x536)
                            [0x7fbd9e41efc6] --&gt;/usr/sbin/glusterfs(<wbr>cleanup_and_exit+0x6b)
                            [0x7fbd9e418b4b] ) 0-: received signum (0),
                            shutting down                              
                                                                       
                                               </font></div>
                        <div><font size="1">[2016-11-19 10:44:36.044356]
                            I [fuse-bridge.c:5793:fini] 0-fuse:
                            Unmounting '/run/gluster/shared_storage'.<wbr> </font></div>
                      </div>
                      <div><font size="1"><br>
                        </font></div>
                      <div>
                        <div>Can you help me to figure out what I am
                          doing wrong?</div>
                        <div><br>
                        </div>
                        <div>Sincerely,</div>
                        <div>Alexandr</div>
                      </div>
                    </div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">On Sat, Nov 19, 2016 at
                        3:18 PM, Saravanakumar Arumugam <span dir="ltr">&lt;<a
                            moz-do-not-send="true"
                            href="mailto:sarumuga@redhat.com"
                            target="_blank">sarumuga@redhat.com</a>&gt;</span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">
                          <div text="#000000" bgcolor="#FFFFFF"><span> <br>
                              <br>
                              <div
                                class="m_1748935029945796892m_-5622734281375389035moz-cite-prefix">On
                                11/19/2016 04:13 PM, Alexandr Porunov
                                wrote:<br>
                              </div>
                              <blockquote type="cite">
                                <div dir="ltr">It still doesn't work..
                                  <div><br>
                                  </div>
                                  <div>I have created that dir:</div>
                                  <div># mkdir -p
                                    /var/run/gluster/shared_storag<wbr>e<br>
                                  </div>
                                  <div><br>
                                  </div>
                                  <div>and then:</div>
                                  <div>
                                    <div># mount -t glusterfs
                                      127.0.0.1:gluster_shared_stora<wbr>ge
                                      /var/run/gluster/shared_storag<wbr>e</div>
                                    <div>Mount failed. Please check the
                                      log file for more details.</div>
                                  </div>
                                  <div><br>
                                  </div>
                                  <div>Where to find a proper file to
                                    read logs? Because
                                    "/var/log/glusterfs/" has a lot of
                                    log files.</div>
                                </div>
                              </blockquote>
                              <br>
                            </span> You can  find mount logs like this
                            :  "directory_mounted".log inside
                            /var/log/glusterfs<br>
                            There is some issue in your setup...check
                            this log and share it here.<span><br>
                              <blockquote type="cite">
                                <div dir="ltr">
                                  <div><br>
                                  </div>
                                  <div>Sincerely,</div>
                                  <div>Alexandr</div>
                                </div>
                                <div class="gmail_extra"><br>
                                  <div class="gmail_quote">On Sat, Nov
                                    19, 2016 at 11:16 AM, Saravanakumar
                                    Arumugam <span dir="ltr">&lt;<a
                                        moz-do-not-send="true"
class="m_1748935029945796892m_-5622734281375389035moz-txt-link-abbreviated"
href="mailto:sarumuga@redhat.com" target="_blank">sarumuga@redhat.com</a>&gt;</span>
                                    wrote:<br>
                                    <blockquote class="gmail_quote"
                                      style="margin:0 0 0
                                      .8ex;border-left:1px #ccc
                                      solid;padding-left:1ex"><span><br>
                                        On 11/19/2016 01:39 AM, Alexandr
                                        Porunov wrote:<br>
                                        <blockquote class="gmail_quote"
                                          style="margin:0 0 0
                                          .8ex;border-left:1px #ccc
                                          solid;padding-left:1ex">
                                          Hello,<br>
                                          <br>
                                          I try to enable shared storage
                                          for Geo-Replication but I am
                                          not sure that I do it
                                          properly.<br>
                                          <br>
                                          Here is what I do:<br>
                                          # gluster volume set all
                                          cluster.enable-shared-storage
                                          enable<br>
                                          volume set: success<br>
                                          <br>
                                          # mount -t glusterfs
                                          127.0.0.1:gluster_shared_stora<wbr>ge
                                          /var/run/gluster/shared_storag<wbr>e<br>
                                          ERROR: Mount point does not
                                          exist<br>
                                          Please specify a mount point<br>
                                          Usage:<br>
                                          man 8 /sbin/mount.glusterfs<br>
                                          <br>
                                          <br>
                                        </blockquote>
                                      </span> This error means
                                      /var/run/gluster/shared_storag<wbr>e
                                      directory does NOT exists.<br>
                                      <br>
                                      But, running the  command (gluster
                                      volume set all
                                      cluster.enable-shared-storage
                                      enable)<br>
                                      should carry out the mounting
                                      automatically. (so, there is no
                                      need to manually mount).<br>
                                      <br>
                                      Check after running "gluster
                                      volume set all
                                      cluster.enable-shared-storage
                                      enable"<br>
                                          1. gluster volume info<br>
                                           2. glusterfs process started
                                      with volfile-id as
                                      gluster_shared_storage.<br>
                                      <br>
                                      Thanks,<br>
                                      Saravana<br>
                                      <br>
                                    </blockquote>
                                  </div>
                                  <br>
                                </div>
                              </blockquote>
                              <br>
                            </span></div>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                    <br>
                    <fieldset
                      class="m_1748935029945796892mimeAttachmentHeader"></fieldset>
                    <br>
                  </div>
                </div>
                <pre>______________________________<wbr>_________________
Gluster-users mailing list
<a moz-do-not-send="true" class="m_1748935029945796892moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a>
<a moz-do-not-send="true" class="m_1748935029945796892moz-txt-link-freetext" href="http://www.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://www.gluster.org/<wbr>mailman/listinfo/gluster-users</a></pre>
    </blockquote>
    

  </div>

</blockquote></div>
</div>



</blockquote>
</body></html>