Hello,
On 1/7/2006 7:14 PM, Chris Hunter wrote:
Hi again,
Here is the btape output from my second ultrium-1 drive (Drive-2). The
drive is part of an autochanger, but I am talking to the drives
directly for these btape tests.
This drive doesn't hang, like Drive-1. However, it still fails on the
"btape fill simple" command after writing ~2GB. The last block does not
appear to be properly written to tape. Subsequently, the read of this
last block fails.
Since I am having similar problems with two drives with different tapes,
I suspect there is a problem in my configuration (opposed to
hardware/media problems).
Some questions:
i) Can you please post your bacula-sd.conf & bacula-dir.conf settings
for LTO drives (especially HP Ultrium-1 drives) plus additional st
options ?
Even though I don't operate any LTO drives here - you should supply the
versions of Bacula used and OS details. Otherwise, most of what other
people might send will not be very useful for you.
ii) Should I set the MaxVolume Size ?
With tapes, usually not.
iii) Suggestions for HBA settings (eg command queuing, drive buffers,
etc) ?
Again, which OS? Usually and in my experience, you don't need to
explicitly set that sort of stuff...
Thanks,
My bacula-sd.conf section:
Device {
Name = Drive-2 #
Drive Index = 1
Media Type = LTO-1
Archive Device = /dev/nst1
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = no;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes
Is this really necessary? Either ou use 1.38 in which case the relevant
configuration is moved, or you haven't included the necessary changer
command.
LabelMedia = yes;
# Enable the Alert command only if you have the mtx package loaded
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
# SpoolDirectory=/.tape_spool
# Maximum Spool Size = 20G
# Maximum Open Wait = 30 seconds
}
[EMAIL PROTECTED] bin]# ./btape -v -d 100 /dev/nst1
...
Begin writing Bacula records to tape ...
Wrote blk_block=5000, dev_blk_num=4999 VolBytes=322,495,472 rate=1528.4
KB/s
Wrote blk_block=10000, dev_blk_num=9999 VolBytes=645,055,424 rate=1532.2
KB/s
Wrote blk_block=15000, dev_blk_num=14999 VolBytes=967,615,368
rate=1531.0 KB/s
Flush block, write EOF
btape: block.c:420 return write_block_to_dev no data to write
btape: dev.c:1521 weof_dev
Wrote blk_block=20000, dev_blk_num=5000 VolBytes=1,290,175,312
rate=1530.5 KB/s
Wrote blk_block=25000, dev_blk_num=10000 VolBytes=1,612,735,264
rate=1531.6 KB/s
Wrote blk_block=30000, dev_blk_num=15000 VolBytes=1,935,295,208
rate=1531.1 KB/s
Flush block, write EOF
btape: block.c:420 return write_block_to_dev no data to write
btape: dev.c:1521 weof_dev
Wrote blk_block=35000, dev_blk_num=5000 VolBytes=2,257,855,160
rate=1527.6 KB/s
07-Jan 11:19 btape: btape Error: block.c:538 Write error at 3:9049 on
device "Drive-2" (/dev/nst1). ERR=Input/output error.
btape: block.c:550 === Write error. fd=3 size=64512 rtn=-1 dev_blk=9049
blk_blk=39049 errno=5: ERR=Input/output error
btape: dev.c:1521 weof_dev
07-Jan 11:19 btape: btape Error: Error writing final EOF to tape. This
Volume may not be readable.
dev.c:1553 ioctl MTWEOF error on "Drive-2" (/dev/nst1). ERR=Input/output
error.
btape: block.c:688 WEOF error.
...
I don't know the reasons, but I suspect there is definitely something
wrong - the data transfer is much too slow for a LTO device. 1.5
MBytes/second is really too slow. LTO-1 should write with much higher
speeds.
I suspect a SCSI problem, something like faulty termination, wrong
cables and resulting slower transfers than possible, or a too high
simultaneous use of the SCSI bus, for example because you've got your
disks attached to it, too.
If you're working under linux, the command 'cat /proc/scsi/scsi' might
tell about some of the reasons.
Arno
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------
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