From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] Fossil questions From: "Russ Cox" In-Reply-To: <2E3A344C-332A-11D7-9C05-000A27AE643E@sockfarm.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Tue, 28 Jan 2003 21:02:21 -0500 Topicbox-Message-UUID: 4a18566e-eacb-11e9-9e20-41e7f4b1d025 > 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