[Gluster-users] Node Failure
Michael Messig
michael.messig at sitepoint.com
Mon Aug 11 23:45:28 UTC 2008
Thankyou for your reply!
Pointing out the extended attributes use, this put us at ease as to
gluster doing the right thing with older files.
Chris Davies also pointed out:
--
If you have clientside AFR on, as you request files from the mounted
volume, if they are not on both machines, the namespace will
automatically repopulate the other machine.
http://www.gluster.org/docs/index.php/Understanding_AFR_Translator
On that page, you can see a way to force a self-heal with
$ find /mnt/glusterfs -type f -print0 | xargs -0 head -c1 >/dev/null
which is listed about 1/3 of the way down the page.
--
We went ahead and everything ran smoothly. The configuration changes
were only to make sure the right bricks were accessed by the clients
(copying the vm with a new IP required this change).
Thanks again for your help!
Raghavendra G wrote:
> Hi michael,
> some are inlined.
>
> On Mon, Aug 11 2008 at 5:29 AM, Michael Messig
> <michael.messig at sitepoint.com <mailto:michael.messig at sitepoint.com>>
> wrote:
>
> Hi Guys,
>
> I have two nodes set up using afr. Overnight the first machine
> died and
> i've had to rebuild it based on a copy of the second machine (they are
> both vm's).
>
>
> after rebuild, are the both nodes identical? If so, did you set
> extended attributes appropriately for the files you repaired or
> created (afr uses extended attributes to synchronise files/directories
> b/w its children).
>
> Is there anything bad that will happen if I start the
> rebuilt first machine (i've changed the configuration accordingly)?
>
>
> Did you change the glusterfs configuration? If so, can you send the
> configuration files before and after the failure?
>
>
> I.e
> will gluster just pick up on its merry way, get all the updates
> from the
> second machine that have occured since the copy and not destroy the
> filesystem?
>
> Thanks!
>
> Mike
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org <mailto:Gluster-users at gluster.org>
> http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users
>
>
>
>
> --
> Raghavendra G
>
> A centipede was happy quite, until a toad in fun,
> Said, "Prey, which leg comes after which?",
> This raised his doubts to such a pitch,
> He fell flat into the ditch,
> Not knowing how to run.
> -Anonymous
More information about the Gluster-users
mailing list