From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <80633e2d0612290705j368a46fat9415749ea2288611@mail.gmail.com> Date: Fri, 29 Dec 2006 16:05:08 +0100 From: "Christian Grothaus" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] Pull? In-Reply-To: <20061229143054.GA3728@augusta.math.psu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061229012941.GB1947@shodan.homeunix.net> <20061229143054.GA3728@augusta.math.psu.edu> Topicbox-Message-UUID: fbb7ad4c-ead1-11e9-9d60-3106f5b1d025 > 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