9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Tharaneedharan Vilwanathan" <dharani@lucent.com>
To: <9fans@cse.psu.edu>
Subject: Re: [9fans] Fossil questions
Date: Thu, 30 Jan 2003 11:58:58 -0500	[thread overview]
Message-ID: <002601c2c880$e24fe0d0$4ef0b487@bl.belllabs.com> (raw)
In-Reply-To: <3C0C125A-33E8-11D7-B810-000A27AE643E@sockfarm.net>

Hi,

I was also wondering what happens in this kind of situatation (i.e. when one
forgets the fingerprint value). This utility very useful.

The other question I had is what happens if I terminate a vac command
abruptly? Is it that the blocks (that are written till that time) are there
somewhere permanently but one cannot get them out? Or is it that some level
of clean up is done?

Regards
dharani

> Thanks for your help, Russ. That worked nicely.
>
> John Packer
>
>
> On Tuesday, January 28, 2003, at 09:02  PM, Russ Cox wrote:
>
> >> Suppose I didn't have a score at all. Is there some way to
> >> recover the most recent score, perhaps from the venti server?
> >
> > Yes.  Since the data is not encrypted, if you have access to
> > the raw disk partitions storing the arenas, you can find
> > anything you want.
> >
> >> Also, though it's no big loss, is everything stored on Venti
> >> in the last two days inaccessible?
> >
> > Do a pull to get the new file /sys/src/cmd/venti/printarena.c
> > and then
> >
> > cd /sys/src/cmd/venti
> > mk 8.printarena
> >
> > Then, run this on the Venti server as the host owner:
> >
> > cd /sys/src/cmd/venti
> > ventihttp=your-server:8000
> > hget http://$ventihttp/index |
> > awk '
> >  /^index=/ { blockSize=0+substr($3, 11); }
> >  /^arena=/ { arena=substr($1, 7); }
> >  /^ arena=/ { start=0+substr($5, 2)-blockSize; printf("./8.printarena
> > -o %d %s\n", start, $3); }' |
> > rc |
> > sed -n 's/^(.*) 1$/vac:\1/p'
> >
> > to get a list of all the vac archives on the server.
> >
> > Russ
>



  reply	other threads:[~2003-01-30 16:58 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-08  6:45 [9fans] 4th edition file server available Russ Cox
2003-01-08 11:09 ` Axel Belinfante
2003-01-08 15:57   ` Fco.J.Ballesteros
2003-01-08 15:56 ` andrey mirtchovski
2003-01-08 16:53   ` Russ Cox
2003-01-08 22:52 ` Andrew
2003-01-08 22:54   ` Russ Cox
2003-01-09  8:24     ` Fco.J.Ballesteros
2003-01-09 13:16 ` Axel Belinfante
2003-01-29  1:37 ` [9fans] Fossil questions John Packer
2003-01-29  2:02   ` Russ Cox
2003-01-30  0:17     ` John Packer
2003-01-30 16:58       ` Tharaneedharan Vilwanathan [this message]
2003-01-30 17:22         ` Russ Cox
2003-07-23 19:23 [9fans] Fossil Questions Christopher Nielsen
2003-07-24  3:11 ` Christopher Nielsen

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='002601c2c880$e24fe0d0$4ef0b487@bl.belllabs.com' \
    --to=dharani@lucent.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).