Hallo Liste

Wie schon gesagt handelt es sich um ein ATAPI Tape von Sony (SDX-260V)
dmesg:
hdc: SONY SDX-260V, ATAPI TAPE drive

Hier erst mal die Ausgabe von mt dazu:
meister:/var/log# mt -f /dev/ht0 status
drive type = Generic SCSI-2 tape
drive status = 64512
sense key error = 0
residue count = 0
file number = 0
block number = 0
Tape block size 64512 bytes. Density code 0x0 (default).
Soft error count since last status=0
General status bits on (0):


1. Versuch

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 = no         # Spacing deaktiviert
  Fast Forward Space File = no          # Spacing deaktiviert
#  TWO EOF = yes
}

*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: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 ...

08-Jul 11:17 btape: btape Error: block.c:552 Write error at 0:0 on
device /dev/ht0. ERR=Input/output error.
btape: btape.c:894 Error writing block to device.

Und das steht im Syslog: (kern.log)

Jul  8 11:14:45 meister kernel: ide-tape: MTIO operation 24 not supported

Zu MTIO Fehlern hab ich nur im kapitel "Testing Your Tape Drive" unter
"Incorrect File Number" gefunden das ich entweder meinen SCSI-Driver so
Konfigurieren soll das er die Files auf dem Tape findet oder man soll
"Hardware End of File = no" in der Devicesction mit aufnehmen was ich
dann auch gemacht habe. Beim zweiten test kam dann jedoch genau die
selbe Fehlermeldung wie schon beim ersten test. Den Dritten Test hab ich
dan wieder mit eingeschaltetem Spacing gemacht.
Und das kam dabei Raus:

08-Jul 13:02 btape: btape Error: block.c:552 Write error at 0:0 on
device /dev/ht0. ERR=Input/output error.
08-Jul 13:02 btape: btape Error: Re-read last block at EOT failed.
ERR=block.c:793 Read zero bytes at 0:0 on device /dev/ht0.
btape: btape.c:894 Error writing block to device.

ein wenig anders ab prinziepiell das gleich problem. beim nächsten
versuch hab ich dan noch TWO EOF = yes wieder aktiviert.

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!

Danach hab ich den test mit folgende config gemacht:

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 = no
  Fast Forward Space File = no
  TWO EOF = yes
}


mit folgendem resultat:

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!

langsam weis ich nicht was ich noch probieren soll.




-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to