glusterzhxue ???? glusterzhxue ????? 2013-01-11 12:48 ???? gluster-users-request ??? gluster-devel-request ??? Red Hat | Red Hat Storage Server | Scalable, flexible software-only storage Hi, We met a stripe problem. The problem was discussed at http://comments.gmane.org/gmane.comp.file-systems.gluster.user/9413 . We want to set coalesce on, but failed as follows: [root at gluster001 ~]# gluster volume set test-volume2 stripe-coalesce on option : stripe-coalesce does not exist Did you mean stripe-block-size? Set volume unsuccessful [root at gluster001 ~]# gluster volume set test-volume2 cluster.stripe-coalesce on option : cluster.stripe-coalesce does not exist Did you mean cluster.stripe-block-size? Set volume unsuccessful Could anyone help me? The underlying file is xfs, and our gluster version is as follows: [root at gluster001 ~]# gluster --version glusterfs 3.3.0 built on May 30 2012 11:00:05 Repository revision: git://git.gluster.com/glusterfs.git Copyright (c) 2006-2011 Gluster Inc. <http://www.gluster.com> GlusterFS comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of GlusterFS under the terms of the GNU General Public License. Thanks Zhxue -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20130111/2ad522a7/attachment.html>
I recommand you not use stripe. I didn't make a fully test and didn't investige it but from my experience there's no need to use stripe. Considering the following: 1 performance (When I test it performance is not good for stripe) 2 data restore, when data loss or spit-brain happens, without stripe you can restore file from backend server very easy I didn't find any use case that stripe shoule be involed. Just for your consideration. 2013/1/11, glusterzhxue <glusterzhxue at 163.com>:> > > > > > glusterzhxue > > ???? glusterzhxue > ????? 2013-01-11 12:48 > ???? gluster-users-request > ??? gluster-devel-request > ??? Red Hat | Red Hat Storage Server | Scalable, flexible software-only > storage > Hi, > > We met a stripe problem. The problem was discussed at > http://comments.gmane.org/gmane.comp.file-systems.gluster.user/9413 . We > want to > set coalesce on, but failed as follows: > > [root at gluster001 ~]# gluster volume set test-volume2 stripe-coalesce on > option : stripe-coalesce does not exist > Did you mean stripe-block-size? > Set volume unsuccessful > [root at gluster001 ~]# gluster volume set test-volume2 > cluster.stripe-coalesce on > option : cluster.stripe-coalesce does not exist > Did you mean cluster.stripe-block-size? > Set volume unsuccessful > > Could anyone help me? The underlying file is xfs, and our gluster version is > as follows: > > [root at gluster001 ~]# gluster --version > glusterfs 3.3.0 built on May 30 2012 11:00:05 > Repository revision: git://git.gluster.com/glusterfs.git > Copyright (c) 2006-2011 Gluster Inc. <http://www.gluster.com> > GlusterFS comes with ABSOLUTELY NO WARRANTY. > You may redistribute copies of GlusterFS under the terms of the GNU General > Public License. > > Thanks > > > > > Zhxue-- ???
On 01/11/2013 12:05 AM, glusterzhxue wrote:> We met a stripe problem. The problem was discussed at > http://comments.gmane.org/gmane.comp.file-systems.gluster.user/9413 . We > want to > set coalesce on, but failed as follows: > [root at gluster001 ~]# gluster volume set test-volume2 stripe-coalesce on > option : stripe-coalesce does not existcluster.stripe-coalesce is the option you need to set. `gluster volume set test-volume2 cluster.stripe-coalesce on` -- Kaleb
this option is not yet backported to 3.3.x branch IMO. if coalesce option is used xfs prealloc issue and perf issue with kernel read aheads will be solved. -Amar "Kaleb S. KEITHLEY" <kkeithle at redhat.com> wrote: On 01/11/2013 12:05 AM, glusterzhxue wrote:> We met a stripe problem. The problem was discussed at > http://comments.gmane.org/gmane.comp.file-systems.gluster.user/9413 . We > want to > set coalesce on, but failed as follows: > [root at gluster001 ~]# gluster volume set test-volume2 stripe-coalesce on > option : stripe-coalesce does not existcluster.stripe-coalesce is the option you need to set. `gluster volume set test-volume2 cluster.stripe-coalesce on` -- Kaleb _______________________________________________ Gluster-users mailing list Gluster-users at gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-users
Sorry about the confusion kaleb, then the patch is present in 3.3.1 - Amar "Kaleb S. KEITHLEY" <kkeithle at redhat.com> wrote: On 01/11/2013 09:04 AM, Amar Tumballi wrote:> this option is not yet backported to 3.3.x branch IMO.It sure looks like it's in 3.3.x to me. Why do you think it's not in 3.3.x? My 3.3.1 install from community rpms accepts the command. Untarring the 3.3.1 source I see it in .../xlators/mgmt/glusterd/src/glusterd-volgen.c and .../xlators/cluster/stripe/src/stripe*.c Is there something I'm missing? -- Kaleb _______________________________________________ Gluster-users mailing list Gluster-users at gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-users