Johannes Niess wrote:
> 
> server:~ # rm /tmp/dattest;mtst -f /dev/nst0 rewind;mtst -f /dev/nst0
> status; echo;dd if=/dev/nst0 of=/tmp/dattest;echo;cat /tmp/dattest

Try specifying the block size in the dd command:

dd if=/dev/nst0 of=/tmp/dattest ibs=32k obs=32k
                                ^^^^^^^^^^^^^^^
(some implementations of dd may need an explicit setting of input and
output block sizes, so don't just use bs=32k for the moment).


> SCSI 2 tape drive: File number=0, block number=0, partition=0.  Tape
> block size 0 bytes. Density code 0x25 (DDS-3).  Soft error count since
  ^^^^^^^^^^^^^^^^^^

You didn't set the tape's block size. Try 

mt -f /dev/nst0 setblk 32768

to set it to 32k, which is AMANDA's fixed block size.

If this does not help, then I suspect a hardware failure, probably
cabling (LVD?).

-- 
Regards

Chris Karakas
Don´t waste your cpu time - crack rc5: http://www.distributed.net

Reply via email to