Am 2016-07-15 um 13:41 schrieb Jean-Louis Martineau:
> Stefan,
>
> another option is to use chg-aggregate, amanda will see all disks that
> are mounted:
>
> define changer disk1 {
> tpchanger "chg-disk:/mnt/externaldisk1"
> property "num_slot" "10"
> property "auto-create-slot" "yes"
> property "removable" "yes"
> }
>
> define changer disk2 {
> tpchanger "chg-disk:/mnt/externaldisk2"
> property "num_slot" "10"
> property "auto-create-slot" "yes"
> property "removable" "yes"
> }
>
> define changer aggregate {
> tpchanger "chg-aggregate:{disk1,disk2}"
> property "state_filename" "/etc/amanda/CONF/aggregate.stats"
> }
>
> tpchanger "aggregate"
nice, also worth a try, thanks!
Something is missing, it doesn't find slots here:
$ amcheck vtape
Amanda Tape Server Host Check
-----------------------------
Holding disk /mnt/amhold/vtape: 113 GB disk space available, using 112 GB
slot first: Slot first not found
all slots have been loaded
Taper scan algorithm did not find an acceptable volume.
(expecting a new volume)
ERROR: No acceptable volumes found
Server check took 0.198 seconds
Amanda Backup Client Hosts Check
--------------------------------
Client check: 2 hosts checked in 1.143 seconds. 0 problems found.
(brought to you by Amanda 3.3.9)
amanda@backup /etc/amanda/vtape $ amtape vtape show
amtape: scanning all 40 slots in changer:
slot first: Slot first not found
amanda@backup /etc/amanda/vtape $ amtape vtape inventory
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: blank
slot 0:7: blank
[..]
Do I have to use metalabel and/or autolabel? Doesn't change a thing
here. Start over with empty disks?
thanks!