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 <[email protected]>:
>> 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