[flexbackup-help] Can't set blksize
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 (4101): 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 -- # flexbackup -newtape flexbackup version 1.2.1 (http://flexbackup.sourceforge.net) /etc/flexbackup.conf syntax OK | | Checking 'buffer' on this machine... Ok | Checking /bin/sh on this machine... bash1 | | Trying mt defblksize instead of mt setblk Error setting block size Neither of these commands worked: mt -f /dev/nst0 setblk 0 mt -f /dev/nst0 defblksize 0 # I have no problems to perform 'rewind', 'erase' or 'retension' commands via 'mt' on '/dev/nst0' Is there a real chance to use flexbackup with this drive? Thanks, 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=lnkkid=120709bid=263057dat=121642 ___ flexbackup-help mailing list flexbackup-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flexbackup-help
Re: [flexbackup-help] Can't set blksize
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 (4101): 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=lnkkid=120709bid=263057dat=121642 ___ flexbackup-help mailing list flexbackup-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flexbackup-help
Re: [flexbackup-help] Can't set blksize
am 2006-05-03 18:08 schrieb Peter Velan: am 2006-05-03 16:56 schrieb Peter Velan: # 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 Now in full manual mode: # mt -f /dev/nht0 setblk 32768 # mt -f /dev/nht0 rewind # mt -f /dev/nht0 erase # find /var/log/cups -print | afio -o -z -v -b 32k - | dd ibs=32k obs=32k of=/dev/nht0 var/log/cups -- okay var/log/cups/error_log -- okay var/log/cups/access_log -- okay var/log/cups/cups-pdf_log -- okay var/log/cups/page_log -- okay var/log/cups/access_log.2.gz -- okay var/log/cups/error_log.2.gz -- okay var/log/cups/access_log.3.gz -- okay var/log/cups/error_log.3.gz -- okay var/log/cups/access_log.4.gz -- okay var/log/cups/error_log.4.gz -- okay var/log/cups/access_log.5.gz -- okay dd: Schreiben in »/dev/nht0«: Eingabe-/Ausgabefehler afio: - [offset 64k+0]: Fatal error: afio: -: Broken pipe 1+0 Datensätze ein 0+0 Datensätze aus 0 Bytes (0 B) kopiert, 6,38568 Sekunden, 0,0 kB/s # Still no luck. I can't write a single byte to tape! The write protection tab on the cartridge is not in read-only-position! 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=lnkkid=120709bid=263057dat=121642 ___ flexbackup-help mailing list flexbackup-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flexbackup-help