I'm trying to get an HP DLT30 (system 'sees' it as a DEC DLT2000) with an
Adaptec SCSI card (aic7xxx driver) to work on Fedora Core 2.  And I seem
to have run into all the problems listed on the 'testing your tape drive'
page.

First, I tried just setting it up and running without running 'btape' (no
rasperries, please!).  Well, I got the 'Wanted block-id: "BB02", got "".
Buffer discarded' error when labelling the tape, but everything seemed to
work well anyway, so I went on my merry way.  The system seemed to be
running well, until one of the backup jobs failed (flakey network
connection).  When I tried re-running the job,  I got the 'Incorrect File
Number Error'.  I tried correcting that, and, this time, decided to go
ahead and run 'btape'.  Here's my output:

Tape block granularity is 1024 bytes.
btape: butil.c:258 Using device: "/dev/nst0" for writing.
btape: btape.c:335 open_dev /dev/nst0 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:786 Wrote 1000 blocks of 64412 bytes.
btape: btape.c:465 Wrote 1 EOF to /dev/nst0
btape: btape.c:802 Wrote 1000 blocks of 64412 bytes.
btape: btape.c:465 Wrote 1 EOF to /dev/nst0
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/nst0
btape: btape.c:914 Wrote 1000 blocks of 64412 bytes.
btape: btape.c:465 Wrote 1 EOF to /dev/nst0
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!
*
=====
And here's my current configuration:

Device {
  Name = "Surestore30"
  Media Type = "8mm"
  Archive Device = /dev/nst0
  Hardware end of medium = No
  Hardware End of File = no
  #Fast Forward Space File = no
  AutomaticMount = yes               # when device opened, read it
  AlwaysOpen = Yes
  RemovableMedia = yes
  RandomAccess = no
  Block Positioning = no
}

===
I've tried running the following from the command line.  It doesn't seem
to make any difference:

mt -f /dev/nst0 stoptions buffer-writes async-writes read-ahead

Nor did 'defblksize 0'

I've tried cleaning the drive, using another tape and nothing seems to work.

Suggestions?

Anne


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to