Subject: Re: Problems with restore
To: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
From: Teemu Rinta-aho <teemu@rinta-aho.org>
List: netbsd-users
Date: 06/30/2007 21:01:18
Juergen Hannken-Illjes wrote:
> On Fri, Jun 29, 2007 at 09:58:27PM +0300, Teemu Rinta-aho wrote:
>> Hi all,
>>
>> I have been using tar for a while to make backups. Now I'm
>> planning to switch over to using dump.
>>
>> I planned to write multiple DVD-R sized volumes into separate
>> files, which I'll burn on DVD-R discs.
>>
>> However, while running tests, I noticed that single volume
>> dumps cause no problems when restoring, even directly from
>> a DVD. But, when I create a multi-volume dump, I always
>> get these errors when restoring:
>>
>> resync restore, skipped XXX blocks
>>
>> I tested the same on Linux, with the same ~100MB test
>> directory, and I get the problems whenever I have more
>> than one volume.
>>
>> This is so old and tested software that I'm quite
>> certain the problem is the user.. Please help me :-)
>
> How did you create the dump volumes?
dump -0 -B 60000 -e -f d1,d2 dir
(Where dir is roughly 100MB, tried the same both on
ext3 in Linux and on ffs (raidframe) on NetBSD 4.0_BETA2).
I also tried with "-b 2" option but no difference.
If I change value of -B, I get errors in different files.
If I try 'dump -0 -a -f d1 dir', I have no problems.
I saw somewhere that there has been problems when dump
just changes the volume immediately when the specified
size is reached, and the inode record gets stored on
the first volume while the file is stored on the second
one. Which is kind of dum_b_ :-)
I could create a single volume and split it, but I'd
like to be able to restore directly from DVDs without
intermediate copying & catting...
Best regards,
Teemu