Hi.

mail wrote:

Hallo Liste;

erst mal sorry für mein englisch ;)

This should be obvious :-)

I'll try some sort of translation:

- Sony SDX-260V ATAPI tape drive makes trouble (see below, output of btape).
- OS is debian 3.1 with kernel 2.6-11
- The original poster tried all sorts of different configurations following the manual.

Since you don't give much information about _what_ you tried this might get difficult...

Some suggestions:
Start with a minimal device configuration: No fixed block sizes, no forward / backward spacing etc.
Verify the tape drives settings with mt status or tapeinfo
See what btape does with this.
Watch the system log during btapes tests.

In German:
Da Du keine Details darüber gibst was Du schon alles probiert hast nur einige Hinweise: Fang nochmal mit einer minimalen Konfiguration an in der Du die Blockgröße variabel lässt und alle spacing-Sachen auf No stellst. Prüfe die Fähigkeiten und Einstellungen des Laufwerks mit mt status oder tapeinfo
Was passiert im systemlog während btape arbeitet?

Arno

Hab hier ein Sony Tape am Start welches ich nicht wirklich in den Griff
bekomme. Hab schon viel an der bacula-sd.conf  rumgeschraubt kommt aber
irgendwie immer das selbe raus. Der erste test mit dem schreiben auf
band läuft durch doch der zweite mit der Positionierung haut ein fach
nicht hin. Ich benutze als OS ein 3.1 Debian  mit 2.6-11er Kernel. Das
Tape Laufwerk ist ein sony SDX-260V (atapi) AIT-E laufwerk welches am
ide Bus hängt. Hab mal die Devicesection aus der sd-conf und die ausgabe
von btap mit angehangen. Die Devicr config ist eben nur der letzte
stand. hab es schon mit den Beispielen aus der Doku versucht und
anderen. hat aber nichts genütz.

sd.conf:
Device {
  Name = Stostation
  Description = "AIT Tape"
  Media Type = AIT
  Archive Device = /dev/ht0
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes
  Offline On Unmount = no
  Minimum Block Size = 64512
  Maximum Block Size = 64512
  Hardware End of Medium = no
  BSF at EOM = yes
  Backward Space Record = yes
  Fast Forward Space File = yes
  TWO EOF = yes
}

btape:
*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:786 Wrote 1000 blocks of 64412 bytes.
btape: btape.c:465 Wrote 1 EOF to /dev/ht0
btape: btape.c:802 Wrote 1000 blocks of 64412 bytes.
btape: btape.c:465 Wrote 1 EOF to /dev/ht0
btape: btape.c:465 Wrote 1 EOF to /dev/ht0
btape: btape.c:811 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:898 Wrote 1000 blocks of 64412 bytes.
btape: btape.c:465 Wrote 1 EOF to /dev/ht0
btape: btape.c:914 Wrote 1000 blocks of 64412 bytes.
btape: btape.c:465 Wrote 1 EOF to /dev/ht0
btape: btape.c:465 Wrote 1 EOF to /dev/ht0
btape: btape.c:923 Rewind OK.
Reposition to file:block 0:4
btape: btape.c:1003 Bad data in record. Expected 5, got 1 at byte 0.
Test failed!





-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

--
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to