<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I have upgraded successfully from glusterfs-server 3.7 to 7.7 directly offline . Glusterfs-server 7.7&nbsp; can't work on centos 7.0 ,after update the os to centos 7.8 ,glusterfs-servers work as expected !&nbsp; After upgrade ,I added a arbiter node.
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Volume Name: datacenter
<div>Type: Replicate</div>
<div>Volume ID: 03fbf2e3-86f0-4d24-a60c-e01560b75e36</div>
<div>Status: Started</div>
<div>Snapshot Count: 0</div>
<div>Number of Bricks: 1 x (2 + 1) = 3</div>
<div>Transport-type: tcp</div>
<div>Bricks:</div>
<div>Brick1: gluster1:/glusterfs/brick1/datacenter</div>
<div>Brick2: gluster2:/glusterfs/brick1/datacenter</div>
<div>Brick3: arbiter:/home/brick/datacenter (arbiter)</div>
<div>Options Reconfigured:</div>
<div>cluster.self-heal-daemon: enable</div>
<div>transport.address-family: inet</div>
<div>nfs.disable: on</div>
<div>server.allow-insecure: on</div>
<div>performance.readdir-ahead: on</div>
<div>&nbsp;</div>
<div>Volume Name: vmhome</div>
<div>Type: Replicate</div>
<div>Volume ID: ed391b29-fb88-4524-a589-fc4b10212e2b</div>
<div>Status: Started</div>
<div>Snapshot Count: 0</div>
<div>Number of Bricks: 1 x (2 + 1) = 3</div>
<div>Transport-type: tcp</div>
<div>Bricks:</div>
<div>Brick1: gluster1:/glusterfs/brick1/vmimage</div>
<div>Brick2: gluster2:/glusterfs/brick1/vmimage</div>
<div>Brick3: arbiter:/home/brick/vmhome (arbiter)</div>
<div>Options Reconfigured:</div>
<div>transport.address-family: inet</div>
<div>nfs.disable: on</div>
<div>performance.readdir-ahead: on</div>
<div>server.allow-insecure: on</div>
<div>storage.owner-uid: 107</div>
<div>storage.owner-gid: 107</div>
[root@gluster2 ~]#&nbsp;</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[root@gluster2 ~]# gluster volume get all cluster.op-version
<div>Option &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Value &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
</div>
<div>------ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;----- &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
</div>
<div>cluster.op-version &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;70200 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
</div>
<div>[root@gluster2 ~]# </div>
<br>
<br>
</div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>发件人:</b> Sanju Rakonde &lt;srakonde@redhat.com&gt;<br>
<b>发送时间:</b> 2020年8月26日 3:04<br>
<b>收件人:</b> liu zhijing &lt;jordielau@outlook.com&gt;<br>
<b>抄送:</b> gluster-users@gluster.org List &lt;gluster-users@gluster.org&gt;<br>
<b>主题:</b> Re: [Gluster-users] upgrade gluster from old version</font>
<div>&nbsp;</div>
</div>
<div>
<div dir="ltr">Hi,
<div><br>
</div>
<div>I believe you can do an offline upgrade (I have never tried upgrading from 3.7 to 7.7, so there might be issues).&nbsp;</div>
<div><br>
</div>
<div>If you want to do a fresh install, after installing the 7.7 packages, you can use the same old bricks to create the volumes. but you need to add force at the end of volume create command.</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Wed, Aug 26, 2020 at 5:27 AM liu zhijing &lt;<a href="mailto:jordielau@outlook.com">jordielau@outlook.com</a>&gt; wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
hi everyone!</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I found It is hard to upgrade&nbsp; from a gluster version from 3.7.6 to 7.7,so I remove all the install package and delete all config file except the brick, and I resinstall the glusterfs 7.7, then reconfig the same volume name but use a temp brick.after everything
 is ok ,then i stop the volume and replace the old brick , change the brick volume id as the new volume id , at last &nbsp;start the volume successfully.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
What I want to know is &nbsp;if this is the right way to upgrade .<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
</div>
________<br>
<br>
<br>
<br>
Community Meeting Calendar:<br>
<br>
Schedule -<br>
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC<br>
Bridge: <a href="https://bluejeans.com/441850968" rel="noreferrer" target="_blank">
https://bluejeans.com/441850968</a><br>
<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a><br>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="x_gmail_signature">
<div dir="ltr">
<div>Thanks,<br>
</div>
Sanju<br>
</div>
</div>
</div>
</body>
</html>