LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 07-08-2008, 08:24 AM   #1
shellarchive
Member
 
Registered: Jan 2007
Posts: 50

Rep: Reputation: 15
problem while restoring data from tape drive using mt


hi,

We are getting error while trying to restore data using mt command from dds tape.

errors are as follows

mt status
o/p -->

SCSI 2 tape drive
File number=0, blocknumber=0, partition=0
Tape block size 512 bytes, Density code 0x26(DDS-4 or QIC -4GB)
Soft error count since last status=0
general status bits on (41010000)
BOT ONLINE IM_REP_EN

tar -tvf /dev/st0
o/p -->
st0: Incorrect block size
tar: /dev/st0: cannot read: Input/output error
tar: At beginning of tape, quitting now
tar: error is not recoverable ; exiting now

we tried setting blocking factor to 1 (1*512=512)
but still getting same error.

tar -b 1 -tvf /dev/st0 aswellas tar -b 512 /dev/st0
o/p -->
st0: Incorrect block size
tar: /dev/st0: cannot read: Input/output error
tar: At beginning of tape, quitting now
tar: error is not recoverable ; exiting now

please help.
I don't understand what does block size means.
 
Old 07-09-2008, 10:54 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Quote:
Originally Posted by shellarchive View Post
I don't understand what does block size means.
Block size means the same thing on tape as it does on disk. I'm not sure what format dds refers to. I'm familiar with DAT and DLT as being the most popular formats to use in business. DLT tapes typically use a block size of 32768 bytes.

Try using a tape cleaning cartridge, then try to reread the tape.

And, does this only happen on one tape or several? Tapes go bad after a few years.

Last edited by stress_junkie; 07-09-2008 at 10:58 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tape drive problem mahabooba Linux - Hardware 3 02-14-2006 11:44 AM
Restoring data from tape backups enygma Linux - General 8 11-11-2004 01:29 PM
Tape Drive Problem!! tranquil222 Linux - Software 1 07-08-2004 12:48 AM
Tape drive problem ahmedmekawy Solaris / OpenSolaris 0 05-12-2004 06:58 AM
Help restoring from tape and tar...... TheDirtyPenguin Linux - Software 1 02-17-2004 07:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration