Bacula-users

[Bacula-users] bptape test fails

2010-11-09 20:35:00
Subject: [Bacula-users] bptape test fails
From: upengan78 <bacula-forum AT backupcentral DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 09 Nov 2010 15:54:54 -0500
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&#58; butil.c&#58;285 Using device&#58; "/dev/rmt/0ubn" for writing.
09-Nov 14&#58;46 btape JobId 0&#58; 3301 Issuing autochanger "loaded? drive 0" 
command.
09-Nov 14&#58;46 btape JobId 0&#58; 3302 Autochanger "loaded? drive 0",
result&#58; nothing loaded.
09-Nov 14&#58;46 btape JobId 0&#58; 3301 Issuing autochanger "loaded? drive 0" 
command.
09-Nov 14&#58;46 btape JobId 0&#58; 3302 Autochanger "loaded? drive 0",
result&#58; nothing loaded.
btape&#58; btape.c&#58;372 open device "DLT-8000" &#40;/dev/rmt/0ubn&#41;&#58; 
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&#58; btape.c&#58;831 Wrote 1000 blocks of 64412 bytes.
btape&#58; btape.c&#58;505 Wrote 1 EOF to "DLT-8000" &#40;/dev/rmt/0ubn&#41;
btape&#58; btape.c&#58;847 Wrote 1000 blocks of 64412 bytes.
btape&#58; btape.c&#58;505 Wrote 1 EOF to "DLT-8000" &#40;/dev/rmt/0ubn&#41;
btape&#58; btape.c&#58;856 Rewind OK.
1000 blocks re-read correctly.
09-Nov 14&#58;47 btape JobId 0&#58; Error&#58; block.c&#58;995 Read error on 
fd=3 at
file&#58;blk 0&#58;1000 on device "DLT-8000" &#40;/dev/rmt/0ubn&#41;. ERR=I/O 
error.
btape&#58; btape.c&#58;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 &#123;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# definition of myself
&nbsp;Name = skew-sd
&nbsp;SDPort = 9103&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; # Director's port
&nbsp;WorkingDirectory = "/opt/csw/var/bacula/working"
&nbsp;Pid Directory = "/opt/csw/var/bacula/run"
&nbsp;Maximum Concurrent Jobs = 20
&#125;

Director &#123;
&nbsp;Name = skew-dir
&nbsp;Password = "fGKnvXhAu8ciGUxxeDMErZdVviw1CaiPaAcRtWHAjqtj"
&#125;

Director &#123;
&nbsp;Name = skew-mon
&nbsp;Password = "RrzK2CnytwNKRETdALMsh1yeqMhx7eVzWGTndS6H0oqz"
&nbsp;Monitor = yes
&#125;

Device &#123;
&nbsp;# Name = DDS-4&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; #
&nbsp;Name = DLT-8000
&nbsp;Media Type = DLT-8000
&nbsp;Archive Device = /dev/rmt/0ubn
&nbsp;AutomaticMount = yes;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp;# when device opened, read it
&nbsp;AlwaysOpen = yes;
&nbsp;RemovableMedia = yes;
&nbsp;RandomAccess = no;
&nbsp;Changer Command = "/opt/csw/etc/bacula/mtx-changer %c %o %S %a %d"
&nbsp;Changer Device = /dev/scsi/changer/c2t6d0
&nbsp;AutoChanger = yes
&#125;

Messages &#123;
&nbsp;Name = Standard
&nbsp;director = ske-dir = all
&#125;

Tapeinfo :

/opt/csw/sbin/tapeinfo -f /dev/scsi/changer/c2t6d0
Password&#58;
Product Type&#58; Medium Changer
Vendor ID&#58; 'OVERLAND'
Product ID&#58; 'LXB&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'
Revision&#58; '0524'
Attached Changer&#58; No
SerialNumber&#58; '2B2382....'
Ready&#58; 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Bacula-users] bptape test fails, upengan78 <=