Am 2016-07-15 um 16:42 schrieb Stefan G. Weichinger:
> Am 2016-07-15 um 16:25 schrieb Jean-Louis Martineau:
>> Looks like it can;t find the 'first' slot unless you manually load one.
>>
>> The attached path should fix this issue.
>> You can test it by removing the state file.
> 
> patch works for me: great

another issue, maybe my fault, maybe not:

(rebuilt amanda after updating to perl-5.20, still the following message):


$ amcheck vtape
Amanda Tape Server Host Check
-----------------------------
Holding disk /mnt/amhold/vtape: 64 GB disk space available, using 63 GB
mount: can't find UUID=5a5a9927-995f-4f0f-98ff-d222561f84ff
slot 1:6: volume 'vtape-004-002' is still active and cannot be overwritten
mount: can't find UUID=5a5a9927-995f-4f0f-98ff-d222561f84ff
amcheck-device: Can't use an undefined value as an ARRAY reference at
/usr/lib/perl5/vendor_perl/5.20.2/Amanda/Changer/aggregate.pm line 200.

Server check took 9.673 seconds

This is with one of the 2 external disks mounted (if relevant, I don't
think so), it seems as if the first chg-disk-changer does not load the
next vtape.

This helps (but should not be necessary to be done manually):
amanda@backup ~ $ amtape vtape slot 1:7
mount: UUID=5a5a9927-995f-4f0f-98ff-d222561f84ff kann nicht gefunden werden
slot 1:7: Could not open device: File 0 not found
changed to slot 1:7

amanda@backup ~ $ amcheck -s vtape
Amanda Tape Server Host Check
-----------------------------
Holding disk /mnt/amhold/vtape: 64 GB disk space available, using 63 GB
mount: can't find UUID=5a5a9927-995f-4f0f-98ff-d222561f84ff
slot 1:7: contains an empty volume
Will write label 'vtape-004-003' to new volume in slot 1:7.
NOTE: skipping tape-writable test
Server check took 1.188 seconds

(brought to you by Amanda 3.3.9)

Reply via email to