[Gluster-users] glusterfs 3.6.2: gluster volume add-brick: wronp op-version

Sander Zijlstra sander.zijlstra at surfsara.nl
Tue Apr 14 12:05:53 UTC 2015


LS,

My cluster reads "operating-version=2” on all nodes, and half of my nodes are fresh installs and the other halve I recently upgraded from 3.4 to 3.6.2.

Does this mean that GlusterFS will not use the 3.6 versions of commands?

Adding bricks from my new nodes to the volume already configured on the upgraded machines worked without a problem and currently the volume is still rebalancing.

I’m about to do “remove brick” this weekend and I definitely need the data to be moved to the new bricks rather than the bricks be simply removed from the volume so will this go ok even though the op-version is 2??

Met vriendelijke groet / kind regards,

Sander Zijlstra

| Linux Engineer | SURFsara | Science Park 140 | 1098XG Amsterdam | T +31 (0)6 43 99 12 47 | sander.zijlstra at surfsara.nl | www.surfsara.nl |

Regular day off on friday

> On 14 Apr 2015, at 13:51, Kaushal M <kshlmster at gmail.com> wrote:
> 
> You can get the current op-version by looking at
> /var/lib/glusterd/glusterd.info . GlusterFS-3.6 has no way to get it
> via a command.
> 
> But you can set the via a command. Do `gluster volume set all
> op-version 30600` to set the op-version of the cluster to 30600, which
> is required for add-brick to work on 3.6.
> 
> ~kaushal
> 
> On Tue, Apr 14, 2015 at 5:16 PM, Gregor Burck <gregor at aeppelbroe.de> wrote:
>> Hi,
>>> 
>>> I don't understand what op-version stand for?
>> 
>> OK I find the documentation:
>> http://www.gluster.org/community/documentation/index.php/Features/Opversion
>> 
>> I'm not sure If I tried to increase the op-version right:
>> 
>> Im probe all exist nodes again? I still got the error message.
>> 
>> In the existing cluster I've three nodes:
>> 
>> edgf001, edgf002 and edgf003:
>> 
>> gluster volume info samba1:
>> 
>> Volume Name: samba1
>> Type: Replicate
>> Volume ID: 4283053e-f50b-41c0-8b77-aa9985649b66
>> Status: Started
>> Number of Bricks: 1 x 3 = 3
>> Transport-type: tcp
>> Bricks:
>> Brick1: edgf001:/export/samba1
>> Brick2: edgf002:/export/samba1
>> Brick3: edgf003:/export/samba1
>> 
>> I installed the nodes as 3.5.X and made an upgrade sucessfull on 3.6.2
>> an all nodes.
>> 
>> Where could I get the op-version from node?
>> 
>> 
>> 
>> Bye
>> 
>> Gregor
>> 
>> _______________________________________________
>> Gluster-users mailing list
>> Gluster-users at gluster.org
>> http://www.gluster.org/mailman/listinfo/gluster-users
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-users

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150414/c39d284c/attachment.sig>


More information about the Gluster-users mailing list