Home > Output Error > Tar /dev/st0 Cannot Write Input/output Error

Tar /dev/st0 Cannot Write Input/output Error

Contents

We Acted. The block size of the tape drive when no tape is present is 0 bytes when tape is present is 512 bytes So i thought of changing the block size of Please place\n"); fprintf (stderr, " the tape drive on-line and rerun this program.\n"); return(-1); } /* rewind the tape drive */ memset ((struct mtop *) &magtape_ops, 0, sizeof(struct mtop)); magtape_ops.mt_op = Show 0 replies Actions Remove from profile Feature on your profile More Like This Retrieving data ... my review here

For example (cpio, tar, etc.) give the following error messages: tar (child): /dev/st0: Cannot read: Input/output error tar (child): At beginning of tape, quitting now tar (child)... Please visit this page to clear all LQ-related cookies. Leave a comment to let us know how we could improve. Blogs Recent Entries Best Entries Best Blogs Blog List Search Blogs Home Forums HCL Reviews Tutorials Articles Register Search Search Forums Advanced Search Search Tags Search LQ Wiki Search Tutorials/Articles Search https://forums.contribs.org/index.php?topic=21399.0

Tar /dev/st0 Cannot Write Input/output Error

but I am not able to copy data into the device using the "tar" command It gives me input / output error. You might want to check the drives manual about cleaningfirst but here are some cleaning cartridge links.http://www.ibuyernet.com/prod~id~122660~TDK_RCL-11.htmlhttp://www.bhphotovideo.com/bnh4/controller/home?O=&A=ShowProduct&Q=&sku=163766--Tom Penney <***@visi.com> Shawn 2005-01-17 12:43:16 UTC PermalinkRaw Message On 17 Oct 2003 22:48:38 -0500Post Code: [email protected]:/# mt status SCSI 2 tape drive: File number=0, block number=0, partition=0.

Adv Reply March 24th, 2010 #3 calyx View Profile View Forum Posts Private Message Visit Homepage First Cup of Ubuntu Join Date Apr 2005 Location Dublin, Ireland Beans 8 DistroUbuntu Tenant paid rent in cash and it was stolen from a mailbox. Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.Just copy and paste the BBCode HTML Markdown MediaWiki reStructuredText code below into your site. Linux (server) Forum Dev Nst0 Input Output Error Density code 0x48 (no translation).Soft error count since last status=0General status bits on (1010000):ONLINE IM_REP_EN2) Backup to [email protected]:~# dd if=OpenDialect050.tar.gz of=/dev/st0 bs=128k192+1 records in192+1 records out25210505 bytes (25 MB) copied, 16.6715

Current Customers and Partners Log in for full access Log In New to Red Hat? Linux Tape Drive Input Output Error But I get it with a few different tapes:***@ttkd:~# tar -cvf /dev/st0 mailmail/mail/sent-mailmail/saved-messagestar: /dev/st0: Warning: Cannot close: Input/output error***@ttkd:~# mt -f /dev/st0 rewind***@ttkd:~# tar -tvf /dev/st0tar: /dev/st0: Cannot read: Input/output errortar: Resources Join | Indeed Jobs | Advertise Copyright © 1998-2016 ENGINEERING.com, Inc. share|improve this answer edited Apr 21 '10 at 12:16 answered Apr 20 '10 at 12:53 Kamy 463 It was the 'scsi2logical' option, I was missing.

Or, am I doing tar and cpio commands incorrectly?The cpio command is there because I tried doing a cpio prior to this, and it failed as well.--ShawnThe difficult we do today; Are you new to LinuxQuestions.org? Tape block size 0 bytes. thronh View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by thronh Thread Tools Show Printable Version Email this Page Search this Thread Advanced

  • October 06, 2016, 08:39:23 AM Welcome, Guest Please login or register. 1 Hour 1 Day 1 Week 1 Month Forever Login with username, password and session length
  • discards it) to test whether you can read the entire tape.Judging by the result it sounds like your tape device is not correctly configured on that system.What does mt -f /dev/st0
  • Wiki Forums Bugs Lists Manual FAQ Howto Contribs Download Donate Search Login Register Contribs.org > Legacy Forums > General Discussion (Legacy) > Topic: Tape error /dev/st0: Input/output error « previous next

