Re: [Gluster-users] Tools for the admin

2011-07-21 Thread Whit Blauvelt
On Thu, Jul 14, 2011 at 12:15:00AM -0400, Joe Landman wrote: Tool #2: scan_gluster.pl Joe, Thanks for this contributions. scan_gluster.pl seems to depend on File::ExtAttr, which when I try to install it from cpan to Perl v5.10.1 fails at the make step for reasons cpan leaves unclear. Is there

Re: [Gluster-users] Tools for the admin

2011-07-21 Thread Joe Landman
On 07/21/2011 05:07 PM, Whit Blauvelt wrote: On Thu, Jul 14, 2011 at 12:15:00AM -0400, Joe Landman wrote: Tool #2: scan_gluster.pl Joe, Thanks for this contributions. scan_gluster.pl seems to depend on File::ExtAttr, which when I try to install it from cpan to Perl v5.10.1 fails at the

Re: [Gluster-users] Tools for the admin

2011-07-20 Thread Vikas Gorur
I had a closer look at this. It is the output of gfid-mismatch causing the problem; paths are shown with a trailing colon as in GlusterFS log files. The cut -f1 -d: to extract the paths obviously removes all the colons. I'm sure there is an easy way to remove the trailing ':' from

Re: [Gluster-users] Tools for the admin

2011-07-18 Thread Mohit Anchlia
Or you can also use tr : to remove : On Sun, Jul 17, 2011 at 8:17 PM, Whit Blauvelt whit.glus...@transpect.com wrote: On Mon, Jul 18, 2011 at 03:48:11AM +0100, Dan Bretherton wrote: I had a closer look at this.  It is the output of gfid-mismatch causing the problem; paths are shown with a

Re: [Gluster-users] Tools for the admin

2011-07-18 Thread Vikas Gorur
On 17 July 2011 18:05, Dan Bretherton d.a.brether...@reading.ac.uk wrote: Dear Vikas- Thanks for provding these tools. Unfortunately I think I have found a problem with the procedure outlined in the README - I don't think it works for files with names containing the colon character. I

Re: [Gluster-users] Tools for the admin

2011-07-17 Thread Dan Bretherton
-- Message: 1 Date: Fri, 8 Jul 2011 15:54:19 -0700 From: Vikas Gorurvi...@gluster.com Subject: [Gluster-users] GFID mismatches and tools to fix them To: gluster-users@gluster.org Cc: gluster-de...@gluster.com Message-ID:

Re: [Gluster-users] Tools for the admin

2011-07-17 Thread Dan Bretherton
On 18/07/11 02:05, Dan Bretherton wrote: -- Message: 1 Date: Fri, 8 Jul 2011 15:54:19 -0700 From: Vikas Gorurvi...@gluster.com Subject: [Gluster-users] GFID mismatches and tools to fix them To: gluster-users@gluster.org Cc:

Re: [Gluster-users] Tools for the admin

2011-07-17 Thread Whit Blauvelt
On Mon, Jul 18, 2011 at 03:48:11AM +0100, Dan Bretherton wrote: I had a closer look at this. It is the output of gfid-mismatch causing the problem; paths are shown with a trailing colon as in GlusterFS log files. The cut -f1 -d: to extract the paths obviously removes all the colons. I'm

Re: [Gluster-users] Tools for the admin

2011-07-14 Thread Mohit Anchlia
Subject: [Gluster-users] Tools for the admin Hi folks   We have run into a number of problems with missing files (among other things).  So I went hunting for the files.  Along the way, I came up with some very simple sanity checks and tools for helping to correct situations.  They will not work

Re: [Gluster-users] Tools for the admin

2011-07-14 Thread Joe Landman
[gluster-users-boun...@gluster.org] on behalf of Joe Landman [land...@scalableinformatics.com] Sent: Wednesday, July 13, 2011 9:15 PM To: gluster-users Subject: [Gluster-users] Tools for the admin Hi folks We have run into a number of problems with missing files (among other things). So I went

Re: [Gluster-users] Tools for the admin

2011-07-14 Thread Joe Landman
On 07/14/2011 04:50 PM, Mohit Anchlia wrote: It will be good to have these monitoring capabilities rolled in Gluster so that one can identify issues with GFID, xattr mismatch etc proactively. Currently, there is no such feature. You find out the hardway when clients are impacted. Agreed. We

Re: [Gluster-users] Tools for the admin

2011-07-14 Thread Mohit Anchlia
Landman [land...@scalableinformatics.com] Sent: Wednesday, July 13, 2011 9:15 PM To: gluster-users Subject: [Gluster-users] Tools for the admin Hi folks We have run into a number of problems with missing files (among other things).  So I went hunting for the files.  Along the way, I came up

[Gluster-users] Tools for the admin

2011-07-13 Thread Joe Landman
Hi folks We have run into a number of problems with missing files (among other things). So I went hunting for the files. Along the way, I came up with some very simple sanity checks and tools for helping to correct situations. They will not work on striped data ... sorry. Sanity check