Re: [Gluster-users] files got sticky permissions T--------- after gluster volume rebalance

2013-08-22 Thread
If you change permissions on a 0 length mode 1000 file with trusted.dht.linkto attributes set, you'll cause all sorts of issues. If you /need/ to do something with those files, just delete them. On 08/22/2013 03:53 PM, 符永涛 wrote: Sure there's a bug about fd leak during rebalance. It has been

Re: [Gluster-users] files got sticky permissions T--------- after gluster volume rebalance

2013-08-21 Thread
To diagnose your client issue, look in your client log. 符永涛 yongta...@gmail.com wrote: Dear gluster experts, We're running glusterfs 3.3 and we have met file permission probelems after gluster volume rebalance. Files got stick permissions T- after rebalance which break our client

[Gluster-users] files got sticky permissions T--------- after gluster volume rebalance

2013-08-20 Thread
Dear gluster experts, We're running glusterfs 3.3 and we have met file permission probelems after gluster volume rebalance. Files got stick permissions T- after rebalance which break our client normal fops unexpectedly. Any one known this issue? Thank you for your help. -- 符永涛

[Gluster-users] Gluster volume quota limit-usage crashes glusterd

2013-07-23 Thread
in event_dispatch_epoll_handler (event_pool=0x2e64e50) at event.c:785 #19 event_dispatch_epoll (event_pool=0x2e64e50) at event.c:847 #20 0x00407420 in main () (gdb) Any one known this issue? Thank you very much. -- 符永涛 ___ Gluster-users mailing list

Re: [Gluster-users] Gluster volume quota limit-usage crashes glusterd

2013-07-23 Thread
', len = 8, data = 0x2fc7400 /:300TB, refcount = 1, lock = 1} (gdb) p *pair value has been optimized out (gdb) p *pair-key value has been optimized out (gdb) p *pair-value Any one known this issue? Thank you. 2013/7/23 符永涛 yongta...@gmail.com Dear glusterfs experts, Recently we have encountered

Re: [Gluster-users] Gluster Self Heal

2013-07-09 Thread
://supercolony.gluster.**org/mailman/listinfo/gluster-**usershttp://supercolony.gluster.org/mailman/listinfo/gluster-users -- 符永涛 ___ Gluster-users mailing list Gluster-users@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-users

Re: [Gluster-users] segfault in glustershd

2013-04-08 Thread
://supercolony.gluster.org/mailman/listinfo/gluster-users -- 符永涛 ___ Gluster-users mailing list Gluster-users@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-users

[Gluster-users] glusterfs 3.3 self-heal daemon crash and can't be started

2013-03-14 Thread
] - Any none know how to fix it. Currently the self-heal daemon can't be started. -- 符永涛 ___ Gluster-users mailing list Gluster-users@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-users

Re: [Gluster-users] glusterfs 3.3 self-heal daemon crash and can't be started

2013-03-14 Thread
if there're a lot of volumes on the server and the server volume file is larger than 128k. on the line 1629 memcpy (oldvolfile, rsp.spec, size); It should be a bug. FYI Thank you very much. 2013/3/14, Vijay Bellur vbel...@redhat.com: On 03/14/2013 02:08 PM, 符永涛 wrote: Dear glusterfs experts

Re: [Gluster-users] glusterfs 3.3 self-heal daemon crash and can't be started

