9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Tharaneedharan Vilwanathan" <vdharani@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] multiple venti servers
Date: Sun,  3 Sep 2006 05:53:35 -0700	[thread overview]
Message-ID: <dac0a5820609030553xf8d87eeqb124c320530e454@mail.gmail.com> (raw)
In-Reply-To: <ee9e417a0609011055u3e72fc5me6c59957c7d037a6@mail.gmail.com>

Thank you.

dharani

On 9/1/06, Russ Cox <rsc@swtch.com> wrote:
> wrarena does write every block twice,
> but venti will only write the block to the disk once.
> so it may take twice as long but it should not
> use up twice as much disk space.
>
> russ
>
>
> On 9/1/06, Tharaneedharan Vilwanathan <vdharani@gmail.com> wrote:
> > Hi Russ,
> >
> > On 8/30/06, Russ Cox <rsc@swtch.com> wrote:
> > > > If I am right, one problem with this approach is it becomes tricky
> > > > when both venti servers have updates but yet to be sync'ed. And, in
> > > > particular, when there are identical data backed up (say, I downloaded
> > > > a CD image in two machines and backed up in these two servers), it
> > > > leaves two copies. It may be safe but it does leave two copies.
> > >
> > > You are not right.
> > Good to know I am not right! :-) About 2 years back I tried to
> > reinstall venti server and noticed some pb with copying old data. In
> > response to one of the mails, I had sent this reply:
> >
> > -----------------------------------------------------------------------------
> > From:  vdhar...@infernopark.com - view profile
> > Date:  Mon, Aug 23 2004 11:34 am
> > Email:   vdhar...@infernopark.com
> > Groups:   comp.os.plan9
> > ...
> >
> > i have done similar thing (except fossil) before and i didnt face any
> > problem.
> >
> > but i noticed a couple of things:
> >
> > - if i invoke 'wrarena' twice, it took twice the space. so i think it
> > blindly copies rather than checking for existing data. this raises 2
> > questions: is venti still in good shape (since now two blocks for the same
> > score may exist)? if i backup up same or similar files in different venti
> > servers and later on i merge the venti server data using readarena and
> > wrarena, will it leave duplicate data blocks unnecessarily?
> >
> > - you have to keep the venti score details (vac) seperately all the time.
> > else there is no way to get the signatures and venti may become useless
> > without it.
> > -----------------------------------------------------------------------------
> >
> > Till now, I have been thinking wrarena wrote a copy of every block
> > when I invoked it twice. I think I checked up how much space venti
> > used up but I am not sure whether there was actually some other issue.
> >
> > Thanks
> > dharani
> >
> > >
> > > Since venti coalesces writes, it doesn't matter if both servers sync
> > > to each other.  You'll waste a little bandwidth resending some writes,
> > > but you will not end up with multiple copies of a block on the same
> > > venti server.
> > >
> > > Russ
> > >
> >
> >
>


      reply	other threads:[~2006-09-03 12:53 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-29 20:46 John Floren
2006-08-30  4:37 ` Russ Cox
2006-08-30  5:13   ` geoff
2006-08-30 13:42     ` Wes Kussmaul
2006-08-30 15:02       ` Francisco J Ballesteros
2006-08-30 16:01         ` Tharaneedharan Vilwanathan
2006-08-30 16:02           ` William Josephson
2006-08-30 16:12             ` LiteStar numnums
2006-08-30 18:23             ` Francisco J Ballesteros
2006-08-30 21:51               ` Robert Raschke
2006-08-30 20:27           ` Russ Cox
2006-09-01  6:40             ` Tharaneedharan Vilwanathan
2006-09-01 17:55               ` Russ Cox
2006-09-03 12:53                 ` Tharaneedharan Vilwanathan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dac0a5820609030553xf8d87eeqb124c320530e454@mail.gmail.com \
    --to=vdharani@gmail.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).