Amanda-Users

Re: Problem with Backup after changing hardware

2005-01-06 03:19:41
Subject: Re: Problem with Backup after changing hardware
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: S.Krumme AT stadt-duisburg DOT de
Date: Thu, 6 Jan 2005 03:14:20 -0500
On Thursday 06 January 2005 02:19, S.Krumme AT stadt-duisburg DOT de wrote:
>Dear all,
>
>after putting my DLT-tapedrive in a new server and after copying my
> amanda files to the new machine, an error occurs running amdump.
>
>The filesystems get dumped properly, but then they are not written
> to tape. Although after running amcheck device and tape are
> recognized properly, also the tape label is correct.
>
>I tried to run amflush to get the dumps to tape, but amflush stops
> waiting to flush. I can remember that on the old machine I changed
> something regarding the blocksize of the tape device, but I can´t
> remember exactly how I did it. Unfortunately I do not have any
> written notice.
>
>Can somebody help me with this matter. Is this the reason why amanda
>refuses to flush the dumps on the tape ?
>
>Kind regards
>
>Sandra

Rewind one of your tapes and read the first block with dd, writing it 
to a scratch file.  Now see how long the scratch file is.  dd will 
AFAIK, read one of the tapes blocks if you don't specify the 
blocksize on the cli.  If the scratch file is not 512 bytes, the 
default amanda size, then you'll need to reset the device to the 
tapes block size.  See man mt for how to do that.  You may want to 
check the rc.local file on the old machine as that was a common place 
to put those blocksize commands so you didn't have to re-invent the 
wheel at every bootup.

The other commonly used block size is probably 32768, as it did result 
in some smallish speedups when I was checking against an old DDS2 
drive.

Humm, you said it did read the label ok.  Thats a pretty good 
indicator that the block size is ok, else amcheck would probably 
report an I/O error.  Now you have me puzzled...

Permissions?  Maybe something got munged when you did the copies.
Did you rerun ldconfig after moving in the amanda libraries?

Me wanders off to bed, scratching head on this one.

-- 
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>