Re: problems running amrecover
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, XplanationTel +32 16 397.511 > > Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax +32 16 397.512 > > http://www.xplanation.com/ email: [EMAIL PROTECTED] > > *** > > * 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 * > > *** >
Re: problems running amrecover
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, XplanationTel +32 16 397.511 > Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax +32 16 397.512 > http://www.xplanation.com/ email: [EMAIL PROTECTED] > *** > * 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 * > *** -- Cheryl Wilson UNIX Systems Engineer Cooke Technologies
Re: problems running amrecover
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 What is the blocksize of your tape device? Try: mt -f /dev/the/tape status (I don't remember how solaris reacts to different blocksizes, must be using to much linux here.) -- Paul Bijnens, XplanationTel +32 16 397.511 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax +32 16 397.512 http://www.xplanation.com/ email: [EMAIL PROTECTED] *** * 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 * ***
problems running amrecover
First, let me start by saying I don't have much Admin. experience with Linux. I offered to help a friend get Amanda running on his Linux box (RedHat 7.2), since I installed it on my Solaris 8 servers without any problems. I installed version 2.4.4 and got it configured as a server without any problems. I'm able to do an "amdump", but I keep getting the following errors when I try to do an "amrecover" Continue [?/Y/n/s/t]? y tar: ./home/cwilson/inetd.conf: Not found in archive tar: Error exit delayed from previous errors extract_list - child returned non-zero status: 2 Continue [?/Y/n/r]? I've gone through my debug logs and I was able to find the following errors in the amidxtaped debug file. 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 EXTRA INFO: Tape drive is a Seagate STT8000A define tapetype STT8000A { comment "STT8000A Tape Device" length 4000 mbytes # 4/8 Gig tapes filemark 22 kbytes # I don't know what this means speed 551 kbytes } In my disklist I'm calling this dump type: define dumptype Scomp-nohold { comment "partitions on amanda server straight to tape" program "GNUTAR" index yes compress client best exclude list ".amanda.excludes" holdingdisk no priority high } Here's some version info: gzip 1.3 gtar 1.13.25 Any help would be greatly appreciated. Thanks, -- CWilson