Hi, 

I've never tried to use a travan in bacula, but had to use some of them in a 
previous job...
So I think I'd better warn you about their reliability, in case you care about 
your backups :) Travan are much worse than DAT. I've had several of them 
writing tapes for months a few years ago, with no error, but very few of the 
tapes were readable afterwards. Some seagate, some hp, but none of them was 
reliable.

Le Dimanche 27 Novembre 2005 23:42, Greg Cockburn a écrit :
> 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.


-------------------------------------------------------
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_idv37&alloc_id865&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to