<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi,<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 12/05/2017 11:19 PM, BASSAGET Cédric
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAN+OZjR1x_Xyq9uK2siu+qMJBdDy4G2xG1etPrGyYzgLeKKW1w@mail.gmail.com">
      <div dir="ltr">Hello
        <div>Retried from scratch; and still have an error when trying
          to bring up the second cluster :</div>
        <div>
          <div><br>
          </div>
          <div>root@LAB-virtm6:/# o2cb register-cluster ocfs2new</div>
          <div>o2cb: Internal logic failure while registering cluster
            'ocfs2new'</div>
        </div>
        <div><br>
        </div>
        <div>
          <div>root@LAB-virtm6:/mnt/vol1_iscsi_san1# o2cb list-clusters</div>
          <div>ocfs2</div>
          <div>ocfs2new</div>
        </div>
        <div><br>
        </div>
        <div>Can anybody help me please ?</div>
      </div>
    </blockquote>
    <br>
    I don't know if o2cb stack can have multiple clusters on the same
    node. With pacemaker<br>
    stack, once we setup a pacemaker cluster stack, we can have multiple
    ocfs2 instance, i.e<br>
    mkfs and mount multiple ocfs2 FS on the same node.<br>
    <br>
    Why do you want to setup multiple o2cb cluster on the same node?  I
    never know this need<br>
    of usage so far :)<br>
    <br>
    Maybe, others can help on your question.<br>
    <br>
    Thanks,<br>
    Eric<br>
    <br>
    <blockquote type="cite"
cite="mid:CAN+OZjR1x_Xyq9uK2siu+qMJBdDy4G2xG1etPrGyYzgLeKKW1w@mail.gmail.com">
      <div dir="ltr">
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2017-11-29 8:28 GMT+01:00 BASSAGET
          Cédric <span dir="ltr">&lt;<a
              href="mailto:cedric.bassaget.ml@gmail.com" target="_blank"
              moz-do-not-send="true">cedric.bassaget.ml@gmail.com</a>&gt;</span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">
              <div class="m_-2203639052553498645gmail-adn
                m_-2203639052553498645gmail-ads"
                style="padding-bottom:20px;font-size:medium">
                <div class="m_-2203639052553498645gmail-gs">
                  <div id="m_-2203639052553498645gmail-:ue"
                    class="m_-2203639052553498645gmail-ii
                    m_-2203639052553498645gmail-gt
                    m_-2203639052553498645gmail-adP
                    m_-2203639052553498645gmail-adO"
                    style="font-size:12.8px">
                    <div id="m_-2203639052553498645gmail-:uf"
                      class="m_-2203639052553498645gmail-a3s
                      m_-2203639052553498645gmail-aXjCH
                      m_-2203639052553498645gmail-m16006ac60f1bb826">
                      <div dir="ltr">
                        <div class="gmail_extra">Hello,</div>
                        <div class="gmail_extra">I guess I did something
                          wrong the first time.</div>
                        <div class="gmail_extra">I retried three times,
                          and it worked three times. So I guess ocfs 1.6
                          and 1.8 are compatibles :)</div>
                        <div class="gmail_extra"><br>
                        </div>
                        <div class="gmail_extra">Not it's time to set up
                          a second ocfs2 cluster on my debian 9 server
                          (ocfs 1.8), and I get this error when trying
                          to mkfs.ocfs2 :</div>
                        <div class="gmail_extra"><br>
                        </div>
                        <div class="gmail_extra">
                          <div class="gmail_extra">root@LAB-virtm6:~#
                            mkfs.ocfs2 /dev/mapper/data_san_2 </div>
                          <div class="gmail_extra">mkfs.ocfs2 1.8.4</div>
                          <div class="gmail_extra">On disk cluster
                            (o2cb,ocfs2new,0) does not match the active
                            cluster (o2cb,ocfs2,0).</div>
                          <div class="gmail_extra">mkfs.ocfs2 will not
                            be able to determine if this operation can
                            be done safely.</div>
                          <div class="gmail_extra">To skip this check,
                            use --force or -F</div>
                          <div><br>
                          </div>
                          <div><br>
                          </div>
                          <div>The running cluster on this host is :</div>
                          <div>
                            <div>root@LAB-virtm6:~# o2cluster -r</div>
                            <div>o2cb,ocfs2,local</div>
                          </div>
                          <div><br>
                          </div>
                          <div>I'm trying to add an "ocfs2new" cluster :</div>
                          <div>root@LAB-virtm6:~# o2cb add-cluster
                            ocfs2new</div>
                          <div>root@LAB-virtm6:~# o2cb add-node --ip
                            192.168.0.12 --port 7777 --number 1 ovfs2new
                            LAB-virtm6</div>
                          <div>root@LAB-virtm6:~# o2cb add-node --ip
                            192.168.0.13 --port 7777 --number 2 ovfs2new
                            LAB-virtm7</div>
                          <div><br>
                          </div>
                          <div>
                            <div>root@LAB-virtm6:~# o2cb list-clusters</div>
                            <div>ocfs2</div>
                            <div>ocfs2new</div>
                          </div>
                          <div><br>
                          </div>
                          <div>
                            <div>root@LAB-virtm6:~# o2cb cluster-status</div>
                            <div>Cluster 'ocfs2' is online</div>
                          </div>
                          <div><br>
                          </div>
                          <div>Even if I restart services or reboot,
                            cluster 'ocfs2new' never goes online.</div>
                          <div><br>
                          </div>
                          <div>What am I doing wrong ?</div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <div class="HOEnZb">
              <div class="h5">
                <div class="gmail_extra"><br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>