2013-03-14 Thread
So it has nothing to do with rebalance. 2013/3/14, 符永涛 yongta...@gmail.com: I have fix this bug in our local glusterfs 3.3 repo, the root cause is in glusterfs 3.3 glusterfsd/src/glusterfsd-mgmt.c line 1394 static char oldvolfile[131072]; so if the volume file(/var/lib/glusterd/glustershd

Re: [Gluster-users] glusterfs 3.3 self-heal daemon crash and can't be started

2013-03-14 Thread
Hi Vijay Bellur, I just change static char oldvolfile[131072] to a larger value, please correct me if there're any side effect of it. Thank you very much. 2013/3/14, 符永涛 yongta...@gmail.com: So it has nothing to do with rebalance. 2013/3/14, 符永涛 yongta...@gmail.com: I have fix this bug in our

Re: [Gluster-users] help, avoid glusterfs client from occuping rsync port 873

2013-03-12 Thread
protocol/client xlator 4 mount the volume by customized volume file above /usr/sbin/glusterfs --volfile=volume file --volfile-id=volume mountpoint Then the glusterfs client will use local port which is larger than 1024 and the port conflicts issue can be resolved. 2013/3/12, 符永涛 yongta...@gmail.com

Re: [Gluster-users] help, avoid glusterfs client from occuping rsync port 873

2013-03-12 Thread
Gives above steps are too complex and it's not easy to maintain volume files especially if the volume backend brick changes. I intend to make it a patch and only make it configurable throw mount option on the client side. Any body agree with me? Thank you. 2013/3/12, 符永涛 yongta...@gmail.com

Re: [Gluster-users] help, avoid glusterfs client from occuping rsync port 873

2013-03-12 Thread
it configurable throw mount option on the client side. Any body agree with me? Thank you. 2013/3/12, 符永涛 yongta...@gmail.com: Finally I find the answer though it's not very convinient but doable. 1 sudo gluster volume set volume server.allow-insecure on 2 get the volume file from glusterfs

[Gluster-users] help, avoid glusterfs client from occuping rsync port 873

2013-03-11 Thread
Dear gluster experts, I recently run into an problem related to glusterfs client process occupy rsync port 873. Since there're serveral volumes in our client machines the port conflicts may occur. Is ther any easy way to solve this problem? Thank you very much. -- 符永涛

Re: [Gluster-users] help, avoid glusterfs client from occuping rsync port 873

2013-03-11 Thread
dear gluster experts, any suggestions? Thank you very much. 2013/3/11, 符永涛 yongta...@gmail.com: Dear gluster experts, I recently run into an problem related to glusterfs client process occupy rsync port 873. Since there're serveral volumes in our client machines the port conflicts may occur

[Gluster-users] help posix_fallocate too slow on glusterfs client

2013-02-22 Thread
-test-dev004.qiyi.virtual:/mnt/xfsd/volume_e -- 符永涛 ___ Gluster-users mailing list Gluster-users@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-users

[Gluster-users] volume status report brick port NA while online status is Y after restore brick

2013-02-05 Thread
Dear gluster experts, Recently I have restored one brick of my volume from hardware failure and everything works fine except that the volume status command report the resotred brick port as NA while the brick online statis is Y. What's wrong? Thank you. -- 符永涛

Re: [Gluster-users] gluster stripe at xfs

2013-01-11 Thread
-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 -- 符永涛 ___ Gluster-users mailing list Gluster-users

Re: [Gluster-users] State: Peer Rejected (Connected)

2013-01-11 Thread
sync I can not do it, or I will lose all my data! The most funny thing I found, even if the peer status is rejected, but I can mount the volume from the old host. Any ideas ! -- Yang Orange Key: 35745318S1 -- 符永涛 ___ Gluster-users mailing

Re: [Gluster-users] State: Peer Rejected (Connected)

2013-01-11 Thread
Uuid: 184a81f4-ff0f-48d6-adb8-798b98957b1a State: Accepted peer request (Connected) I still can not put the server in the truested pool ! -- Yang Orange Key: 35745318S1 On Fri, Jan 11, 2013 at 5:22 AM, 符永涛 yongta...@gmail.com wrote: Reinstall gluster server or upgrade is a dangerous task

Re: [Gluster-users] help me, glusterfs 3.3 doen't support fopen-keep-cache?

2013-01-09 Thread
support when fopen-keep-cache enabled Brian 发自我的 iPhone 在 2013-1-8,23:21,Brian Foster bfos...@redhat.com 写道: On 01/08/2013 09:49 AM, 符永涛 wrote: Dear gluster experts, I search through glusterfs 3.3 source tree and can't find any fuse open option FOPEN_KEEP_CACHE related code. Does

Re: [Gluster-users] help me, glusterfs 3.3 doen't support fopen-keep-cache?

2013-01-09 Thread
Hi Brian, Thank you and you have helped me a lot! 2013/1/9, Brian Foster bfos...@redhat.com: On 01/09/2013 08:06 AM, 符永涛 wrote: Hi Brian, I check the review of c1fe8b7fd7 and find there's only one line code change. I change accordingly in glusterfs3.3 and find page cache works which boost

[Gluster-users] help me, glusterfs 3.3 doen't support fopen-keep-cache?

2013-01-08 Thread
support page cache? 2 if not what is the best practice to improve performance if a file is frequently accessed by read especially through random access fops. 3 does glusterfs 3.4 support page cache, if supported how to enable it through mount option? Thank you very much. -- 符永涛

Re: [Gluster-users] help, glusterfs replica can't handle brick filesystem crash and shutdown

2013-01-04 Thread
extended attribute. (For example create a volume on /dev/shm) However I still hope glusterfs replica to handle this kind if failure since this is what it supposed to do. (Fault tolerance,for single hardware failure) 2013/1/4, Brian Foster bfos...@redhat.com: On 01/04/2013 01:00 AM, 符永涛 wrote: Dear

Re: [Gluster-users] Turning GlusterFS into something else (was Re: how well will this work)

2012-12-31 Thread
___ Gluster-users mailing list Gluster-users@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-users -- 符永涛 ___ Gluster-users mailing list Gluster-users@gluster.org http

Re: [Gluster-users] gluster volume quota volume limit-usage randomly fails (Connection failed. Please check if gluster daemon is operational.)

2012-12-20 Thread
, Request received from non- privileged port. Failing request); rpcsvc_request_destroy (req); return -1; } why this happen sometimes? Can I just bypass this check by hard-code? 2012/12/20, 符永涛 yongta

