On 24/11/16 05:19 AM, s...@amanda.org wrote:
compiled 3.4.1 on three machines today, works fine on 2 of them, on
the third I have an issue with my vtapes on the external disks.
I run an aggregated changer combining 2 external disks with 20 vtapes
each.
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"
property "allow-missing-changer" "yes"
}
tpchanger "aggregate"
--
(
The goal is:
amanda should rotate over each of the vtapes on one of the disks, no
matter which of the disks is attached (it isn't necessary to have both
attached all the time)
)
--
Right now disk2 is attached, I see an inventory:
$ amtape vtape inventory
mount: UUID=5a5a9927-995f-4f0f-98ff-d222561f84ff kann nicht gefunden
werden
slot 1:1: label vtape-002-001 (vtape-004) [retention-no]
slot 1:2: label vtape-003-001 (vtape-004) [retention-no]
slot 1:3: label vtape-004-001 (vtape-004) [retention-no]
slot 1:4: label vtape-004-004 (vtape-004) [retention-no]
[..]
... this "UUID=" means, externaldisk1 is not there right now = OK
I can load specific slots:
$ amtape vtape slot 1:18
mount: UUID=5a5a9927-995f-4f0f-98ff-d222561f84ff kann nicht gefunden
werden
slot 1:18: time 20161022013001 label vtape-004-018
changed to slot 1:18
But amcheck fails:
$ amcheck vtape -t
Amanda Tape Server Host Check
-----------------------------
mount: can't find UUID=5a5a9927-995f-4f0f-98ff-d222561f84ff
This is the output of: mount /mnt/externaldisk2
Do you have an idea why the mount fail?
Check system log
ERROR: No acceptable volumes found
Server check took 1.915 seconds
(brought to you by Amanda 3.4.1)
I even changed to
tpchanger "disk2"
to only work with that one disk, no change.
Any ideas? Do I have to reset something?
On a second machine I have the same setup, there it works without a
problem so far.
Stefan