[Gluster-users] Upgrade 3.2.7 to 3.4.2

Kent Nasveschuk knasveschuk at mbl.edu
Thu Mar 13 20:19:40 UTC 2014


I followed those directions deleting the trusted.gfid and trusted.glusterfs.volume-id. I still was not able to set the attribute. This is what I ended up doing correct me if I am wrong. Luckily this is not a production volume, contains backups 


This volume had 4 bricks, distributed volume. I removed 3 bricks 
gluster>volume remove-brick data02 ip1:/brick1 
gluster>volume remove-brick data02 ip1:/brick2 
gluster>volume remove-brick data02 ip2:/brick3 

wouldn't let me remove the last brick 

force added the 3 bricks back 
gluster>volume add-brick data02 ip1:/brick1 force 
gluster>volume add-brick data02 ip1:/brick2 force 
gluster>volume add-brick data02 ip2:/brick3 force 

then remove the brick that I couldn't 
gluster>volume remove-brick data02 ip2:/brick4 

add it back 
gluster>volume add-brick data02 ip2:/brick4 force 

check that the bricks now have the extended attribute 
getfattr -n trusted.glusterfs.volume-id /brick1 
# file: brick1 
trusted.glusterfs.volume-id=0skluoKzppQx6hE+md8/oVlA== 

volume started now no problem 


----- Original Message -----

From: "Bernhard Glomm" <bernhard.glomm at ecologic.eu> 
To: knasveschuk at mbl.edu, gluster-users at gluster.org 
Sent: Thursday, March 13, 2014 1:28:21 PM 
Subject: Re: [Gluster-users] Upgrade 3.2.7 to 3.4.2 

Did u see this? 

http://joejulian.name/blog/glusterfs-path-or-a-prefix-of-it-is-already-part-of-a-volume/ 


Am 13.03.2014 17:39:10, schrieb Kent Nasveschuk: 



CentOS 6.5, repo glusterfs-epel.repo 

I used both of these as guide to upgrade 
http://vbellur.wordpress.com/2013/07/15/upgrading-to-glusterfs-3-4/ 
http://vbellur.wordpress.com/2012/05/31/upgrading-to-glusterfs-3-3 

My problem seems to be with trusted.glusterfs.volume-id that the 3.2.7 version doesn't use 

I can't seem to set the hex value using any recommendations from previous posts. There seems to be a bug with this. 

For each brick: 
ex. setfattr -n trusted.glusterfs.volume-id -v 0x925ba82b-3a69-431e-a113-e99df3fa1594 /data02a (and the others) 

The above doesn't work "bad input encoding" also \0x 

I can only get it to take ascii, at which point I can't start the volume, complains: "Failed to get extended attribute trusted.glusterfs.volume-id for ...... Numerical result out of range" 

Is there a workaround for this? Delete volume add bricks back? Any help would be appreciated. 



Kent 

_______________________________________________ 
Gluster-users mailing list 
Gluster-users at gluster.org 
http://supercolony.gluster.org/mailman/listinfo/gluster-users 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140313/09e98a2d/attachment.html>


More information about the Gluster-users mailing list