am 2006-05-03 16:56 schrieb Peter Velan: > Hello, > > I'm using a Travan drive on Linux (Debian/Sarge). The drive does not > accept setblk: > > ---------- > # mt -f /dev/nst0 status > drive type = Generic SCSI-2 tape > drive status = 1207960064 > sense key error = 0 > residue count = 0 > file number = 0 > block number = 0 > Tape block size 512 bytes. Density code 0x48 (unknown). > Soft error count since last status=0 > General status bits on (41010000): > BOT ONLINE IM_REP_EN > # > > ---------- > from dmesg: > hdc: Seagate STT3401A, ATAPI TAPE drive > SCSI subsystem driver Revision: 1.00 > hdc: attached ide-scsi driver. > scsi0 : SCSI host adapter emulation for IDE ATAPI devices > Vendor: Seagate Model: STT3401A Rev: 310A > Type: Sequential-Access ANSI SCSI revision: 02
OK, I have changed to direct ATAPI mode (w/out SCSI emulation) > ---------- > from dmesg: > hdc: Seagate STT3401A, ATAPI TAPE drive no more SCSI subsystem and using /dev/nht0 to access the tape > # mt -f /dev/nht0 status > drive type = Generic SCSI-2 tape > drive status = 32768 > sense key error = 0 > residue count = 0 > file number = 0 > block number = 0 > Tape block size 32768 bytes. Density code 0x0 (default). > Soft error count since last status=0 > General status bits on (0): > # I still can't write: > # flexbackup -test-tape-drive > /etc/flexbackup.conf syntax OK > |------------------------------------------------------------ > | Checking 'buffer' on this machine... Ok > | Checking /bin/sh on this machine... bash1 > |------------------------------------------------------------ > At block 0. > > Writing test file #1 > buffer (writer): write of data failed: Input/output error > bytes to write=10240, bytes written=-1, total written 0K > ... > # now with: $buffer='false'; $blksize='32'; # set according to "mt -f /dev/nht0 status" #$mt_blksize = "0"; > # flexbackup -test-tape-drive > /etc/flexbackup.conf syntax OK > |------------------------------------------------------------ > | Checking /bin/sh on this machine... bash1 > |------------------------------------------------------------ > | Rewinding & erasing tape... > | Creating index key 200605031805 > |------------------------------------------------------------ > At block 0. > > Writing test file #1 > dd: Schreiben in »/dev/nht0«: Eingabe-/Ausgabefehler > 1+0 Datensätze ein > 0+0 Datensätze aus > 0 Bytes (0 B) kopiert, 6,41018 Sekunden, 0,0 kB/s "Eingabe-/Ausgabefehler" in English: "Input/output error" What to do now? :-( Peter ------------------------------------------------------- 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 _______________________________________________ flexbackup-help mailing list flexbackup-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flexbackup-help