Mt /dev/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 errors. for example: mt tar /dev/st0 cannot write input/output error -f /dev/st0 status /dev/st0: Input/output error mt -f /dev/nst0 status /dev/nst0: Input/output error
Linux Tape Drive Input Output Error
when I run command without a tape in I get: mt -f /dev/nst0 status SCSI 2 tape drive: File number=-1, tar cannot read: input/output error 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 IM_REP_EN -Tape drive: HP SureStore T4i -Linux 2.6.9-1.667 i686 tar: cannot write: input/output error 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
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 Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and https://www.redhat.com/archives/rhl-list/2005-March/msg00771.html other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top tar: /dev/nst0: Cannot write: Input/output error when taking backup up vote 2 down vote favorite When I try to take backup of http://unix.stackexchange.com/questions/126497/tar-dev-nst0-cannot-write-input-output-error-when-taking-backup data more than 1MB in a tape (LTO3) using tar command it showing me the following error. xyz@localhost# tar -cvf /dev/nst0 file1.tar file1.tar tar: /dev/nst0: Cannot write: Input/output error tar: Error is not recoverable: exiting now Output of mt -f /dev/st0 status: SCSI 2 tape drive: File number=0, block number=0, partition=0. Tape block size 0 bytes. Density code 0x44 (LTO-3). Soft error count since last status=0 General status bits on (41010000): BOT ONLINE IM_REP_EN Output of dmesg: st0: Sense Key : Aborted Command [current] st0: Add. Sense: Information unit iuCRC error detected and st0: <
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 http://forums.fedoraforum.org/showthread.php?t=262434 FedoraForum Search User Name Remember Me? Password Forgot Password? Join Us! Register All http://www.linuxquestions.org/questions/slackware-14/tar-on-dev-st0-input-output-error-434025/ 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 output error Registered User Join 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 mt /dev/nst0 input/output OS's recognize the drives and they 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):
HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware tar on /dev/st0 input/output error User Name Remember Me? Password Slackware This Forum is for the discussion of Slackware Linux. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 04-11-2006, 05:45 AM #1 Alkisx Member Registered: Apr 2006 Location: Greece Distribution: Slackware Posts: 74 Rep: tar on /dev/st0 input/output error Hello there, I am trying to do a backup on my tape drive. I am playing on about two weeks with tar on /dev/st0 but still not managed to do a successfull backup. I use DDS-3 tapes (12/24 GB). The problem seems to be (I guess) that somehow the system (mt?) cannot see when the tape ends, and it tries to continue copying data, ending in an input/output error. I managed to take a backup once, using also multiple volumes mode, but it only finished without errors by specifying file sizes with the -L option and giving file chunks of 11GB instead of 1