I'm new to Bacula coming from and OLD version of Legato. I'm going to
be using an ADIC Scalar 100 w/4 SDX700C AIT-3 drives and all AIT-3 media
to backup several TB of data. I have poked around and do see others
using this drive type. I'm interested to see what settings others use
I got bacula and mtx installed and can drive the robot without issue. I
loaded slot 9 into drive 0 (rmt0 in my config below) and began the
"Testing Your Tape Drive" section. I performed the tar operation
against about 2GB of data with no issues or errors so I defined the
robot and tapes in the bacula-sd.conf file (below) but receive this
output. I did play with a few settings (Block Positioning, Min/Max
block) but it didn't seem to help:
root@johnson:/opt/bacula/sbin# ./btape -c bacula-sd.conf /dev/rmt/0cbn
Tape block granularity is 1024 bytes.
btape: butil.c:285 Using device: "/dev/rmt/0cbn" for writing.
18-Nov 17:48 btape JobId 0: 3301 Issuing autochanger "loaded? drive 0"
command.
18-Nov 17:48 btape JobId 0: 3302 Autochanger "loaded? drive 0", result
is Slot 9.
btape: btape.c:383 open device "rmt0" (/dev/rmt/0cbn): 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:841 Wrote 1000 blocks of 64412 bytes.
btape: btape.c:515 Wrote 1 EOF to "rmt0" (/dev/rmt/0cbn)
btape: btape.c:857 Wrote 1000 blocks of 64412 bytes.
btape: btape.c:515 Wrote 1 EOF to "rmt0" (/dev/rmt/0cbn)
btape: btape.c:866 Rewind OK.
1000 blocks re-read correctly.
18-Nov 17:50 btape JobId 0: Error: block.c:1106 Volume data error at
0:1000! Short block of 2048 bytes on device "rmt0" (/dev/rmt/0cbn)
discarded.
btape: btape.c:878 Read block 1001 failed! ERR=I/O error
*
Right now I have the configuration below (I have only included the 1st
device since that's what I'm trying to test, tapes 2,3,4 are duplicates
with appropriate changes). I removed the settings recommended in
testing because they didn't fix anything.
# ADIC Scalar 100
Autochanger {
Name = ADIC-Scalar-100
Device = rmt0
Device = rmt1
Device = rmt2
Device = rmt3
Changer Command = "/opt/bacula/etc/mtx-changer %c %o %S %a %d"
Changer Device = /dev/scsi/changer/c0t2d0
}
Device {
Name = rmt0
Archive Device = /dev/rmt/0cbn
Device Type = Tape;
Media Type = AIT-3
AutoChanger = yes;
Changer Device = /dev/scsi/changer/c0t2d0
Changer Command = "/opt/bacula/etc/mtx-changer %c %o %S %a %d"
Alert Command = "sh -c '/opt/bacula/sbin/tapeinfo -f %c |grep
TapeAlert|cat'"
Drive Index = 0
AlwaysOpen = yes;
AutomaticMount = yes;
RemovableMedia = yes;
RandomAccess = no;
}
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|