Re: [Gluster-users] gluster volume quota volume limit-usage randomly fails (Connection failed. Please check if gluster daemon is operational.)

2012-12-20 Thread
the code is in rpcsvc.c, can someone helps to explain it? 2012/12/20, 符永涛 yongta...@gmail.com: looks like sometimes the request fall into the following condition and the cli fails if (0 == svc-allow_insecure unprivileged !actor-unprivileged) { /* Non

Re: [Gluster-users] gluster command Request received from non-privileged port

2012-12-20 Thread
Just find out the solution. It it not documented, but you add one line in /etc/glusterfs/glusterd.vol option rpc-auth-allow-insecure on then the error no longer occurs 2012/12/20, 符永涛 yongta...@gmail.com: Dear gluster experts, Recently I find if I run some normal gluster commands like gluster

[Gluster-users] gluster command Request received from non-privileged port

2012-12-19 Thread
this happend? Thank you. -- 符永涛 ___ Gluster-users mailing list Gluster-users@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-users

[Gluster-users] gluster volume quota volume limit-usage randomly fails (Connection failed. Please check if gluster daemon is operational.)

2012-12-19 Thread
and repeat to set limit-usage. gluster volume quota mytestvolume limit-usage / 5GB repeat the above command and it fails randomly. Any sugguestions? -- 符永涛 ___ Gluster-users mailing list Gluster-users@gluster.org http://supercolony.gluster.org/mailman

[Gluster-users] does libgfapi and fuse mount performance matches?

2012-12-09 Thread
Dear gluster experts, I recently want to use jna to bind libgfapi to java. And I have one question. Does libgfapi and fuse mount performance match? The performance translators works for libgfapi too? Thank you very much. -- 符永涛 ___ Gluster-users

Re: [Gluster-users] Gluster swift

2012-12-08 Thread
___ Gluster-users mailing list Gluster-users@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-users -- 符永涛 ___ Gluster-users mailing list Gluster-users@gluster.org http://supercolony.gluster.org/mailman

[Gluster-users] what is the best way to check glusterfs volume mount status from client side

2012-10-16 Thread
Dear gluster experts, What is the best way to check glusterfs volume mount status from client side? Thank you. -- 符永涛 ___ Gluster-users mailing list Gluster-users@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-users

[Gluster-users] does ext4 issue fixed in glusterfs 3.3.1

2012-10-16 Thread
Drear gluster experts, I want to know if the ext4 issue have been fixed in glusterfs 3.3.1? Thank you. -- 符永涛 ___ Gluster-users mailing list Gluster-users@gluster.org http://supercolony.gluster.org/mailman/listinfo/gluster-users

[Gluster-users] quota severe performace issue help

2012-09-28 Thread
records in 1000+0 records out 1048576000 bytes (1.0 GB) copied, 4.86384 s, 216 MB/s __ Thank you! -- 符永涛 ___ Gluster-users mailing list Gluster-users@gluster.org http://gluster.org/cgi

Re: [Gluster-users] quota severe performace issue help

2012-09-28 Thread
(2.1 GB) copied, 10.4415 s, 201 MB/s 2012/9/29 符永涛 yongta...@gmail.com Dear gluster experts, We have encountered a severe performance issue related to quota feature of gluster. My underlying fs is lvm with xfs format. The problem is if quota is enabled the io performance is about 26MB/s

[Gluster-users] any opensource glusterfs cluster monitor portal??

2012-09-14 Thread
to monitor glusterfs cluster. (BTW glusterfs management console doesn't meet our requirements) Thank you very much. -- 符永涛 ___ Gluster-users mailing list Gluster-users@gluster.org http://gluster.org/cgi-bin/mailman/listinfo/gluster-users

Re: [Gluster-users] any opensource glusterfs cluster monitor portal??

2012-09-14 Thread
Just a webportal to diaplay glusterfs vluster status, for example peer, volume, brick , connected clients etc. email notification interface 2012/9/15 Lonni J Friedman netll...@gmail.com On Fri, Sep 14, 2012 at 5:26 PM, 符永涛 yongta...@gmail.com wrote: Dear gluster experts, We're now

[Gluster-users] how to monitor glusterfs mounted client

2012-09-13 Thread
Dear gluster experts, I want to ask a question about how to monitor active mounted client for glusterfs. Since I want to known how many clients mount a volume and I also want to known the clients hostname/ip. I walk through the glusterfs admin guide and don't know how. Any one helps? -- Yongtao

Re: [Gluster-users] how to monitor glusterfs mounted client

2012-09-13 Thread
Hi Filip, I see, thank you very much:) 2012/9/13 Filip Pytloun filip.pytl...@gooddata.com Hello, You can use gluster volume status volumeName clients command to get list of clients per-brick. This will give you IP addresses, ports and read/written bytes. Filip 2012/9/13 符永涛 yongta

Re: [Gluster-users] libgfapi directory operation supported?

2012-09-11 Thread
Hi Amar, Thank you for sharing the info. We're really expecting it. 2012/9/11 Amar Tumballi ama...@redhat.com On 09/10/2012 03:01 PM, 符永涛 wrote: Dear gluster experts, I'm trying to use glusterfs libgfapi to write glusterfs application. But I fail to find any directory related functions

[Gluster-users] libgfapi directory operation supported?

2012-09-10 Thread
Dear gluster experts, I'm trying to use glusterfs libgfapi to write glusterfs application. But I fail to find any directory related functions in libgfapi. Any one gives me a clue? Thank you very much. -- 符永涛 ___ Gluster-users mailing list Gluster

[Gluster-users] Peer Rejected (Connected) how to resolve

2012-08-23 Thread
the fault peer won't see the volume. Any one known how to recover the fault peer? Thank you very much. -- 符永涛 ___ Gluster-users mailing list Gluster-users@gluster.org http://gluster.org/cgi-bin/mailman/listinfo/gluster-users

[Gluster-users] nginx using glusterfs volume issue, can't read concurrently

2012-08-17 Thread
volume is fine. My glusterfs version is 3.2.5. Any one known what's the root cause? Thank you very much! -- 符永涛 ___ Gluster-users mailing list Gluster-users@gluster.org http://gluster.org/cgi-bin/mailman/listinfo/gluster-users

Re: [Gluster-users] nginx using glusterfs volume issue, can't read concurrently

2012-08-17 Thread
It occurs on redhat 6.3 with kernel 2.6.32-279.el6.x86_64, but nginx works fine on glusterfs volume on ubuntu 12. Any suggestions? 2012/8/17 符永涛 yongta...@gmail.com Dear experts, Currently I encountered an issue about nginx using glusterfs volume as webroot. It ends up with nginx can't read

Re: [Gluster-users] nginx using glusterfs volume issue, can't read concurrently

2012-08-17 Thread
Sorry to tell you it is not related to ubuntu, nginx not working on glusterfs volume both on redhat and ubuntu. 2012/8/17 符永涛 yongta...@gmail.com It occurs on redhat 6.3 with kernel 2.6.32-279.el6.x86_64, but nginx works fine on glusterfs volume on ubuntu 12. Any suggestions? 2012/8/17 符永涛

Re: [Gluster-users] glusterfs3.3 gluster volume set help-xml error xml libraries not present issue

2012-08-17 Thread
work_process is 1). Thank you. 2012/8/17 Kaleb S. KEITHLEY kkeit...@redhat.com On 08/16/2012 09:05 PM, 符永涛 wrote: Hi James, Thank you very much for your help. But I installed glusterfs from rpm and I'm considering to install glusterfs from source since I use glusterfs management gateway I

Re: [Gluster-users] nginx using glusterfs volume issue, can't read concurrently

2012-08-17 Thread
Can somebody provide some insight on this issue? Thank you very much. 2012/8/17 符永涛 yongta...@gmail.com Sorry to tell you it is not related to ubuntu, nginx not working on glusterfs volume both on redhat and ubuntu. 2012/8/17 符永涛 yongta...@gmail.com It occurs on redhat 6.3 with kernel

Re: [Gluster-users] nginx using glusterfs volume issue, can't read concurrently

2012-08-17 Thread
Seems a performance issue with nginx serving large file. I configure nginx with the following options and it's much better now. I'll make more test and get back updated. sendfileoff; output_buffers 1 1024k; aio on; directio 1024; 2012/8/18 符永涛 yongta...@gmail.com Can somebody

[Gluster-users] glusterfs3.3 gluster volume set help-xml error xml libraries not present issue

2012-08-16 Thread
.x86_64 libxml2-static-2.7.6-4.el6_2.4.x86_64 libxml2-2.7.6-4.el6_2.4.i686 libxml2-2.7.6-4.el6_2.4.x86_64 libxml2-devel-2.7.6-4.el6_2.4.x86_64 perl-libxml-perl-0.08-10.el6.noarch libxml2-devel-2.7.6-4.el6_2.4.i686 Thank you. -- 符永涛 ___ Gluster-users mailing

Re: [Gluster-users] glusterfs3.3 gluster volume set help-xml error xml libraries not present issue

2012-08-16 Thread
Hi James, Thank you very much for your help. But I installed glusterfs from rpm and I'm considering to install glusterfs from source since I use glusterfs management gateway I may need to resolve this issue. Thank you. 2012/8/17 James purplei...@gmail.com On Thu, 2012-08-16 at 16:37 +0800, 符永涛

[Gluster-users] Fwd: glusterfs3.3 gluster volume set help-xml error xml libraries not present issue

2012-08-16 Thread
Hi James, I reintall glusterfs from source rpm with libxml2 installed and the issue is resolved. Now glusterfs and glusterfs management console both works. Thank you for your help. 2012/8/17 符永涛 yongta...@gmail.com Hi James, The gluster management gateway use the command to retrieve Volume

Re: [Gluster-users] question about list directory missing files or hang

2012-08-14 Thread
...@megahappy.net can you post more details? like gluster volume info, gluster peer status, output of mount, and df ? On Mon, Aug 13, 2012 at 10:42 PM, 符永涛 yongta...@gmail.com wrote: Hi all, Any one helps? More information about this issue. for example if i create abc.zip by touch abc.zip

Re: [Gluster-users] question about list directory missing files or hang

2012-08-14 Thread
can downgrade your kernel to before they backported the change (not sure which version that is though), or reformat your bricks xfs. On 08/14/2012 12:15 AM, 符永涛 wrote: Hi Bryan, Thank you for your support. Just find out glusterfs 3.2 and 3.3 both have this issue. My server is redhat 6.3

[Gluster-users] question about list directory missing files or hang

2012-08-13 Thread
exists. Some times the ls command hangs. Any one know what's the problem is? Thank you very much. -- 符永涛 ___ Gluster-users mailing list Gluster-users@gluster.org http://gluster.org/cgi-bin/mailman/listinfo/gluster-users

Re: [Gluster-users] question about list directory missing files or hang

2012-08-13 Thread
. Thank you. 2012/8/14 符永涛 yongta...@gmail.com Hi Gluster experts, I'm new to glusterfs and I have encountered a problem about list directory of glusters 3.3. I have a volume configuration of 3(distribute) * 2(replica). When write file on the glusterfs client mount directory some