Re: amdump/amrecover problem
2004-07-08 19:06:27
Hi,
I'm sure the tape was loaded because I checked it by running amtape and the
files are restored when I comment out the tapedev "0". Please have a look at
the amidxtaped* file attached. It seems that parameter for the tape device argv
[7]="0" is not what amrecover wants.
Thank you very much,
Co
Quoting Eric Schnoebelen <eric AT cirr DOT com>:
>
> cngo AT nmsu DOT edu writes:
> - I've got the following error when I run amrecover:
> -
> - ---------
> - amrecover> add dumpdates
> - Added /etc/dumpdates
> - amrecover> extract
> -
> - Extracting files using tape drive 0 on host typha.nmsu.edu.
> - The following tapes are needed: Biology-1
> -
> - Restoring files into directory /home/cngo
> - Continue [?/Y/n]? y
> -
> - Extracting files using tape drive 0 on host typha.nmsu.edu.
> - Load tape Biology-1 now
> - Continue [?/Y/n/s/t]? y
> - EOF, check amidxtaped.<timestamp>.debug file on typha.nmsu.edu.
> - amrecover: short block 0 bytes
> - UNKNOWN file
> - amrecover: Can't read file header
> - extract_list - child returned non-zero status: 1
> - Continue [?/Y/n/r]? y
> - amrecover>
> - ------------
>
> What are the contents of amidxtaped.<timestamp>.debug?
> That'd probably be most enlightening.
>
> As a guess, I'd say that the tape `Biology-1' wasn't
> loaded when amidxtaped went to try and read from it. Did you
> see (hear?) the robot load the tape at the after you answered
> yes, and before the above error message occurred.
>
> - That error disappears if I comment out the 'tapedev "0" 'in my amanda.conf
>
> - file
>
> The error disappears, but are you able to restore the
> file?
>
> --
> Eric Schnoebelen eric AT cirr DOT com
> http://www.cirr.com
> If bankers can count, how come they have eight windows and only four
> tellers?
>
amidxtaped.20040708081353.debug
Description: Text document
|
|
|