From: "Christian Grothaus" <christian.grothaus@uni-bielefeld.de>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] Pull?
Date: Fri, 29 Dec 2006 16:05:08 +0100 [thread overview]
Message-ID: <80633e2d0612290705j368a46fat9415749ea2288611@mail.gmail.com> (raw)
In-Reply-To: <20061229143054.GA3728@augusta.math.psu.edu>
> I don't know; attempts to restore my system have so far been failures,
> resulting in a host of error messages yet failing to repopulate the
> filesystem. :-(
I have recovered my filesystem by reformating the fossil writebuffer
with the contents of the last venti snapshot. (This may be a rather
drastic measure, though.)
Just for convenience, here's what I did:
(I have a standalone Plan 9 machine with a venti and fossil partition
on sdC0.)
Boot Plan 9 from a recent installation CD and enter the following
commands in a rio window:
# configure ip address and set venti environment variable
ip/ipconfig ether /net/ether0 192.168.1.2 255.255.255.0
venti='tcp!192.168.1.2!venti'
# save the venti config to a file, because venti needs it to start
venti/conf /dev/sdC0/arenas > /tmp/venti.conf
# then start venti
venti/venti -w -c /tmp/venti.conf -a $venti
# start fossil
fossil/fossil -f /dev/sdC0/fossil -c 'srv -p fscons'
# determine the score of the last archival snapshot
fossil/last /dev/sdC0/fossil
vac:a92cc4d2657044cfaadf3d4c9dbce3e89932c35a
# now format the writebuffer
fossil/flfmt -v a92cc...c35a /dev/sdC0/fossil
# log in the fossil console and halt fossil
con -l /srv/fscons
fsys main sync
fsys main halt
Cheers
Christian
next prev parent reply other threads:[~2006-12-29 15:05 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-22 0:53 Dan Cross
2006-12-22 1:05 ` Paul Lalonde
2006-12-22 15:52 ` Dan Cross
2006-12-22 18:19 ` Axel Belinfante
2006-12-25 17:23 ` Aki Nyrhinen
2006-12-29 1:29 ` Martin Neubauer
2006-12-29 2:00 ` geoff
2006-12-29 5:11 ` Scott Schwartz
2006-12-29 7:48 ` Gabriel Diaz
2006-12-29 18:39 ` geoff
2006-12-29 20:30 ` Dan Cross
2006-12-29 21:35 ` geoff
2006-12-29 18:33 ` geoff
2006-12-29 14:30 ` Dan Cross
2006-12-29 15:05 ` Christian Grothaus [this message]
2006-12-29 17:19 ` Steve Simon
-- strict thread matches above, loose matches on Subject: below --
2003-10-23 23:58 Kris Van Hees
2003-10-24 0:58 ` rob pike, esq.
2003-10-24 0:59 ` mirtchov
2003-10-24 1:35 ` david presotto
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=80633e2d0612290705j368a46fat9415749ea2288611@mail.gmail.com \
--to=christian.grothaus@uni-bielefeld.de \
--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).