Bacula-users

Re: [Bacula-users] btape failed with IBM TS3200

2008-09-10 04:47:25
Subject: Re: [Bacula-users] btape failed with IBM TS3200
From: Arno Lehmann <al AT its-lehmann DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 10 Sep 2008 10:46:53 +0200
Hi,

10.09.2008 10:37, rrozek AT free DOT fr wrote:
> Hi,
> I try to implement bacula with a IBM TS3200 tape library and arrive to an 
> error
> message when
> I use the btape utility. I saw some people to encounter the same problem but I
> never saw the solution.

Tell us more about your system...
How is the TS3200 connected?
Which HAB?
Which driver and version?
Which OS?
Which version of Bacula?
What do you get when testing with tar or dd?

Arno

> # btape Drive-1
> Tape block granularity is 1024 bytes.
> btape: butil.c:286 Using device: "Drive-1" for writing.
> 09-Sep 15:20 btape: 3301 Issuing autochanger "loaded? drive 0" command.
> 09-Sep 15:20 btape: 3302 Autochanger "loaded? drive 0", result: nothing 
> loaded.
> 09-Sep 15:20 btape: 3301 Issuing autochanger "loaded? drive 0" command.
> 09-Sep 15:20 btape: 3302 Autochanger "loaded? drive 0", result: nothing 
> loaded.
> btape: btape.c:368 open device "Drive-1" (/dev/IBMtape0n): OK
> *test
> 
> === Write, rewind, and re-read test ===
> 
> I'm going to write 1000 records and an EOF
> then write 1000 records and an EOF, then rewind,
> and re-read the data to verify that it is correct.
> 
> This is an *essential* feature ...
> 
> btape: btape.c:825 Wrote 1000 blocks of 64412 bytes.
> btape: btape.c:499 Wrote 1 EOF to "Drive-1" (/dev/IBMtape0n)
> btape: btape.c:841 Wrote 1000 blocks of 64412 bytes.
> btape: btape.c:499 Wrote 1 EOF to "Drive-1" (/dev/IBMtape0n)
> btape: btape.c:850 Rewind OK.
> 1000 blocks re-read correctly.
> Got EOF on tape.
> 1000 blocks re-read correctly.
> === Test Succeeded. End Write, rewind, and re-read test ===
> 
> 
> === Write, rewind, and position test ===
> 
> I'm going to write 1000 records and an EOF
> then write 1000 records and an EOF, then rewind,
> and position to a few blocks and verify that it is correct.
> 
> This is an *essential* feature ...
> 
> btape: btape.c:937 Wrote 1000 blocks of 64412 bytes.
> btape: btape.c:499 Wrote 1 EOF to "Drive-1" (/dev/IBMtape0n)
> btape: btape.c:953 Wrote 1000 blocks of 64412 bytes.
> btape: btape.c:499 Wrote 1 EOF to "Drive-1" (/dev/IBMtape0n)
> btape: btape.c:962 Rewind OK.
> Reposition to file:block 0:4
> Block 5 re-read correctly.
> Reposition to file:block 0:200
> Block 201 re-read correctly.
> Reposition to file:block 0:999
> Block 1000 re-read correctly.
> Reposition to file:block 1:0
> btape: btape.c:1004 Reposition error.
> *
> 
> Thanks for your Help .
> Richard
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

-- 
Arno Lehmann
IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück
www.its-lehmann.de

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users