Amanda-Users

Re: amtapetype_problem

2008-03-13 06:19:36
Subject: Re: amtapetype_problem
From: Javier Guerrero <warriormacho AT gmail DOT com>
To: amanda-users AT amanda DOT org
Date: Thu, 13 Mar 2008 03:14:15 -0700 (PDT)
Did you solve the problem at the time?
I don't know how run amanda with wrappers.
Could you concrete like it is started(with wrappers)?
To that you refer when you say "various cmds"?
Sorry, I'm a novice using amanda, but what I have seen of it I have liked.
I wait to reach to put it working 100%.

Tanks and Regards
Javier Guerrero



Jon LaBadie wrote:
> 
> On Wed, Mar 12, 2008 at 04:00:00PM +0100, Paul Bijnens wrote:
>> On 2008-03-12 14:56, Jon LaBadie wrote:
>> >On Wed, Mar 12, 2008 at 01:51:05AM -0700, Javier Guerrero wrote:
>> >>I have a problem to determine the type of my tape, I know that is an HP
>> >>Ultrium LTO1(100/200 GB).
>> >>I want to know the specific parameters to insert into amanda.conf,
>> because
>> >>the actual parametres give an error(the same error of amtapetype) when
>> I 
>> >>run
>> >>amdump and the backup is big enough.
>> >>
>> >>amandabackup@svq2:~> amtapetype -o -e 100g -f /dev/nst0
>> >>Estimate phase 1...
>> >>Writing 2048 Mbyte   compresseable data:  36 sec
>> >>Estimate phase 2...
>> >>amtapetype: could not write any data in this pass: Input/output error
>> >>
>> >>
>> >>The content of my amanda.conf is:
>> >>define tapetype HP-LTO1 {
>> >>   comment ""
>> >>   length 101376 mbytes
>> >>   filemark 0 kbytes   
>> >>   speed 13872 kps     
>> >>}
>> >>
>> >
>> >First, step back from amanda.
>> >
>> >Can you use your tape drive without amanda.
>> > mt with various cmd arguments
>> > dd several GB to and from
>> > tar to and from
>> >
>> 
>> I seem to remember there was indeed a problem on some hosts
>> where rewind flagged success and finished, but the tape drive
>> was actually not ready to accept new requests, resulting in IO errors
>> until the tape was fully rewound.
>> 
>> But I do not remember anymore if or how it can be solved
>> (except by modifying the code and waiting longer after the rewind).
>> 
> 
> I was in that situation with a DDS3, 6 tape, tapechanger from HP.
> I ran amanda's use of mt and mtx through wrappers and inserted
> sleeps for various cmds (notably rewinds for up to 20 or 30 sec.)
> and I put in some repeats for things like status checks that
> failed the first time.
> 
> -- 
> Jon H. LaBadie                  jon AT jgcomp DOT com
>  JG Computing
>  12027 Creekbend Drive                (703) 787-0884
>  Reston, VA  20194            (703) 787-0922 (fax)
> 
> 

-- 
View this message in context: 
http://www.nabble.com/amtapetype_problem-tp15950758p16024346.html
Sent from the Amanda - Users mailing list archive at Nabble.com.


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