Am 2016-07-20 um 16:55 schrieb Jean-Louis Martineau: > Nest time,cut&paste the error,so I don't have to reread all previous > post on the threads to find it.
ok, sorry > I see a different problem: > > Will write label 'vtape-005-001' to new volume in slot 0:6. > > I think the label should be 'vtape-001-006'. > What is in the changerfile? It should have the meta label which should > be 'vtape-001'. > If you don't set a changerfile, it is the 'state' file in the disk > directory. The relevant parts of amanda.conf (I think): autolabel "$m-%%%" any meta-autolabel "$c-%%%" define changer disk1 { tpchanger "chg-disk:/mnt/externaldisk1" property "num_slot" "20" property "auto-create-slot" "yes" property "removable" "yes" property "MOUNT" "yes" property "UMOUNT" "yes" property "UMOUNT-LOCKFILE" "/etc/amanda/vtape/externaldisk1.lock" property "UMOUNT-DELAY" "1" } define changer disk2 { tpchanger "chg-disk:/mnt/externaldisk2" property "num_slot" "20" property "auto-create-slot" "yes" property "removable" "yes" property "MOUNT" "yes" property "UMOUNT" "yes" property "UMOUNT-LOCKFILE" "/etc/amanda/vtape/externaldisk2.lock" property "UMOUNT-DELAY" "1" } define changer aggregate { tpchanger "chg-aggregate:{disk1,disk2}" property "state_filename" "/etc/amanda/vtape/aggregate.stats" } tpchanger "aggregate" columnspec "OrigKB=1:9,OutKB=1:9,TapeRate=1:6,DumpRate=1:6" tapetype HARD-DISK labelstr "vtape-[0-9]*" -- changerfile not set so far, so it is: $ cat /mnt/externaldisk1/state $STATE = { 'meta' => 'vtape-005', 'drives' => { '/mnt/externaldisk1/drive0' => {} } }; Second disk not attached now, as mentioned. -- # amtape vtape inventory mount: UUID=fae458a3-da30-43c5-81f1-be2d49215b09 kann nicht gefunden werden mount: UUID=fae458a3-da30-43c5-81f1-be2d49215b09 kann nicht gefunden werden slot 0:1: label vtape-001-001 (vtape-001) slot 0:2: label vtape-001-002 (vtape-001) slot 0:3: label vtape-001-003 (vtape-001) slot 0:4: label vtape-001-004 (vtape-001) slot 0:5: label vtape-001-005 (vtape-001) slot 0:6: label vtape-005-001 (vtape-005) slot 0:7: blank (current) [..] OK? Maybe the new aggregate.pm does things different? The first 5 vtapes (vtape-001-*) were labelled with the aggregate.pm from the stable 3.3.9 tree. I can relabel if needed, this is still a testing setup. (got to leave the office now, will check back later) Stefan