Amanda-Users

Re: problems running amrecover

2003-07-10 17:08:49
Subject: Re: problems running amrecover
From: "C. Wilson" <cwilson AT cooketech DOT net>
To: Paul Bijnens <paul.bijnens AT xplanation DOT com>, Amanda Users <amanda-users AT amanda DOT org>
Date: Thu, 10 Jul 2003 16:07:02 -0500
I figured out the problem, I was using the SCSI tapetype instead of the
IDE for the STT8000A. Thanks for the fast response Paul and redirecting
my focus on the tape drive, instead of gzip.

What it should be for IDE:

define tapetype STT8000A {
    comment "STT8000A Tape Device"
    length 3850 mbytes     # 4/8 Gig tapes
    filemark 0 kbytes       # I don't know what this means
    speed 505 kbytes
}


Thanks,

CWilson

"C. Wilson" wrote:
> 
> Paul Bijnens wrote:
> >
> > C. Wilson wrote:
> > >
> > > amrestore:   0: skipping start of tape: date 20030709 label VOL02
> > > amrestore:   1: restoring plate.tech.net._.20030709.0
> > >
> > > gzip: stdin: not in gzip format
> > > Error 32 (Broken pipe) offset 26624+26624, wrote 0
> > > amrestore: pipe reader has quit in middle of file.
> > > amidxtaped: time 12.741: amrestore terminated normally with status: 2
> > > amidxtaped: time 12.741: rewinding tape ...
> > > amidxtaped: time 24.756: done
> > > amidxtaped: time 24.756: pid 10098 finish time Thu Jul 10 11:53:04 2003
> >
> > What is the file header on the tape? Try:
> >
> >    amrestore -h /dev/the/tape
> >
> # /usr/local/sbin/amrestore -h /dev/nht0
> amrestore:   0: skipping start of tape: date 20030709 label VOL02
> amrestore:   1: restoring pluto.chi.cooketech.net._.20030709.0
> 
> gzip: stdin: not in gzip format
> Error 32 (Broken pipe) offset 26624+26624, wrote 0
> amrestore: pipe reader has quit in middle of file.
> 
> 
> > What is the blocksize of your tape device?  Try:
> >
> >     mt -f /dev/the/tape status
> # mt -f /dev/ht0 status
> SCSI 2 tape drive:
> File number=0, block number=0, partition=0.
> Tape block size 512 bytes. Density code 0x0 (default).
> Soft error count since last status=0
> General status bits on (0):
> 
> >
> > (I don't remember how solaris reacts to different blocksizes,
> > must be using to much linux here.)
> No Solaris needed, just Linux (RedHat 7.2)
> >
> > --
> > Paul Bijnens, Xplanation                            Tel  +32 16 397.511
> > Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
> > http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT 
> > com
> > ***********************************************************************
> > * I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
> > * quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
> > * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
> > * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
> > * kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
> > * ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
> > ***********************************************************************
>

<Prev in Thread] Current Thread [Next in Thread>