OK.  I can do this.  Let me summarize:

I have a tape labeled "fea12".  This tape like all the tapes if all filesystems were backed up should contain 40 filesystems + front end + back end.

I issued the command

mt -f /dev/tape_norewind fsf 1

42 times before the end of tape occured and I received a i/o error message.

Then I issued

mt rewind

The I issue

amrestore /dev/tape_norewind  fea sdd9

where sdd9 is a bogus filesystem name to force the tape to go to the end.  I get a "0 skip header stuff", followed by 40 filesystem finds, then followed by

amrestore:  41: reached end of tape: date 20030618

Then I issue a "mt rewind" again.

Finally, I issue

amrestore /dev/tape_norewind

which should restore every file on the tape to the local disk area.  Note the tape is written using gnutar.

But, when I do this, I get the following:

fea6::/holding_disk/: amrestore /dev/tape_norewind
amrestore:   0: skipping start of tape: date 20030618 label fea12
amrestore:   1: restoring fea.sda6.20030618.1
amrestore: read error: Input/output error
fea6::/holding_disk/:

which is my problem.    Only a small portion (beginning) of this file is restored.  If is issue

fea6::/holding_disk/: tar tvf fea.sda6.20030618.1
drwxr-xr-x root/root       137 2003-02-10 10:38:40 ./
drwxrwx--- fea/apse         59 2000-06-30 00:19:18 ./APSE10/
drwxrwxr-x fea/apse         90 2000-08-16 17:08:31 ./APSE10/comlib/
drwxrwxr-x fea/apse         20 2000-01-14 21:48:19 ./APSE10/comlib/SAVE/
drwxrwxr-x fea/apse        581 2000-08-16 17:12:38 ./APSE10/comslv/
drwxrwxr-x fea/apse         64 2000-08-15 16:36:15 ./APSE10/fileshks/
drwxrwx--- fea/apse       6280 2000-05-04 16:56:24 ./APSE10/matlib/
drwxrwxr-x fea/apse        171 2000-08-16 17:27:43 ./APSE10/param/
drwxrwx--- fea/apse        289 2000-08-11 14:46:34 ./APSE10/prepro/
drwxrwxr-x fea/apse         24 2000-06-01 14:22:15 ./APSE10/prepro/test/
drwxrwxr-x fea/apse        133 2000-06-07 14:51:30 ./APSE10/preprof/
drwxrwxr-x fea/apse         67 2000-06-07 14:52:38 ./APSE10/preprof/NMENU/
drwxrwxr-x fea/apse         66 2000-06-01 13:52:35 ./APSE10/preprof/OMENU/
drwxrwxr-x fea/apse         50 2000-06-01 12:46:41 ./APSE10/preprof/OMENU/test/
drwxrwxr-x fea/apse        166 2000-08-15 16:29:04 ./APSE10/preprof/RMENU/
drwxrwxr-x fea/apse         80 2000-02-22 16:45:48 ./APSE10/preprof/RMENU/models/
drwxrwxr-x fea/apse         31 1998-04-08 12:20:26 ./APSE10/preprof/falloc/
drwxrwxr-x fea/apse         65 2000-05-26 19:51:18 ./APSE10/preprof/findbc/
drwxrwxr-x fea/apse         29 1998-12-15 13:05:10 ./APSE10/preprof/flip/
drwxrwxr-x fea/apse        167 2000-08-14 13:14:25 ./APSE10/preprof/interp/
drwxrwxr-x fea/apse         17 2000-05-26 19:51:39 ./APSE10/preprof/math/
drwxrwxr-x fea/apse         38 1999-01-24 00:08:39 ./APSE10/preprof/matrices/
drwxrwxr-x fea/apse         35 1998-11-20 12:59:27 ./APSE10/preprof/mkmac/
drwxrwxr-x fea/apse         83 2000-08-11 14:49:37 ./APSE10/preprof/reader/
drwxrwxr-x fea/apse        175 1998-12-15 13:21:41 ./APSE10/preprof/refine/
drwxrwxr-x fea/apse         31 2000-05-26 19:52:46 ./APSE10/preprof/rotate/
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
fea6::/holding_disk/:

If seems there is a problem with the scsi I/O between the tape drive and the hard drive.

Any more good ideas ?

On Sat, 2003-07-19 at 13:02, Gene Heskett wrote:
That doesn't sound as if its the drive to me since 2 drives cannot 
read this tape, its more than likely a bad tape.  I don't think thats 
what you wanted to hear though...

Can you 'mt -f /device fsf nn' where nn is the number of the next file 
on the tape?

This is one of the reasons one should have a tapecycle that is at 
*least* 2*runspercycle*runtapes.  It would be somewhat dated, but 
better than nothing, to back up one dumpcycles worth of tapes in the 
sequence and recover that.
-- 
James D. Freels, Ph.D.
[EMAIL PROTECTED]  or  [EMAIL PROTECTED]
mplayer -cache 100 http://wdvx.microcerv.net/wdvx

Reply via email to