Hi,
I installed Bacula package on Solaris 10/Sparc using
blastwave.org/pkgutil. The tape drive Overland Loader Express
(Overland Data DLT-LXLS8110T DLT Desktop Autoloader).
As said in subject , bptape's test command fails as below.
/opt/csw/sbin/btape -c /opt/csw/etc/bacula/bacula-sd.conf /dev/rmt/0ubn
Tape block granularity is 1024 bytes.
btape: butil.c:285 Using device: "/dev/rmt/0ubn" for writing.
09-Nov 14:46 btape JobId 0: 3301 Issuing autochanger "loaded? drive 0"
command.
09-Nov 14:46 btape JobId 0: 3302 Autochanger "loaded? drive 0",
result: nothing loaded.
09-Nov 14:46 btape JobId 0: 3301 Issuing autochanger "loaded? drive 0"
command.
09-Nov 14:46 btape JobId 0: 3302 Autochanger "loaded? drive 0",
result: nothing loaded.
btape: btape.c:372 open device "DLT-8000" (/dev/rmt/0ubn):
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:831 Wrote 1000 blocks of 64412 bytes.
btape: btape.c:505 Wrote 1 EOF to "DLT-8000" (/dev/rmt/0ubn)
btape: btape.c:847 Wrote 1000 blocks of 64412 bytes.
btape: btape.c:505 Wrote 1 EOF to "DLT-8000" (/dev/rmt/0ubn)
btape: btape.c:856 Rewind OK.
1000 blocks re-read correctly.
09-Nov 14:47 btape JobId 0: Error: block.c:995 Read error on
fd=3 at
file:blk 0:1000 on device "DLT-8000" (/dev/rmt/0ubn). ERR=I/O
error.
btape: btape.c:868 Read block 1001 failed! ERR=I/O error
*quit
Below is uncommented part from bacula-sd.conf
/opt/csw/etc/bacula/bacula-sd.conf
Storage {
# definition of myself
Name = skew-sd
SDPort = 9103
# Director's port
WorkingDirectory = "/opt/csw/var/bacula/working"
Pid Directory = "/opt/csw/var/bacula/run"
Maximum Concurrent Jobs = 20
}
Director {
Name = skew-dir
Password = "fGKnvXhAu8ciGUxxeDMErZdVviw1CaiPaAcRtWHAjqtj"
}
Director {
Name = skew-mon
Password = "RrzK2CnytwNKRETdALMsh1yeqMhx7eVzWGTndS6H0oqz"
Monitor = yes
}
Device {
# Name = DDS-4
#
Name = DLT-8000
Media Type = DLT-8000
Archive Device = /dev/rmt/0ubn
AutomaticMount = yes;
# when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
Changer Command = "/opt/csw/etc/bacula/mtx-changer %c %o %S %a %d"
Changer Device = /dev/scsi/changer/c2t6d0
AutoChanger = yes
}
Messages {
Name = Standard
director = ske-dir = all
}
Tapeinfo :
/opt/csw/sbin/tapeinfo -f /dev/scsi/changer/c2t6d0
Password:
Product Type: Medium Changer
Vendor ID: 'OVERLAND'
Product ID: 'LXB '
Revision: '0524'
Attached Changer: No
SerialNumber: '2B2382....'
Ready: yes
Any help is appreciated! Thanks.
Upen
+----------------------------------------------------------------------
|This was sent by upendra.gandhi AT gmail DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|