We also considered such an approach, but could not be sure if this would cause problems... It would definitely be an ideal way to restore a node to maintain data integrity! Any light on that would be great! Mike Keith Freedman wrote: > Raghavendra, > > I didn't chime in cause I wasn't sure this would work, but what I > always envisioned in a similar situation is the following.. would > this work?: > > set up a new node as a 2nd AFR node with an empty filesystem under > gluster. > run the find/head command and gluster will realize the local > filesystem is behind on everything and will AFR the whole tree? > > To me, if this would work without risking data loss, this is an ideal > way to restore a node. > > ?? > Keith > > > > At 08:44 PM 8/10/2008, Raghavendra G wrote: >> Hi michael, >> some are inlined. >> >> On Mon, Aug 11 2008 at 5:29 AM, Michael Messig >> <<mailto:michael.messig at sitepoint.com>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 >> <mailto:Gluster-users at gluster.org>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 >> _______________________________________________ >> Gluster-users mailing list >> Gluster-users at gluster.org >> http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users >