amrecover and changer with amanda-2.4.4b1
2003-02-24 18:35:02
Hi
I have seen something very interesting on the changelog of
amanda2.4.4b1
it s the ability of amrecover ( and related servers ) to use the
changer.
i have setup successfully amanda with a tapeless configuration with
the chg-multi script.
then i m trying to configure the amrecover to use the the changer
here s the related portion of file on my configuration
amrecover_do_fsf yes
amrecover_check_label yes # amrecover will call amrestore with the
amrecover_changer "changer"
but when i launch amrecover i got the following error
Extracting files using tape drive changer on host backup.int-evry.fr.
Load tape DSK05 now
Continue [?/Y/n/s/t]? Y
EOF, check amidxtaped.debug file on backup.int-evry.fr.
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]? r
when i look at amidxtaped.debug i see
amidxtaped: time 0.351: > HEADER
amidxtaped: time 0.351: > DEVICE=changer
amidxtaped: time 0.351: > HOST=^molure$
amidxtaped: time 0.351: > DISK=^/var/spool/imap1$
amidxtaped: time 0.351: > DATESTAMP=20030223
amidxtaped: time 0.351: > END
amidxtaped: time 0.351: config 'testdisk' valeur
DSK05: label 'changer' not found
changer: got exit: 0 str: 5 7 1
changer_query: changer return was 7 1
changer_query: searchable = 0
changer_find: looking for DSK05 changer is searchable = 0
changer: got exit: 0 str: 5 file:/var/lib/backuppc/amanda/t5
amidxtaped: time 0.438: slot 5: date 20030223 label DSK05 (exact label
match)
amidxtaped: time 0.438: label "DSK05" found
amidxtaped: time 0.438: amrestore_nargs=0
amidxtaped: time 0.438: Ready to execv amrestore with:
path = /usr/local/sbin/amrestore
argv[0] = "amrestore"
argv[1] = "-p"
argv[2] = "-h"
argv[3] = "-l"
argv[4] = "DSK05"
argv[5] = "-f"
argv[6] = "16"
argv[7] = "changer"
argv[8] = "^molure$"
argv[9] = "^/var/spool/imap1$"
argv[10] = "20030223"
amrestore: could not stat changer: No such file or directory
It seems that the changer give the device to use but the daemon
amidxtaped didn't used that value.
is it supported or should i modify the code to make it work?
Thanks in advance.
--
Eric Doutreleau
I.N.T | Tel : +33 (0) 160764687
9 rue Charles Fourier | Fax : +33 (0) 160764321
91011 Evry France | email : Eric.Doutreleau AT int-evry DOT fr
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- amrecover and changer with amanda-2.4.4b1,
Eric . Doutreleau <=
|
|
|