hi,
I want to test the Autochanger drive, but with btape I get thousands of errors
after some tests:
"Got EOF on tape"
Some Informations:
-----------------
/usr/local/bacula/etc/conf.d# ../../../bacula-5.0.3/sbin/btape -c
../bacula-sd.conf /dev/rmt/0cn
Tape block granularity is 1024 bytes.
btape: butil.c:284 Using device: "/dev/rmt/0cn" for writing.
15-Nov 12:22 btape JobId 0: Warning: dev.c:229 Max block size 512 not multiple
of device "Drive-1" (/dev/rmt/0cn) block size.
15-Nov 12:22 btape JobId 0: 3301 Issuing autochanger "loaded? drive 0" command.
15-Nov 12:22 btape JobId 0: 3302 Autochanger "loaded? drive 0", result is Slot
1.
btape: btape.c:476 open device "Drive-1" (/dev/rmt/0cn): OK
*test
=== Write, rewind, and re-read test ===
I'm going to write 10000 records and an EOF
then write 10000 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:1148 Wrote 10000 blocks of 412 bytes.
btape: btape.c:608 Wrote 1 EOF to "Drive-1" (/dev/rmt/0cn)
btape: btape.c:1164 Wrote 10000 blocks of 412 bytes.
btape: btape.c:608 Wrote 1 EOF to "Drive-1" (/dev/rmt/0cn)
btape: btape.c:1206 Rewind OK.
10000 blocks re-read correctly.
Got EOF on tape.
15-Nov 12:23 btape JobId 0: Error: block.c:1002
file:blk 1:0 on device "Drive-1" (/dev/rmt/0cn). ERR=I/O error.
Got EOF on tape.
Got EOF on tape.
Got EOF on tape.
Got EOF on tape.
...
-----------------------
mt -f /dev/rmt/0cn status
HP Ultrium LTO 3 tape drive:
sense key(0x0)= No Additional Sense residual= 0 retries= 0
file no= 1 block no= 0
bacula-sd.conf:
Device {
Name = Drive-1
Drive Index = 0
Media Type = LTO-3
Archive Device = /dev/rmt/0cn
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
Maximum File Size = 2GB
Maximum Spool Size = 200G
Spool Directory = /holdingdisk/bacula-spool
AutoChanger = yes
Maximum Concurrent Jobs = 10
#Block Positioning = no
}
Drive Information:
Drive TypeHP LTO Gen. 3 Vendor ID HPProduct IDUltrium 3-SCSIProduct Revision
LevelG33HFirmware Revision Level009.065ACI Revision Level4.2SCSI ID1Cleaning
InformationCleaning Needed?NOCleaning RequiredNOCleaning is in progressNOClean
ExpiredNODrive StatusCartridge PresentYESCartridge TypeUltrium-3Write
ProtectNODrive ErrorNOMedia ErrorNOTape ActivityIdleCompression
EnabledYESPrevent Media RemovalNOCartridge Loading/LoadedYESCartrdge Ready for
AccessYESCartrdge Ready to EjectNODrive Temperature35 degrees CDrive
ConfigurationAuto-LoadNOAuto-EjectNOAuto-ThreadYESPacket SeqYESOn-BusYESDrive
Error InfoSense Key0Additional Sense Code0Additional Sense Code Qualifier0Drive
Error Code0
any suggestions?
cu denny
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|