Niels S. Eliasen <nse <at> ruc.dk> writes:

> 
> Hi
> I have a problem with using Bacual on a NetBSD 2.99 box with a DEC  
> TLZ10 drive: I'm getting "Device busy" all the time...
> 
> btape -c bacula-sd.conf /dev/nrst0                             Tape  
> block granularity is 1024 bytes.
> btape: butil.c:269 Using device: "/dev/nrst0" for writing.
> btape: btape.c:338 open device "DDS-3" (/dev/nrst0): 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:795 Wrote 1000 blocks of 64412 bytes.
> btape: btape.c:469 Wrote 1 EOF to "DDS-3" (/dev/nrst0)
> btape: btape.c:811 Wrote 1000 blocks of 64412 bytes.
> btape: btape.c:469 Wrote 1 EOF to "DDS-3" (/dev/nrst0)
> btape: btape.c:820 Rewind OK.
> 1000 blocks re-read correctly.
> 28-Aug 13:14 btape: btape Error: block.c:940 Read error at file:blk  
> 0:1000 on device "DDS-3" (/dev/nrst0). ERR=Device busy.
> btape: btape.c:832 Read block 1001 failed! ERR=Device busy
> *quit
> 
> Am am a little but stupefied as to what this problem actually is......
> 
> Any ideas ?
I have exactly the same problem on two different changers
on my linux debian sarge with 2.8.1 kernel:

HP StoreEdgeTape 12000e (6xDDS-2) and Libra 8-3(8xDDS-3)
changer.


Here the latest messages from the test command at Libra 8-3:

...
1000 blocks re-read correctly.
<Here is a very log period before next is shown>
btape: btape Error: block.c:782 Read error at file:blk 0:1000 in device
/dev/nst0. ERR=Input/output error.
btape: btape.c:823 Read block 1001 failed! ERR=Input/output error

I cannot further use the tape because it's looks like now
blocked. After quit:

mt -f /dev/nst0 status
/dev/nst0: Input/output error

After reboot or after reattaching via 
echo "scsi remove-single...." >/proc/scsi/scsi
and echo "scsi add-single..." >/proc/scsi/scsi
the tape is back and I can reproduce the problem.

Any idea where this comes from? EOF indication Problems?

MfG...
Pierre 




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to