Linux Tape Drive Input Output Error

In the meantime, I'll look into the boot disk option. you can try this out You might want to check the drives manual about cleaningfirst but here are some cleaning cartridge links.http://www.ibuyernet.com/prod~id~122660~TDK_RCL-11.htmlhttp://www.bhphotovideo.com/bnh4/controller/home?O=&A=ShowProduct&Q=&sku=163766It's a used DAT drive with no manual. Tar /dev/st0 Cannot Write Input/output Error This is how I updated the bios on my dell server - the boot disk option was listed under windows on their website as you needed to download and run a Tar Cannot Read Input Output Error asked 6 years ago viewed 2003 times active 6 years ago Related 0CA ArcServe r11.1 - have to switch Tape Drive Offline then Online to finish backup2Backups for online businesses -

Updated 2012-09-16T02:04:13+00:00 - English English Release Found: Red Hat Enterprise Linux AS 2.1 Symptom: I need to read data from a tape drive that is write protected, but every command gives http://vootext.com/output-error/dev-st0-cannot-read-input-output-error.html Optimise Sieve of Eratosthenes RattleHiss (fizzbuzz in python) Rejected by one team, hired by another. For details and our forum data attribution, retention and privacy policy, see here current community blog chat Server Fault Meta Server Fault your communities Sign up or log in to customize Ubuntu Logo, Ubuntu and Canonical Canonical Ltd. Tar: Cannot Write: Input/output Error

Learn more about Red Hat subscriptions Article Type General Tags hardware tape Was this helpful? Open Source Communities Subscriptions Downloads Support Cases Account Back Log In Register Red Hat Account Number: Account Details Newsletter and Contact Preferences User Management Account Maintenance My Profile Notifications Help Log Code: struct mtop magtape_ops; struct mtget magtape_get; int fd; /* Open the tape drive, read-only mode */ fd = open (tape_drive, O_RDONLY); if (fd < 0) { perror ("open"); fprintf (stderr, get redirected here View Responses Resources Overview Security Blog Security Measurement Severity Ratings Backporting Policies Product Signing (GPG) Keys Discussions Red Hat Enterprise Linux Red Hat Virtualization Red Hat Satellite Customer Portal Private Groups

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. I took the hardware apart and really cleaned it a lot, then it worked.Thanks !!!!!Beast Logged FloydWales Guest Scsi Tape Drive « Reply #3 on: April 07, 2004, 04:47:26 PM » Perhaps you need a fresh head cleanercartridge.

Density code 0x42 (LTO-2).

I'm planning to use the latest version of Ubuntu to backup and restore from tapes. Thank you. 130Views Tags: none (add) This content has been marked as final. Posting Guidelines Promoting, selling, recruiting, coursework and thesis posting is forbidden.Tek-Tips Posting Policies Jobs Jobs from Indeed What: Where: jobs by Link To This Forum! The time now is 01:39 AM.

I've cleaned the heads a few times to see if I can get it to work, but each time it does the same thing. Thanks Logged Print Pages: [1] Go Up « previous next » Contribs.org > Legacy Forums > General Discussion (Legacy) > Topic: Tape error /dev/st0: Input/output error SMF 2.0.11 | SMF I am able to copy data into the device using the "cpio" command.. useful reference Density code 0X42 (no translation)soft error count since last status=0General status bits on (45010000):BOT WR_PROT ONLINE IM_REP_EN Red Flag This Post Please let us know here why this post is inappropriate.

Click Here to receive this Complete Guide absolutely free. Register If you are a new customer, register now for access to product evaluations and purchasing capabilities. My girlfriend has mentioned disowning her 14 y/o transgender daughter Is it decidable to check if an element has finite order or not? Tango Icons Tango Desktop Project.

Open Source Communities Comments Helpful 1 Follow Why do I get the error '/dev/st0: Cannot read: Input/output error' with a tape drive while using the tar command in Red Hat Enterprise