<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
<br>
<div class="moz-cite-prefix">On 11/23/2017 06:23 PM, BASSAGET Cédric
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAN+OZjS0Rd71QNg6abJ1o_4Jp+P2oNg1duCdXiEZPEsObH5dUQ@mail.gmail.com">
<div dir="ltr">hello,
<div>I'm trying to set-up an OCFS2 cluster between hosts running
debian8 and debian9</div>
<div><br>
</div>
<div>2*debian 8 : ocfs2-tools 1.6.4-3</div>
<div>1*debian 9 : ocfs2-tools 1.8.4-4</div>
<div><br>
</div>
<div>I created the FS on debian 8 node :</div>
<div> mkfs.ocfs2 -L "ocfs2_new" -N 5 /dev/mapper/data_san_2</div>
<div><br>
</div>
<div>then mounted it without problem</div>
<div>mount /dev/mapper/data_san_2 /mnt/vol1_iscsi_san2/</div>
<div><br>
</div>
<div>I mounted it on second debian 8 host too, without problem.</div>
<div><br>
</div>
<div>Trying to mount in on debian9 returns :</div>
<div>mount.ocfs2: Cluster name is invalid while trying to join
the group<br>
</div>
<div><br>
</div>
<div>I saw in "man mkfs.ocfs2" that debian9 version
has --cluster-stack and --cluster-name options.</div>
<div><br>
</div>
<div>Is this option mandatory on ocfs2 1.8 ? That would say that
ocfs2 1.6 and 1.8 are not compatible ? Nothing is said about
1.8 on <a href="https://oss.oracle.com/projects/ocfs2/"
moz-do-not-send="true">https://oss.oracle.com/projects/ocfs2/'re
<br>
</a></div>
</div>
</blockquote>
<br>
Not sure if they're compatible. So can you try again with
--cluster-stack and --cluster-name?<br>
<br>
# o2cluster -o /dev/sda1<br>
pcmk,cluster,none<br>
<br>
pcmk is the cluster-stack, cluster is the name.<br>
<br>
Usually, these two option is optional, the tools will detect the
right cluster stack automatically.<br>
<br>
Eric<br>
</body>
</html>