From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 16 Nov 2010 20:47:08 -0800 Message-ID: From: David Leimbach To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=0016369896359da5af0495385df8 Subject: Re: [9fans] p9p venti sync? Topicbox-Message-UUID: 83a15632-ead6-11e9-9d60-3106f5b1d025 --0016369896359da5af0495385df8 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Nov 16, 2010 at 8:09 PM, David Leimbach 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 wrote: > > On Tuesday, November 16, 2010, Russ Cox wrote: > >> On Tue, Nov 16, 2010 at 5:43 PM, David Leimbach > 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 > >> > >> > > > --0016369896359da5af0495385df8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Tue, Nov 16, 2010 at 8:09 PM, David L= eimbach <leimy2k@= gmail.com> wrote:
Could sparse files be an issue? =A0Bloom always shows up wrong when I resta= rt.

Nope... Didn't make a differenc= e it seems.

I recreated my venti setup, and it sta= rts ok. =A0I do a vac and an unvac, then kill it and restart and get the fo= llowing:

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

bloom is definitely there though... Not sur= e what the no such file or directory is referring to just yet.
-rw-r--r-- =A01 dave =A0wheel =A0 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. =A0Not using venti/sync should work too since
>> vac etc all sync before hanging up. =A0The 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<= br> > I supposed to send HUP?
>
>
>>
>> Russ
>>
>>
>

--0016369896359da5af0495385df8--