Craig,
I have some questions about these instructions. First is a conflict with the 
documentation on the first 2 commands. The web page: 
http://www.gluster.com/community/documentation/index.php/Gluster_3.1:_Setting_Volume_Options
describes those options as having a parameter of yes/no, not on/off. Do both 
work or just one? The CLI accepts both and sets the option in the vol files 
accordingly, but I haven't seen any results yet. 
I'm also curious about the setfattr command, which may be the reason I'm not 
getting any results yet. You don't specify, but I'm guessing that command needs 
to be run on a client. I'm also guessing that /mnt/client2 is supposed to be 
the mount point where the gluster file system is mounted. You say that "The" 
error message reported by setfattr can be ignored. I get the error message:
setfattr: /mnt/gluster-test: Operation not supported
Then after that getfattr shows no attributes on the mount point that I 
specified. Is that the "The" error message that can be ignored? 
Finally can you be more specific about where we should see the stats and is it 
documented anywhere what they mean or is it pretty self explanatory when they 
are seen? Should they be in /tmp/<dummy_file>, if not what is that file for, or 
in /var/log/glusterfs/ on the client?

Thanks,
Mike Robbert

On Nov 5, 2010, at 1:20 AM, Craig Carl wrote:

> Matt - 
> We have Gluster top and some other monitoring tools in the works, in the 
> meantime the Gluster profiler in 3.1 can get you some stats - 
> 
> #gluster volume set <volname> diagnostics.latency-measurement on 
> #gluster volume set <volname> diagnostics.dump-fd-stats on 
> #gluster volume start <volname> 
> #setfattr -n glusterfs.io.stats.dump -v /tmp/<dummy_file> /mnt/client2 
> 
> The error message reported by setfattr can be ignored. Latency and fd-stats 
> data would be present in the respective log files of the glusterfs processes. 
> 
> 
> 
> 
> Thanks, 
> Craig 
> 
> --> 
> Craig Carl 
> 
> 
> 
> Gluster, Inc. 
> Cell - (408) 829-9953 (California, USA) 
> Gtalk - craig.c...@gmail.com 
> 
> 
> From: "Matt Hodson" <ma...@geospiza.com> 
> To: gluster-users@gluster.org 
> Sent: Thursday, November 4, 2010 11:32:31 AM 
> Subject: [Gluster-users] monitor connections and activity? 
> 
> Is there a way using gluster to monitor number of mounts to a gluster 
> cluster and any current activity? 
> 
> 
> ------- 
> Matt Hodson 
> Scientific Customer Support, Geospiza 
> (206) 633-4403, Ext. 111 
> http://www.geospiza.com 
> 
> 
> 
> 
> 
> _______________________________________________ 
> Gluster-users mailing list 
> Gluster-users@gluster.org 
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users 
> <ATT00002..txt>

_______________________________________________
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users

Reply via email to