Re: [Gluster-users] Glusterfs upgrade to 3.5 without downtime

2015-01-19 Thread Sachidananda URS
Hi,

- Original Message -
 From: Marco Marino marino@gmail.com
 To: gluster-users@gluster.org
 Sent: Monday, January 19, 2015 2:04:53 PM
 Subject: [Gluster-users] Glusterfs upgrade to 3.5 without downtime
 
 Hi. I'm using glusterfs (replica 2) as a storage backend for openstack vm
 instances (ephemeral disks). Each compute node mounts glusterfs in
 /mnt/instances but i need to upgrade glusterfs from 3.4 to 3.5 (
 http://www.gluster.org/community/documentation/index.php/Upgrade_to_3.5 ).
 This guide tells me that a downtime is required, but in my case downtime
 means:
 1) shutoff all vm instances
 2) umount glusterfs from all compute nodes
 3) upgrade glusterfs
 4) mount glusterfs from all compute nodes
 5) restart all vm instances
 
 
 Is there a solution without downtime (also using replication 2 factor)? I do
 not want to shut off all instances


It is possible to do without downtime (Since you are upgrading from 3.4 to 3.5
it should not be very difficult.) but, you have to be extremely careful.
Downtime is suggested because it is very easy to get into an unusable state,
unless you are very careful.

Here is how you can do the upgrades:

On one of the nodes in the replica pair `pkill gluster' ... ensure none of the
gluster* processes are running. Upgrade that node to 3.5 and `service glusterd
start', ensure that all the processes are up.

Then heal the volume: `gluster volume heal volname full' ... and keep checking
the heal info to ensure that the data is fully healed. Once data is fully
healed... repeat the above process on another node.

Later you can upgrade your clients at your convenience.

Hope it helps.

-sac
___
Gluster-users mailing list
Gluster-users@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-users


[Gluster-users] gluster verbosity

2015-01-19 Thread Nathanaƫl Blanchet

Hello,

Most of my gluster mounting points (in replica mode) are  full of 
sequential directories (a0, a1, etc...) in .glusterfs. Those data 
usually reach several GB and finally block the volume.
Are those data usefull and is there a way to reduce them, maybe with 
less verbosity?


Thank you.
___
Gluster-users mailing list
Gluster-users@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-users


[Gluster-users] gluster verbosity

2015-01-19 Thread Nathanaƫl Blanchet
Hello, 

Most of my gluster mounting points (in replica mode) are full of sequential 
directories (a0, a1, etc...) in .glusterfs. Those data usually reach several GB 
and finally block the volume. 
Are those data usefull and is there a way to reduce them, maybe with less 
verbosity? 

Thank you. 
___
Gluster-users mailing list
Gluster-users@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-users

[Gluster-users] Cannot move or rename files on 3.6.1 + Disperse Vol

2015-01-19 Thread RASTELLI Alessandro
Hi,
with GlusterFS 3.6.1 and dispersed volumes I can't move or rename files.
i.e. mkdir test, mv test test2 gives this error:

[2015-01-19 11:23:47.464429] I [dht-common.c:1822:dht_lookup_cbk] 
0-storage-recorder-dht: Entry /varie/test2 missing on subvol 
storage-recorder-disperse-1
[2015-01-19 11:23:47.466721] I [dht-common.c:1822:dht_lookup_cbk] 
0-storage-recorder-dht: Entry /varie/test2 missing on subvol 
storage-recorder-disperse-1
[2015-01-19 11:23:47.468021] I [dht-common.c:1822:dht_lookup_cbk] 
0-storage-recorder-dht: Entry /varie/test2 missing on subvol 
storage-recorder-disperse-1
[2015-01-19 11:23:47.468813] I [dht-rename.c:1344:dht_rename] 
0-storage-recorder-dht: renaming /varie/test 
(hash=storage-recorder-disperse-1/cache=storage-recorder-disperse-0) = 
/varie/test2 (hash=storage-recorder-disperse-1/cache=nul)
[2015-01-19 11:23:47.468860] E [ec-helpers.c:346:ec_loc_parent] 
0-storage-recorder-disperse-1: Invalid loc
[2015-01-19 11:23:47.469349] I [MSGID: 109030] 
[dht-rename.c:119:dht_rename_hashed_dir_cbk] 0-storage-recorder-dht: rename 
/varie/test - /varie/test2 on storage-recorder-disperse-1 failed, (gfid = 
78545b91-87d0-4bb1-9fe9-d9d95a4299bf)  [Invalid argument]
[2015-01-19 11:23:47.469400] W [fuse-bridge.c:1755:fuse_rename_cbk] 
0-glusterfs-fuse: 89604620: /varie/test - /varie/test2 = -1 (Invalid argument)

Can you please indicate how to fix?

Thanks
Alessandro
___
Gluster-users mailing list
Gluster-users@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-users