9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: hugo rivera <uair00@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] venti backup
Date: Thu, 19 Jan 2012 17:11:31 +0100	[thread overview]
Message-ID: <CAFo14L38e+8WFaAgXPeC82nLBwT3_3gnnVkTnxZAC1dkN-Hg-w@mail.gmail.com> (raw)
In-Reply-To: <20120117140404.04923461@wks-ddc.exosec.local>

Just to make sure I could rebuild things in case I should, I've tried
to recover everything from my backed up arenas, but I failed. I am not
sure if things go wrong because the backup per se is wrong or I am
making a mistake while recovering from the backup (or both).
So this is how I create the back up of my active arenas

% venti/checkarenas -v /dev/da1s4
output supresed
arena='arenas059' [31676186624,32213057536)
        version=5 created=1326893834 modified=1326893851
        clumps=34,617 compressed clumps=17,908 data=274,318,099
compressed data=198,689,879 disk storage=200,870,750
% 9 dd -if /dev/da1s4 -of fa -bs 8192 -count 3932258     #
8192*3932258 = 32213057536

Then I create a zeroed file for the bloom filter and another for the
index section. After I format those files I run

% venti/buildindex -b venti.conf
2012/0119 17:11:41 err 2: invalid ending address in arena table
venti/buildindex: can't init venti: can't initialize venti:
/home/hugo/tmpventi/fa: invalid ending address in arena table

It seems that the backup I create is not correct, am I right?

2012/1/17 David du Colombier <0intro@gmail.com>:
>> I've backed up all my *active* arenas in to another disk, just to be
>> safe. The man page says that the index and the bloom filter may be
>> rebuilt if lost. So it seems sufficient to backup my arenas, am I
>> right?
>
> Yes, you can rebuild the index and the Bloom filter
> with 'venti/buildindex -b'.
>
> --
> David du Colombier
>



--
Hugo



  reply	other threads:[~2012-01-19 16:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-17 12:34 hugo rivera
2012-01-17 13:02 ` Steve Simon
2012-01-17 13:14   ` hugo rivera
2012-01-17 13:04 ` David du Colombier
2012-01-19 16:11   ` hugo rivera [this message]
2012-01-19 16:45     ` David du Colombier
2012-01-19 23:04     ` David du Colombier
2012-01-20 11:03       ` hugo rivera
2012-01-20 15:02         ` David du Colombier
2012-01-20 17:04           ` hugo rivera
2012-01-20 18:19             ` David du Colombier
2012-01-20 19:10               ` hugo rivera
2012-01-20 22:39                 ` David du Colombier
2012-01-23 10:28                   ` hugo rivera

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=CAFo14L38e+8WFaAgXPeC82nLBwT3_3gnnVkTnxZAC1dkN-Hg-w@mail.gmail.com \
    --to=uair00@gmail.com \
    --cc=9fans@9fans.net \
    /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).