Hi,

I've read the online wiki howto's about setting up virtual tapes in a
RAIT but I can't wrap my head around how to label the volumes.

I first setup a single vtape changer with 

define changer "vtapes-1" {
        tpchanger "chg-disk:/vtapes-1"
        property "num-slot" "30"
        property "auto-create-slot" "yes"
}
tpchanger "chg-disk:/vtapes-1"

I then labeled the tapes and all is fine. 

Now I add a second disk and configure the RAIT as:

define changer "vtapes-1" {
        tpchanger "chg-disk:/vtapes-1"
        property "num-slot" "30"
        property "auto-create-slot" "yes"
}
define changer "vtapes-2" {
        tpchanger "chg-disk:/vtapes-2"
        property "num-slot" "30"
        property "auto-create-slot" "yes"
}
tpchanger "chg-rait:{vtapes-1,vtapes-2}"

Now how do I proceed? I have enabled autolabel so I thought it would
do things automatically but amcheck tells me:

~# /home/amanda/sbin/amcheck vtapes-home
Amanda Tape Server Host Check
-----------------------------
slot {1,1}: Volume not labeled
amcheck-device: Can't call method "make_new_tape_label" on an
undefined value at /home/amanda/perl/Amanda/Changer.pm line 1611.

Server check took 0.418 seconds

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

(brought to you by Amanda 3.3.2)

Thanks!
jf

Reply via email to