Amanda-Users

2.5.2 amrecover strange message?

2007-05-29 14:19:24
Subject: 2.5.2 amrecover strange message?
From: Jean-Francois Malouin <Jean-Francois.Malouin AT bic.mni.mcgill DOT ca>
To: AMANDA users <amanda-users AT amanda DOT org>
Date: Tue, 29 May 2007 14:17:31 -0400
Hi,
(Sorry if this is a resend)

Finally got to play with the split-tape feature with
amanda-2.5.2-20070523 + a path/fix from Jean-Louis for 'od' on
irix-6.5.27 and so far so good. 
Server was compiled 64bit with native Irix C compiler and 
CFLAGS='-64 -mips4'. 
The test was done using an old SGI O200 4cpu/892MB of memory running
irix-6.5.27m with an adic-18 library with a barcode reader and a
DLT7000 drive (dug out from the attic). I've set up a 47GB local
logical volume (/bigdisk) and a 51GB holdding disk to test all this.

A few things I noticed:

1- with tape_splitsize=4000Mb in the dumptype along with
fallback_splitsize=4000Mb I get the tape to stream at 5kps IF I don't
restrict the holdding disk usage (the whole DLE can fit in it).
However by forcing 'use 10 Gb' in the holddingdisk section and having
split_diskbuffer="/holddisk/split_diskbuffer" I can only get a
transfer rate of ~2.5kps to the tape drive.

Would that be an issue of bandwith between the shared memory map file
and the tape drive?

2- when trying to get the next tape from the changer during the restore
amrecover spits out the message:

    could not stat 'changer': No such file or directory

amrecover successfully completes the restore though.
amanda is configured with

amrecover_do_fsf yes
amrecover_check_label yes
amrecover_changer "changer"

Here is an example of a amrecover test:

/opt/amanda/spantest/sbin/amrecover
AMRECOVER Version 2.5.2-20070523. Contacting server on wart ...
220 wart AMANDA index server (2.5.2-20070523) ready.
Setting restore date to today (2007-05-29)
200 Working date set to 2007-05-29.
200 Config set to spantest.
200 Dump host set to wart.
Use the setdisk command to choose dump disk to recover
amrecover> setdisk /bigdisk
200 Disk set to /bigdisk.
amrecover> lpwd
/holddisk/restore
amrecover> history
200- Dump history for config "spantest" host "wart" disk /bigdisk
201- 2007-05-28-17-33-20 0
spantest-000007:1,2,3,4,5,6,7,8;spantest-000008:1,2,3
201- 2007-05-27-15-04-30 0
spantest-000005:1,2,3,4,5,6,7,8;spantest-000006:1,2,3
201- 2007-05-25 0
spantest-000003:1,2,3,4,5,6,7,8;spantest-000004:1,2,3
201- 2007-05-24 0
spantest-000001:1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16;
spantest-000002:1,2,3,4,5
200 Dump history for config "spantest" host "wart" disk /bigdisk
amrecover> setdate 2007-05-28-17-33-20
200 Working date set to 2007-05-28-17-33-20.
amrecover> settape changer
Using tape "changer" from server wart.
amrecover> ls
2007-05-28-17-33-20 sylvain/
2007-05-28-17-33-20 greg/
2007-05-28-17-33-20 anthonin/
2007-05-28-17-33-20 1/
2007-05-28-17-33-20 0/
2007-05-28-17-33-20 .
amrecover> add anthonin
Added dir /anthonin/ at date 2007-05-28-17-33-20
amrecover> list
TAPE spantest-000007:1,2,3,4,5,6,7,8;spantest-000008:1,2,3 LEVEL 0
DATE 2007-05- 28-17-33-20
        /anthonin
amrecover> extract
Extracting files using tape drive changer on host wart.
The following tapes are needed: spantest-000007 spantest-000008

Restoring files into directory /holddisk/restore
Continue [?/Y/n]? y

Extracting files using tape drive changer on host wart.
Load tape spantest-000007 now
Continue [?/Y/n/s/t]? y
Label mismatch, got spantest-000008 and expected spantest-000007
Looking for tape spantest-000007...
./anthonin/
./anthonin/offset_recons.xfm
./anthonin/registration_anthonin.ps
./anthonin/registration_sechet.ps
Label mismatch, got spantest-000007 and expected spantest-000008
Looking for tape spantest-000008...
Label mismatch, got spantest-000007 and expected spantest-000008
Load tape spantest-000008 now
Continue [?/Y/n/t]? y
could not stat 'changer': No such file or directory
could not stat 'changer': No such file or directory
Looking for tape spantest-000008...
amrecover> quit
200 Good bye.

Thanks!
jf
-- 
<° ><

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