Hi, I've been trying to get a HP SureStore DLT-80 drive working with Bacula on a Gentoo Linux machine.
Originally when running the btape test I was getting this error jericho ~ # btape -c /etc/bacula/bacula-sd.conf /dev/nst0 Tape block granularity is 1024 bytes. btape: butil.c:286 Using device: "/dev/nst0" for writing. btape: btape.c:368 open device "DLT80" (/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:825 Wrote 1000 blocks of 64412 bytes. btape: btape.c:499 Wrote 1 EOF to "DLT80" (/dev/nst0) btape: btape.c:841 Wrote 1000 blocks of 64412 bytes. btape: btape.c:499 Wrote 1 EOF to "DLT80" (/dev/nst0) btape: btape.c:850 Rewind OK. 06-Mar 13:10 btape: btape Error: block.c:994 Read error on fd=3 at file:blk 0:227 on device "DLT80" (/dev/nst0). ERR=Input/output error. btape: btape.c:862 Read block 228 failed! ERR=Input/output error * After talking with dvl on #bacula, I removed Drive Index = 0 from my bacula-sd.conf and then started getting the following errors jericho kfullert # btape -c /etc/bacula/bacula-sd.conf /dev/nst0 Tape block granularity is 1024 bytes. btape: butil.c:286 Using device: "/dev/nst0" for writing. btape: btape.c:368 open device "DLT80" (/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:825 Wrote 1000 blocks of 64412 bytes. btape: btape.c:499 Wrote 1 EOF to "DLT80" (/dev/nst0) btape: btape.c:841 Wrote 1000 blocks of 64412 bytes. btape: btape.c:499 Wrote 1 EOF to "DLT80" (/dev/nst0) btape: btape.c:850 Rewind OK. 06-Mar 13:26 btape: btape Error: block.c:317 Volume data error at 0:134! Block checksum mismatch in block=134 len=64448: calc=a78cc3b6 blk=21b112ad btape: btape.c:862 Read block 135 failed! ERR=Input/output error * I've tried 3 different tapes now that I've used in the past, as well as running a cleaning tape through the machine, and I still get the problem. The drive is an external DLT connected to an Adaptec 2940U2W, and there is a SCSI teminator installed in the back of the tape drive. Below is my bacula-sd.conf with passwords and comments removed Storage { # definition of myself Name = jericho-sd SDPort = 9103 # Director's port WorkingDirectory = "/var/lib/bacula" Pid Directory = "/var/run" Maximum Concurrent Jobs = 20 } Director { Name = jericho-dir Password = "********" } Director { Name = jericho-mon Password = "********" Monitor = yes } Device { Name = DLT80 # Media Type = DLT-80 Archive Device = /dev/nst0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = no # Enable the Alert command only if you have the mtx package loaded Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" } Messages { Name = Standard director = jericho-dir = all } Can anyone suggest anything else to try, short of a new cable, terminator and tapes? Many thanks Kevin Fullerton ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users