9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: David Leimbach <leimy2k@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] p9p venti sync?
Date: Tue, 16 Nov 2010 20:47:08 -0800	[thread overview]
Message-ID: <AANLkTimcFwG6ZZx21sJAhuZQ+uB9t6kevVCD=bGAtZEr@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=Ucj+P0=noQEokbW7j40Hfz-w_PMACnjPQEtCi@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1778 bytes --]

On Tue, Nov 16, 2010 at 8:09 PM, David Leimbach <leimy2k@gmail.com> wrote:

> Could sparse files be an issue?  Bloom always shows up wrong when I
> restart.
>

Nope... Didn't make a difference it seems.

I recreated my venti setup, and it starts ok.  I do a vac and an unvac, then
kill it and restart and get the following:

% venti/venti
2010/1116 20:44:14 venti: conf...2010/1116 20:44:14 err 4: read
/Users/dave/venti/disks/bloom offset 0x0 count 65536 buf 3800000 returned
65536: No such file or directory
venti/venti: can't load bloom filter: read /Users/dave/venti/disks/bloom
offset 0x0 count 65536 buf 3800000 returned 65536: No such file or
directory

bloom is definitely there though... Not sure what the no such file or
directory is referring to just yet.
-rw-r--r--  1 dave  wheel   33554432 Nov 16 20:42 bloom

I'll try without the bloom filter.


> On Tuesday, November 16, 2010, David Leimbach <leimy2k@gmail.com> wrote:
> > On Tuesday, November 16, 2010, Russ Cox <rsc@swtch.com> wrote:
> >> On Tue, Nov 16, 2010 at 5:43 PM, David Leimbach <leimy2k@gmail.com>
> wrote:
> >>> I'm trying to figure out how to correctly sync a plan9port venti
> instance so
> >>> I can start it back up again and have it actually function :-).
> >>> using venti/sync doesn't appear to get the job done...
> >>
> >> It should.  Not using venti/sync should work too since
> >> vac etc all sync before hanging up.  The flushicache/flushdcache
> >> trick will make restarting a little faster, but it should not
> >> be necessary for correctness and shouldn't even be
> >> that much faster.
> >
> > I did a kill TERM... should the signal handler have cleaned up or was
> > I supposed to send HUP?
> >
> >
> >>
> >> Russ
> >>
> >>
> >
>

[-- Attachment #2: Type: text/html, Size: 2637 bytes --]

  reply	other threads:[~2010-11-17  4:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-16 22:43 David Leimbach
2010-11-17  0:32 ` Bakul Shah
2010-11-17  2:47 ` Russ Cox
2010-11-17  3:19   ` David Leimbach
2010-11-17  3:39     ` Russ Cox
2010-11-17  4:09     ` David Leimbach
2010-11-17  4:47       ` David Leimbach [this message]
2010-11-17  4:49         ` David Leimbach
2010-11-17 14:36         ` Russ Cox
2010-11-17 15:17           ` David Leimbach

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='AANLkTimcFwG6ZZx21sJAhuZQ+uB9t6kevVCD=bGAtZEr@mail.gmail.com' \
    --to=leimy2k@gmail.com \
    --cc=9fans@9fans.net \
    /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).