PDA

View Full Version : Amanda 2.5.2p1 and Quantum DLT V4



McAldo
January 13th, 2008, 04:42 AM
Hello,

does amanda work with a Quantum DLT V4 SATA II tape drive?
I've trouble with the amanda tool amtapetype which can't create a configuration for the driver.



> amtapetype -f /dev/nst0 -e 160G -t DLTV4
Writing 256 Mbyte compresseable data: 28 sec
Writing 256 Mbyte uncompresseable data: 28 sec
Estimated time to write 2 * 163840 Mbyte: 35840 sec = 9 h 57 min
wrote 5033088 32Kb blocks in 96 files in 16082 seconds (Input/output error)
amtapetype: could not rewind /dev/nst0: Input/output error


Can some one give me a hint to solve the problem?

McAldo

McAldo
January 23rd, 2008, 01:14 PM
Ok, I have make some tests and I think it is a bug in amanda.
I try a tipp from a user in the irc channel #amanda on freenode.net:


> mt -f /dev/nst0 rewind
l> dd if=/dev/zero of=/dev/nst0 bs=32768 count=5033088
5033088+0 Datensätze ein
5033088+0 Datensätze aus
164924227584 Bytes (165 GB) kopiert, 15786,8 Sekunden, 10,4 MB/s
l> mt -f /dev/nst0 rewind

No errors.

I have compile amanda from sourceforge and install it with ./configure, make, make install and amtapetype fails after wrote 96 files.

Should I make a bug report?

McAldo

McAldo
January 24th, 2008, 08:57 PM
Some more tests and i think it is not a bug in amanda. :-)


> time dd if=/dev/zero of=/dev/nst0 bs=32768
dd: Schreiben von „/dev/nst0“: Eingabe-/Ausgabefehler
dd: Schließen von Ausgabedatei „/dev/nst0“: Eingabe-/Ausgabefehler

real 263m58.277s
user 0m3.944s
sys 3m54.539s


To configure the tape device at boot time I use this /etc/stinit:


# Quantum DLT-V4
# 0x51 160.0 GB (DLTtape VS1)
manufacturer="QUANTUM" model="DLT-V4" revision="0A00" {
timeout=3600
long-timeout=14400
can-partitions=0
drive-buffering=1
no-wait=0
buffering=0
async-writes=0
read-ahead=1
two-fms=0
auto-lock=0
fast-eom=1
can-bsr=1
noblklimits=0
mode1 blocksize=0 density=0x51 compression=0 # DLT-V4 density, compression off
mode2 blocksize=0 density=0x51 compression=0 # DLT-V4 density, compression off
mode3 blocksize=0 density=0x50 compression=1 # VS160 density, compression on
mode4 blocksize=0 density=0x40 compression=1 # VS80 density, compression on
}

Perhaps the tape device is damage?

McAldo