Dev/st0 Input Output Error Redhat
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 -f tar /dev/st0 cannot write input/output error /dev/st0 status /dev/st0: Input/output error mt -f /dev/nst0 status /dev/nst0: Input/output error when I linux tape drive input output error run command without a tape in I get: mt -f /dev/nst0 status SCSI 2 tape drive: File number=-1, block number=-1, dev nst0 input output error 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 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
Red Hat Certificate System Red Hat Satellite Subscription Asset Manager Red Hat Update Infrastructure Red Hat Insights Ansible Tower by Red Hat Cloud Computing Back Red Hat CloudForms Red Hat OpenStack Platform Red Hat Cloud Infrastructure Red Hat Cloud Suite Red Hat OpenShift Container Platform Red Hat OpenShift Online Red Hat OpenShift Dedicated Storage Back Red Hat Gluster Storage Red Hat Ceph Storage JBoss Development and Management Back Red Hat JBoss Enterprise Application Platform Red Hat JBoss Data Grid Red https://www.redhat.com/archives/rhl-list/2005-March/msg00771.html Hat JBoss Web Server Red Hat JBoss Portal Red Hat JBoss Operations Network Red Hat JBoss Developer Studio JBoss Integration and Automation Back Red Hat JBoss Data Virtualization Red Hat JBoss Fuse Red Hat JBoss A-MQ Red Hat JBoss BPM Suite Red Hat JBoss BRMS Mobile Back Red Hat Mobile Application Platform Services Back Consulting Technical Account https://access.redhat.com/solutions/1434623 Management Training & Certifications Red Hat Enterprise Linux Developer Program Support Get Support Production Support Development Support Product Life Cycle & Update Policies Knowledge Search Documentation Knowledgebase Videos Discussions Ecosystem Browse Certified Solutions Overview Partner Resources Tools Back Red Hat Insights Learn More Red Hat Access Labs Explore Labs Configuration Deployment Troubleshooting Security Additional Tools Red Hat Access plug-ins Red Hat Satellite Certificate Tool Security Back Product Security Center Security Updates Security Advisories Red Hat CVE Database Security Labs Resources Overview Security Blog Security Measurement Severity Ratings Backporting Policies Product Signing (GPG) Keys Community Back Discussions Red Hat Enterprise Linux Red Hat Virtualization Red Hat Satellite Customer Portal Private Groups All Discussions Start a Discussion Blogs Customer Portal Red Hat Product Security Red Hat Access Labs Red Hat Insights All Blogs Events Customer Events Red Hat Summit Stories Red Hat Subscription Benefits You Asked. We Acted. Open Source Communities Subscriptions Downloads Support Cases Account Back Log In Register Red Hat Account Number: Account Details Newsletter and Contact Preferences User Management Accou
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the http://unix.stackexchange.com/questions/138740/tar-dev-st0-cannot-write-input-output-error 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 other Un*x-like operating systems. Join them; output error 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/st0: Cannot write: Input/output error up vote 3 down vote favorite When we attempt to use tar to write data to an LTO-5 tape, we get the following error. The input output error device starts to write, and then fails. See the tar command and output, followed by the dmesg output. I included the mt status as well. Any help is appreciated. This is an Ultrium 3280 LTO5 drive connected through a SAS interface on RHEL 6. We tried a second drive, and second tape. These are brand new tapes, and new drives. Both of the following commands run without any issues. sudo mt -f /dev/st0 stsetoptions scsi2logical sudo mt -f /dev/st0 erase mt status provides the following sudo mt -f /dev/st0 status SCSI 2 tape drive: File number=0, block number=0, partition=0. Tape block size 0 bytes. Density code 0x58 (no translation). Soft error count since last status=0 General status bits on (41010000): BOT ONLINE IM_REP_EN When we attempt to write some output to the drive, we get the following. The device acts as if it is writing, lights start flashing and starts making noise. sudo tar cvf /dev/st0 /vader tar: Removing leading `/' from member names /vader/ /vader/data0905a-data0906/ /vader/data0905a-data0906/data0905a-FINAL/ /vader/data0905a-data0906/data0905a-FINAL/data0905a.trk /vader/data0905a-data0906/data0905a-FINAL/plots/ /vader/data0905a-data0906/data0905a-FINAL/plots/0905A_trak.ps /vader/data0905a-data0906/data0905a-FINAL/plots/0905A_trak.jpg /vader/data0905a-data0906/data0905a-FINAL/das/ /vader/data0905a-data0906/data0905a-FINAL/das/uw/ /vader/data0905a-data0906/data0905a-FINAL/das/uw/0905tmp.tar /vader/data0905a-data0906/data0905a-FINAL/das/uw/0905nud.tar /vader/data0905a-data0906/data0905a-FINAL/das/uw/0905das.tar /vader/data0905a-data0906/data0905a-FINAL/das/uw/0905wnc.tar /vader/data0905a-data0906/data0905a-FINAL/das/uw/0905bdp.tar /vader/data0905a-data0906/data0905a-FINAL/das/uw/0905vp1.tar /vader/data0905a-data0906/data0905a-FINAL/das/uw/0905