Hi guys, Just wondering if anyone had any experience with using Bacula and the IBM TS3100 (ULT3580-TD4) autochanger with the 3573-TL LTO-4 tape drive?
I'm running Debian etch with Kernel 2.6.18-4amd64 and I have a IBM TS3100 connected via SAS to a LSILogic SAS3801X with theIBM lin_tape-1.10.0 driver. I'm using the Debian bacula stable package (1.38.11-8) - I am considering trying the debian's unstable 2.2.6 version though - to see if this fixed my problem as described below. I can control the device perfectly using the ibm's IBMtapeutil. I can use programs like tar/star etc.. to dump directly to the device - which is fine. I can set the library to auto load the next tape once the previous one is full, but i'd rather use Bacula to control this and do incremental backups etc.. When testing using btape I get the following: btape ULT3580-TD4 Tape block granularity is 1024 bytes. btape: butil.c:272 Using device: "ULT3580-TD4" for writing. btape: btape.c:338 open device "ULT3580-TD4" (/dev/IBMtape0n): 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:795 Wrote 1000 blocks of 64412 bytes. btape: btape.c:469 Wrote 1 EOF to "ULT3580-TD4" (/dev/IBMtape0n) btape: btape.c:811 Wrote 1000 blocks of 64412 bytes. btape: btape.c:469 Wrote 1 EOF to "ULT3580-TD4" (/dev/IBMtape0n) btape: btape.c:820 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:907 Wrote 1000 blocks of 64412 bytes. btape: btape.c:469 Wrote 1 EOF to "ULT3580-TD4" (/dev/IBMtape0n) btape: btape.c:923 Wrote 1000 blocks of 64412 bytes. btape: btape.c:469 Wrote 1 EOF to "ULT3580-TD4" (/dev/IBMtape0n) btape: btape.c:932 Rewind OK. Reposition to file:block 0:4 Block 5 re-read correctly. Reposition to file:block 0:200 Block 201 re-read correctly. Reposition to file:block 0:999 Block 1000 re-read correctly. Reposition to file:block 1:0 btape: btape.c:974 Reposition error. * I can query the tape position directly using the IBMtapeutil drive without any problems: [EMAIL PROTECTED]:~# IBMtapeutil -f /dev/IBMtape0n rewind Rewinding tape... [EMAIL PROTECTED]:~# IBMtapeutil -f /dev/IBMtape0n qrypos Logical Tape position: Partition Number ........... 0 Beginning of Partition ..... Yes Leading End of Partition ... No Current Block ID ........... 0 (0x00000000) Next Block on Tape ......... 0 (0x00000000) Last Block Written ......... 0 (0x00000000) Blocks in Buffer ........... 0 Bytes in Buffer ............ 0 Physical Tape position: Partition Number ........... 0 Beginning of Partition ..... Yes Leading End of Partition ... No Current Block ID ........... 0 (0x00000000) Next Block on Tape ......... 0 (0x00000000) Last Block Written ......... 0 (0x00000000) Blocks in Buffer ........... 0 Bytes in Buffer ............ 0 [EMAIL PROTECTED]:~# IBMtapeutil -f /dev/IBMtape0n seek 1001 Setting tape position to block id 1001 (0x3e9).... Querying tape position.... Current block ........ 1001 (0x3e9) [EMAIL PROTECTED]:~# Has anyone got a TS3100 working with bacula under linux? Any thoughts or suggestions? Kind Regards, Simon Gray ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users