[Gluster-users] Notify when reaching quota limit

2011-11-21 Thread Thai. Ngo Bao
Hi guys,

What do you suggest if I would like to give our users some notification (via 
email) about their reaching quota limits?

My current approach is to get periodically the output of "gluster volume quota 
vol_name list" and send to users but it is not efficient and causes some impact 
on performance of our system.

Any insight into this is much appreciated.

Thanks,
~Thai
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] gfid self-heal in 3.2.5

2011-11-21 Thread Pranith Kumar K

On 11/22/2011 07:47 AM, Harshavardhana wrote:

When the same file has mis-match in gfid self-heal looksup the parent
directory and see which one is the source (based on the entry xattrs of the
directory), then it will retain the file in that directory removes the other
file and does the self-heal of the file.

So the no clear source can only happen when there are corrupted 'entry
xattrs' ?or some manual copying in the backend?

-Harsha
either split-brain of the parent directory or no entry pending xattrs on 
the parent directory (i.e. dir on all subvols have all 0s in the xattrs).


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


Re: [Gluster-users] gfid self-heal in 3.2.5

2011-11-21 Thread Harshavardhana
> When the same file has mis-match in gfid self-heal looksup the parent
> directory and see which one is the source (based on the entry xattrs of the
> directory), then it will retain the file in that directory removes the other
> file and does the self-heal of the file.

So the no clear source can only happen when there are corrupted 'entry
xattrs' ?or some manual copying in the backend?

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


Re: [Gluster-users] gfid self-heal in 3.2.5

2011-11-21 Thread Pranith Kumar K

On 11/22/2011 04:46 AM, Harshavardhana wrote:

If it can fix the gfid problems, it will fix otherwise the mount will give
Input/Output error for the files it cant fix.

What is the frequency of 'can't fix' v/s 'can fix' . was it not the
assumption that the gfid self-heal would fix all the gfid problems?

So if the problems do exist, then we run the 'gfid' fix too?  on the
specified files in the logs?


-Harsha
When the same file has mis-match in gfid self-heal looksup the parent 
directory and see which one is the source (based on the entry xattrs of 
the directory), then it will retain the file in that directory removes 
the other file and does the self-heal of the file.

If there is no clear source in the parent directory it can't self-heal.

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


Re: [Gluster-users] gfid self-heal in 3.2.5

2011-11-21 Thread Harshavardhana
> If it can fix the gfid problems, it will fix otherwise the mount will give
> Input/Output error for the files it cant fix.

What is the frequency of 'can't fix' v/s 'can fix' . was it not the
assumption that the gfid self-heal would fix all the gfid problems?

So if the problems do exist, then we run the 'gfid' fix too?  on the
specified files in the logs?


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


Re: [Gluster-users] gfid self-heal in 3.2.5

2011-11-21 Thread Pranith Kumar K

On 11/21/2011 05:01 PM, isdtor wrote:

Intriguing feature. Before upgrading to 3.2.5, should one fix existing
gfid problems, or is it ok to let 3.2.5 take care of it?
The manual fix is inconvenient because it requires downtime.
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
If it can fix the gfid problems, it will fix otherwise the mount will 
give Input/Output error for the files it cant fix.


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


[Gluster-users] gfid self-heal in 3.2.5

2011-11-21 Thread isdtor
Intriguing feature. Before upgrading to 3.2.5, should one fix existing
gfid problems, or is it ok to let 3.2.5 take care of it?
The manual fix is inconvenient because it requires downtime.
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users