Thanks for your help John.
As a workaround I saved all the dump chuncks manually to tapes (2) with tar
for emergency, and I've already reduced the windows share size and forced a
new level 0 dump of the new shares.
If this situation will appen again I'll follow your instructions step by
step.
Thanks again, Alessio.
-----Original Message-----
From: John R. Jackson <[EMAIL PROTECTED]>
To: Alessio Brezigar <[EMAIL PROTECTED]>
Cc: Amanda Users Mailing-list <[EMAIL PROTECTED]>
Date: mercoled� 30 maggio 2001 12:03
Subject: Re: Dump image too big for tape!!
>>On my 16GB holding disk I have a dump image of about 12.5GB made by
>>amanda2.4.1p1 (tar1.12 + amanda patches, chuncksize of 1GB, software
>>compression enabled) that is too big for my single tapes (DDS3 - 12GB).
...
>>I was
>>looking for a way to save on (multiple?) tapes this dump image with amanda
>>or linux tools, possibly saving amanda index and/or restore functionality.
>
>We have the same type of problem and here's what we do (warning --
>this is a **major** PITA):
>
> * Go to the holding disk directory and rename the tail end chunks
> out of the directory until it is smaller than your tape size (e.g.
> mv $f.X ../$f.X).
>
> * Run the following program in the directory with all the remaining
> chunks as the argument list, e.g.:
>
> cd /holding/20010506
> amlink $f*
>
> This will make the last file the end of the list instead of pointing
> off to the first chunk you renamed out of the directory.
>
> * Run amflush to kick the holding disk chunks off to tape. Amanda
> won't really care that the image is "short".
>
> * Use dd (bs=32k) to write the other chunks to another scratch tape.
>
>Now for the bad part (if the above hasn't scared you off yet).
>To restore, you'll have to reload this image in pieces into the holding
>disk and go from there by hand. Amrecover won't work (it should, but
>it doesn't). You can use it to pick out the tapes that are needed,
>but it will not handle bringing in the two (or more) pieces.
>
>Use amrestore to bring in the big chunk from the tape Amanda knows about
>(if you're running on Linux, you'll have to do other magic to split the
>image into chunks < 2 GBytes). Then dd back in the other chunks from
>the second tape. Finally, run amlink again to link them back together
>and then you should be able to run amrestore on the first chunk to pipe
>the whole file into your restore program.
>
>I told you it was icky.
>
>Warning: the amlink program below is a quick hack. I've been using it
>for a while, but you should carefully test it in a scratch directory
>with just the first 32 KByte headers to make sure it works right.
>Eventually I'll rewrite it as a real Amanda program.
>
>>Alessio Brezigar
>
>John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
>