SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
amdump/amrecover problem
Author Message
Post amdump/amrecover problem 
Hi,

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>
------------

That error disappears if I comment out the 'tapedev "0" 'in my amanda.conf file

-----amanda.conf--
tpchanger "chg-scsi" # the tape-changer glue script
tapedev "0"
changerfile "/usr/pkg/etc/amanda/backup/chg-scsi.conf"
-------

However if I do that, amcheck generates the following error:

-----------
% amcheck backup
Amanda Tape Server Host Check
-----------------------------
Holding disk /data/amanda: 24318770 KB disk space available, that's plenty
amcheck-server: could not get changer info: check your config and use a config
file for chg-scsi

Amanda Backup Client Hosts Check
--------------------------------
Client check: 1 host checked in 0.060 seconds, 0 problems found

(brought to you by Amanda 2.4.4p2)
---------------

if I change 'tapedev "0" ' to 'tapedev "enrst0"' for example, amrecover works
well but amcheck still gives that error message. As I understand from amanda
documents, the value of tapedev is the configuration to use, so it should be a
number between 0 and 9.

I don't think it's good idea to set 'tapedev "0"' when running amdump and
comment it out when running amrecover. I would appreciate it very much if
anyone could advise me how to resolve that problem.

Thank you very much,

Co

Post amdump/amrecover problem 
cngo < at > nmsu.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.com http://www.cirr.com
If bankers can count, how come they have eight windows and only four tellers?

Post amdump/amrecover problem 
On Thursday 08 July 2004 14:52, Eric Schnoebelen wrote:
cngo < at > nmsu.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.

There are several debug and diagnostics files at "/tmp/amanda". They follow
that convention. Do you told to amanda to backup the /tmp directory (or /
filesystem) ? Or maybe your /tmp is full, preveting the creation of the
file...


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.com http://www.cirr.com
If bankers can count, how come they have eight windows and only four
tellers?

---------------------------------------------------------------
Esta mensagem foi verificada pelo e-mail seguro Maxiweb.
McAfee VirusScan / Vacina v4374 atualizada em 07/07/2004
powered by wstation (www.wstation.com.br)

--
Miguel Angelo Rozsas
K3M Consultoria
19 3232 8886

---------------------------------------------------------------
Esta mensagem foi verificada pelo e-mail seguro Maxiweb.
McAfee VirusScan / Vacina v4374 atualizada em 07/07/2004
powered by wstation (www.wstation.com.br)

Post amdump/amrecover problem 
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.com>:


cngo < at > nmsu.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.com http://www.cirr.com
If bankers can count, how come they have eight windows and only four
tellers?



Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB