Hi, i have a dell LTO 136T library with freebsd and bacula-1.37.25
sa0: <HP Ultrium 1-SCSI E34A> Removable Sequential Access SCSI-3 device with the following settings in bacula-sd.conf Device { Name = LTO1 Drive Index = 0 Media Type = LTO Archive Device = /dev/nsa0 # Normal archive device Autochanger = yes LabelMedia = yes #AutomaticMount = yes AlwaysOpen = yes Offline On Unmount = no Hardware End of Medium = no BSF at EOM = yes Backward Space Record = no Fast Forward Space File = no TWO EOF = yes } btest gives the following result: === Append files test === This test is essential to Bacula. I'm going to write one record in file 0, two records in file 1, and three records in file 2 btape: btape.c:436 Rewound "LTO1" (/dev/nsa0) btape: btape.c:1515 Wrote one record of 64412 bytes. btape: btape.c:1517 Wrote block to device. btape: btape.c:466 Wrote 1 EOF to "LTO1" (/dev/nsa0) btape: btape.c:1515 Wrote one record of 64412 bytes. btape: btape.c:1517 Wrote block to device. btape: btape.c:1515 Wrote one record of 64412 bytes. btape: btape.c:1517 Wrote block to device. btape: btape.c:466 Wrote 1 EOF to "LTO1" (/dev/nsa0) btape: btape.c:1515 Wrote one record of 64412 bytes. btape: btape.c:1517 Wrote block to device. btape: btape.c:1515 Wrote one record of 64412 bytes. btape: btape.c:1517 Wrote block to device. btape: btape.c:1515 Wrote one record of 64412 bytes. btape: btape.c:1517 Wrote block to device. btape: btape.c:466 Wrote 1 EOF to "LTO1" (/dev/nsa0) btape: btape.c:336 open_ ev "LTO1" (/dev/nsa0) OK btape: btape.c:436 Rewound "LTO1" (/dev/nsa0) btape: btape.c:1054 Now moving to end of medium. btape: btape.c:480 dev.c:674 ioctl MTIOCGET error on "LTO1" (/dev/nsa0). ERR=Unknown error: 0. We should be in file 3. I am at file 4. This is NOT correct!!!! That appears *NOT* to have corrected the problem. Append test failed. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Unable to correct the problem. You MUST fix this problem before Bacula can use your tape drive correctly Perhaps running Bacula in fixed block mode will work. Do so by setting: Minimum Block Size = nnn Maximum Block Size = nnn in your Storage daemon's Device definition. nnn must match your tape driver's block size, which can be determined by reading your tape manufacturers information, and the information on your kernel dirver. Fixed block sizes, however, are not normally an ideal solution. Some systems, e.g. OpenBSD, require you to set Use MTIOCGET= no in your device resource. Use with caution. What can i do? Thanks, Michael ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users