Amanda-Users

Re: Problem with Backup after changing hardware

2005-01-06 14:40:11
Subject: Re: Problem with Backup after changing hardware
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: amanda-users AT amanda DOT org
Date: Thu, 6 Jan 2005 14:17:43 -0500
On Thursday 06 January 2005 12:01, Jon LaBadie wrote:
>On Thu, Jan 06, 2005 at 03:14:20AM -0500, Gene Heskett wrote:
>> ....  If the scratch file is not 512 bytes, the default amanda
>> size
>
>You shouldn't spread false info :)
>
>Amanda's default is 32K.
>dd's default is 512.

Odd.  That wasn't my experience here Jon.

If I did a 'dd if=/dev/nst0 of=scratch', if the tape had been set for 
32768 blocksize, then thats the size of a scratch file I got, without 
telling dd the bs=32768.  If that tape had not been set for 32768, 
then I assume the default must have been 512, and thats the size of 
the scratch file I'd get.

When I was converting my tapes, I'd read out the label block, and use 
the syntax to make dd pad it on out to 32768 on the write back, IIRC 
thats a -s or something.

Maybe there's different logic in other platforms dd?  I wouldn't know.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.31% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.

<Prev in Thread] Current Thread [Next in Thread>