Greetings, I wrote a message titled 'Problem with LTO-3 drive' to the list a few days ago but received no reply to it. Since then I've discovered some new information.
I have a new Exabyte Magnum 1x7 autoloader with an IBM LTO-3 drive and it appears I *have* to use fixed block sizes otherwise it breaks. :-( Machine: Dell Poweredge 2650 OS: CentOS 3.6 Bacula: 1.36.3 installed from RHEL3 RPMs Tape: Exabyte Magnum 1x7 LTO-3 Running btape with 'defblksize 0' and no Minimum/Maximum Block size in the Device stanza results in a hung btape process that cannot be killed. I have to reboot the box to recover. Output from btape: $ btape /dev/nst0 btape: butil.c:258 Using device: "/dev/nst0" for writing. btape: btape.c:335 open_dev /dev/nst0 OK *rewind btape: btape.c:435 Rewound /dev/nst0 *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:786 Wrote 1000 blocks of 64412 bytes. btape: btape.c:465 Wrote 1 EOF to /dev/nst0 btape: btape.c:802 Wrote 1000 blocks of 64412 bytes. btape: btape.c:465 Wrote 1 EOF to /dev/nst0 btape: btape.c:811 Rewind OK. 1000 blocks re-read correctly. --END of QUOTE-- It never says 'Got EOF on tape.' If I set the defblksize to 64512 on the tape and put Minimum Block Size = 64512 Maximum Block Size = 64512 in the Device stanza then btape completes it's tests properly. Here is the Device stanza involved: Device { Name = MagnumLTO-3 Media Type = LTO-3 Archive Device = /dev/nst0 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; # run 'mt -f /dev/nst0 defblksize 64512' before uncommenting these # and 'mt -f /dev/nst0 defblksize 0' before commenting them out. #Minimum Block Size = 64512 #Maximum Block Size = 64512 LabelMedia = yes; Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d" Changer Device = /dev/sg1 AutoChanger = yes; Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" } I also have a Dell PowerVault 132T with an LTO-2 drive on the same controller that completes the btape test just fine. My Overland Data Xpress was also working just fine with an LTO-1 drive until the drive died recently. Do I need to run my LTO-3 drive in fixed block mode or is something wonky going on? --[Lance] -- Lance A. Brown Senior Systems Programmer ISDS, Duke University ------------------------------------------------------- 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