Hello all.
I'm running amanda 2.4.2p2 on a Solais8 Ultra 5 box. I have an Exabyte 215M
robot with a Mammoth2 drive.
amcheck runs clean and amdump works great. I just got all of this
configured and running yesterday. I was going to test amrecover, but am
stuck with the following error:
------------------------------------------------
amrecover> pwd
/opt/HIARCjb/man/man1
amrecover> ls
2001-06-22 .
2001-06-22 jbstatus.1
amrecover> add jbstatus.1
Added /HIARCjb/man/man1/jbstatus.1
amrecover> extract
Extracting files using tape drive 0n on host malt.
The following tapes are needed: DailySet11
Restoring files into directory /
Continue? [Y/n]: y
Load tape DailySet11 now
Continue? [Y/n]: y
EOF, check amidxtaped.debug file on malt.
amrecover: short block 0 bytes
UNKNOWN file
amrecover: Can't read file header
extract_list - child returned non-zero status: 1
Continue? [Y/n]: n
amrecover>
------------------------------------------------------------
No matter what I do, amrecover (run as user root) works great until I issue
the extract command, and then I always get the same error
EOF, check amidxtaped.debug
UNKNOWN file
Here is the amidxtaped.debug file
--------------------------------------------
malt% more amidxtaped.20010622102338.debug
amidxtaped: debug 1 pid 1459 ruid 15 euid 15 start time Fri Jun 22 10:23:38
2001
amidxtaped: version 2.4.2p2
> SECURITY USER root
bsd security: remote host malt.nctimes.com user root local user amanda
amandahosts security check passed
> 6
amrestore_nargs=6
> -h
> -p
> 0n
> malt.nctimes.com
> ^/opt$
> 20010622
Ready to execv amrestore with:
path = /usr/local/sbin/amrestore
argv[0] = "amrestore"
argv[1] = "-h"
argv[2] = "-p"
argv[3] = "0n"
argv[4] = "malt.nctimes.com"
argv[5] = "^/opt$"
argv[6] = "20010622"
amrestore: could not open tape 0n: No such file or directory
amidxtaped: amrestore terminated normally with status: 2
amidxtaped: could not stat 0n
could not stat 0n
amidxtaped: pid 1459 finish time Fri Jun 22 10:23:38 2001
----------------------------------------
But, I do not see any permission issues as I can run a "mt stat" with no
problems:
malt# mt -f /dev/rmt/0n stat
Exabyte Mammoth2 tape drive:
sense key(0x0)= No Additional Sense residual= 0 retries= 0
file no= 0 block no= 0
malt#
Can anyone help point me in the right direction?
Any help much appreciated.
Thanks.