Nst0 Input Output Error
Contents |
Thu, 03 Mar 2005 15:14:04 -0500 Hello everyone, I am trying to get my scsi tape drive to work. Not matter what I do I get I/O tar /dev/st0 cannot write input/output error errors. for example: mt -f /dev/st0 status /dev/st0: Input/output error mt -f
Linux Tape Drive Input Output Error
/dev/nst0 status /dev/nst0: Input/output error when I run command without a tape in I get: mt -f /dev/nst0 status dev nst0 input output error SCSI 2 tape drive: File number=-1, block number=-1, partition=0. Tape block size 0 bytes. Density code 0x0 (default). Soft error count since last status=0 General status bits on (50000): DR_OPEN tar cannot read: input/output error IM_REP_EN -Tape drive: HP SureStore T4i -Linux 2.6.9-1.667 i686 GNU/Linux ______________________________________________________________________________________ Command dmesg | grep scsi, shows: scsi: ***** BusLogic SCSI Driver Version 2.1.16 of 18 July 2002 ***** scsi: Copyright 1995-1998 by Leonard N. Zubkoff
Tar: Cannot Write: Input/output Error
0, Device: 16, Address: 0x41300000, Host Adapter SCSI ID: 7 scsi0: Parity Checking: Enabled, Extended Translation: Enabled scsi0: Synchronous Negotiation: Fast, Wide Negotiation: Disabled scsi0: Disconnect/Reconnect: Enabled, Tagged Queuing: Enabled scsi0: Driver Queue Depth: 255, Scatter/Gather Limit: 128 segments scsi0: Tagged Queue Depth: Automatic, Untagged Queue Depth: 3 scsi0: SCSI Bus Termination: Enabled, SCAM: Disabled scsi0: *** BusLogic BT-930 Initialized Successfully *** scsi0 : BusLogic BT-930 Attached scsi tape st0 at scsi0, channel 0, id 4, lun 0 ------------------------------------------------------------------------------------Command lsmod, reveals: Module Size Used by parport_pc 24705 1 lp 11565 0 parport 41737 2 parport_pc,lp autofs4 24005 0 i2c_dev 10433 0 i2c_core 22081 1 i2c_dev sunrpc 160421 1 md5 4033 1 ipv6 232577 12 uhci_hcd 31449 0 e100 39364 0 mii 4673 1 e100 floppy 58609 0 st 34781 0 BusLogic 71645 0 scsi_mod 118417 2 st,BusLogic dm_snapshot 17029 0 dm_zero 2369 0 dm_mirror 23341 2 ext3 116809 2 jbd 74969 1 ext3 dm_mod 54741 6 dm_snapshot,dm_zero,dm_mirror -------------------------------------------------------------------------------- /proc/scsi/scsi: Attached devices: Host: scsi0 Channel: 00 Id: 04 Lun: 00 Vendor: HP Model: T4000s Rev: 1.07 Type: Sequential-Access ANSI SCSI revision: 02 -------------------------------------
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can https://www.redhat.com/archives/rhl-list/2005-March/msg00771.html ask a question Anybody can answer The best answers are voted up and rise to the top HP Storageworks 448 tape drive input/output error with Ubuntu up vote 0 down vote favorite I'm trying to set a backup to tape of a machine using flexbackup. However any attempt to write to the tape drive (via either flexbackup or just tar) results in "/dev/st0: http://serverfault.com/questions/125807/hp-storageworks-448-tape-drive-input-output-error-with-ubuntu Input/output error" The machine seems to recognise the drive (HP Storageworks Ultrium 448) and that there's a tape in it and "mt status" seems to work... "mt -f /dev/st0 rewind" or "erase" throw no errors... root@stor001:/# mt status SCSI 2 tape drive: File number=0, block number=0, partition=0. Tape block size 0 bytes. Density code 0x42 (LTO-2). Soft error count since last status=0 General status bits on (41010000): BOT ONLINE IM_REP_EN root@stor001:/# cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: HL-DT-ST Model: DVDRAM GSA-4084N Rev: KS02 Type: CD-ROM ANSI SCSI revision: 05 Host: scsi2 Channel: 00 Id: 03 Lun: 00 Vendor: HP Model: Ultrium 2-SCSI Rev: S65D Type: Sequential-Access ANSI SCSI revision: 03 "tell" does however root@stor001:/# mt -f /dev/st0 tell /dev/st0: Input/output error Based on a forum post I found, I tried: root@stor001:/# dd if=/dev/zero of=/dev/nst0 bs=1024 count=10 10+0 records in 10+0 records out 10240 bytes (10 kB) copied, 5.0815 s, 2.0 kB/s which gave the person on the forum an error but seems to work for me. If anyone has any suggestions, I'm all ears... backup ubuntu-9.10 tape s
Common F23 Bugs Common F24 Bugs Communicate with Fedora The Documents Bug Reports Fedora Update System (Bodhi) Fedora Build System (Koji) Official Spins FedoraForum.org > Fedora 23/24 > Hardware & Laptops Tape input/output error FedoraForum Search http://forums.fedoraforum.org/showthread.php?t=262434 User Name Remember Me? Password Forgot Password? Join Us! Register All Albums FAQ Today's Posts Search Hardware & Laptops Help with your hardware, including laptop issues Google™ Search FedoraForum Search Red Hat Bugzilla Search Search Forums Show Threads Show Posts Tag Search Advanced Search Go to Page... Thread Tools Search this Thread Display Modes #1 3rd May 2011, 02:46 AM AlwaysLearning Offline Registered User Join output error Date: Dec 2004 Posts: 40 Tape input/output error Hi all, I'm either missing the obvious or have four identically defective tape drives. Each is a Seagate or IBM Travan drive (yes, I know they're old and I need to access the data; they were in Win boxes) using QIC-80/DC-2120 media. I've been trying to solve this using three Fedora boxes (different versions) and one Debian machine. The OS's recognize the drives and they input output error show up as /dev/st0. more /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: ATA Model: WDC WD1600JB-00D Rev: 65.1 Type: Direct-Access ANSI SCSI revision: 05 Host: scsi1 Channel: 00 Id: 00 Lun: 00 Vendor: HL-DT-ST Model: DVDRAM GSA-4163B Rev: A103 Type: CD-ROM ANSI SCSI revision: 05 Host: scsi1 Channel: 00 Id: 01 Lun: 00 Vendor: Seagate Model: STT20000A Rev: 8A51 Type: Sequential-Access ANSI SCSI revision: 02 dmesg | grep scsi scsi0 : pata_amd scsi1 : pata_amd scsi 0:0:0:0: Direct-Access ATA WDC WD1600JB-00D 65.1 PQ: 0 ANSI: 5 scsi 1:0:0:0: CD-ROM HL-DT-ST DVDRAM GSA-4163B A103 PQ: 0 ANSI: 5 scsi 1:0:1:0: Sequential-Access Seagate STT20000A 8A51 PQ: 0 ANSI: 2 sd 0:0:0:0: Attached scsi generic sg0 type 0 scsi 1:0:0:0: Attached scsi generic sg1 type 5 scsi 1:0:1:0: Attached scsi generic sg2 type 1 sr0: scsi3-mmc drive: 40x/40x writer dvd-ram cd/rw xa/form2 cdda tray sr 1:0:0:0: Attached scsi CD-ROM sr0 scsi2 : sata_nv scsi3 : sata_nv st 1:0:1:0: Attached scsi tape st0 scsi4 : sata_nv scsi5 : sata_nv dmesg | grep tape st 1:0:1:0: Attached scsi tape st0 With no media in the drives, I get a status report; with media inserted, I get the same input/output errors. Examples (all as root): With tape inserted: # mt -f /dev/st0 status /dev/st0: Input/output error Wi