gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] write-behind mtime workaround


From: Steffen Grunewald
Subject: Re: [Gluster-devel] write-behind mtime workaround
Date: Fri, 27 Apr 2007 10:20:15 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

On Thu, Apr 26, 2007 at 10:57:20PM -0400, Brent A Nelson wrote:
> Setting "option aggregate-size 0" does not eliminate the mtime glitch 
> 100%.  Copying /usr to an afr/unify glusterfs, I found that almost 
> everything was okay, but a handful of files on one server had updated 
> mtimes, and a different handful on the other server did, as well.

This is kind of crucial since self-healing relies on inode metadata
(including mtime)...

> So, even with aggregation out of action, write-behind will still 
> occasionally alter mtimes on a "cp -a".

An easy way to detect this should be to use rsync in both directions, with
the -n option. (rsync -avn source_dir/. target_dir/.)

Cheers
 Steffen





reply via email to

[Prev in Thread] Current Thread [Next in Thread]