Hi All, I'm using this tapes drivers and It is working properly (with tar/cpio etc ...) using ide-scsi module (not ide-tape), but even using ide-scsi module the tape driver doesn't pass btape test, I did a lot of effort to configure in order to use it and I always got a fail.
I have decided no to use this devices anymore with bacula and I have changed to DAT devices to get running bacula in those newer server we need it. I hope this information will be useful. Regards Manuel -----Mensaje original----- De: Kern Sibbald [mailto:[EMAIL PROTECTED] Enviado el: lunes, 28 de noviembre de 2005 10:11 Para: bacula-users@lists.sourceforge.net CC: Greg Cockburn Asunto: Re: [Bacula-users] Travan 40 (Seagate Hornet, STT3401A) If I remember right, one user got his Segate drive, which seems to be similar, working by using the Onstream Device resource, and then setting the default buffer size to 512 bytes using mt -f /dev/nst0 defblksize 512 (I don't remember the exact syntax -- please check the email archives). I don't particularly recommend these drives as they are not SCSI drives and hence behave more like a brain-damaged disk than a tape -- hence their reliability is should be carefully verified IMO. On Sunday 27 November 2005 23:42, Greg Cockburn wrote: > Hi list, > > has anyone actually got one of these to work with bacula? This is a > drive out of a Dell Machine (no idea what), and the drive was hardly used. > > This is an ATAPI model, set to slave, with no other devices on the IDE > controller. > > I have wasted many hours now trying to get this drive to work with > bacula, without success. > > tar works fine, and so does the first test in "btape test". > > But, then the second test fails. > > I have gone through many iterations of bacula-sd.conf, to try and make > this work. I have tried the tape drive in two different machines, I > tried upgrading the firmware (to the same version...). > > I upgraded bacula in debian sarge to 1.36.3 from sf.net. > > I have tried the ide-tape driver, and the ide-scsi driver. > > I have discovered one thing, don't boot the machine with a tape in the > drive, or nothing will work! > > I have been through this list archive and tried all the suggestions. > > > Is it hopeless? Is this drive just so dumb, you have to question why > anyone would make it? > > Or am I dumb, and have missed the key configuration variable in bacula > that will make this drive magically spring to life? > > > Any/All help will be appreciated, before I go bald before my time. > > > btape output: > > === 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 32668 bytes. > btape: btape.c:465 Wrote 1 EOF to /dev/nst0 > btape: btape.c:914 Wrote 1000 blocks of 32668 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! > > dmesg output: > > Additional sense indicates Invalid command operation code > st0: Error with sense data: Current st09:00: sense key Illegal Request > Additional sense indicates Invalid command operation code > st0: Error with sense data: Info fld=0x0, Current st09:00: sense key > Illegal Request Additional sense indicates Invalid command operation > code > > bacula-sd.conf: > > Device { > Name = Travan40 > Description = "Travan drive on Linux" > Media Type = Travan40 > Archive Device = /dev/nst0 > AutomaticMount = yes > AlwaysOpen = yes > Fast Forward Space File = no > Hardware End of Medium = no > Minimum Block Size = 32768 > Maximum Block Size = 32768 > Block Positioning = no > BSF at EOM = yes > Backward Space Record = no > Backward Space File = no > TWO EOF = yes > } > > > > TIA, Greg. -- Best regards, Kern ("> /\ V_V ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users