Hello,
On 3/10/2006 10:13 PM, Nick Smith wrote:
On 3/10/06, Arno Lehmann <[EMAIL PROTECTED]> wrote:
Hello,
On 3/10/2006 9:06 PM, Nick Smith wrote:
One very important question: Have you run the btape tests, and did they
report anything you didn't understand or even errors?
no i hadnt run the tests.
...
Yes, btape testing...
i have errors on the testing....where do i go from here?
This is an *essential* feature ...
10-Mar 14:54 btape: btape Error: block.c:552 Write error at 0:791 on
device /dev/st0. ERR=Input/output error.
10-Mar 14:54 btape: btape Error: Backspace file at EOT failed.
ERR=Input/output error
btape: btape.c:782 Error writing block to device.
You should try disabling the BSF at EOM setting if it's enabled now.
how do i do that? ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
By modifying the SD configuration.
You should read the relevant chapters in the manual - it describes all
possible settings, and in many cases the name of the setting does have a
relationship to the corresponding problems.
Also, "Backward Space File" and "Backward Space Record" might not work
with your hardware / driver, so you might try to run the tests without
those.
again how do i do that? i was just running:
btape -c /etc/bacula/bacula-sd.conf /dev/st0
Try 'vi /etc/bacula/bacula-sd.conf' first :-)
The configuration is, as you probably know, a simple text file, but it
HAS to be modified to fit to your hardware and driver setup.
after reading the documentation a little closer, i did do the following:
become super user
mt -f /dev/st0 rewind
mt -f /dev/st0 stoptions buffer-writes async-writes read-ahead
mt -f /dev/st0 defblksize 0
mt -f /dev/st0 defcompression 1
These will probably never help with tape positioning problems.
ok, was hoping.
and re-ran the tests and got the same result.
could i have two bad tapes in a row? is there anything else it could be?
It might help us if you posted what OS and hardware you use and also the
device setup for the SD. It's quite possible that someone else has that
combination running.
yeah i should have posted that earlier:
02:03.0 SCSI storage controller: Adaptec AHA-2940U/UW/D / AIC-7881U
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.2.6/5.2.0
<Adaptec AHA-294X Ultra SCSI host adapter>
Vendor: HP Model: C1537A Rev: L706
Type: Sequential-Access ANSI SCSI revision: 02
st: Version 20050501, fixed bufsize 32768, s/g segs 256
Attached scsi tape st0 at scsi0, channel 0, id 5, lun 0
st0: try direct i/o: yes (alignment 512 B), max page reachable by HBA 1048575
Attached scsi generic sg0 at scsi0, channel 0, id 5, lun 0, type 1
I don't run a tape drive under linux kernel 2.6, but I can confirm that
HP DDS drives and autochangers work under linux 2.4.
its a DDS3 tape device.
im running gentoo linux with a 2.6.13 kernel.
the SD is on /dev/st0.
thanks for the help.
Arno
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users