Discussion:
Bug in 3.2.2: No acceptable volumes found for new labled tapes
Marc Muehlfeld
2011-04-04 06:55:36 UTC
Permalink
Hi,

I'm running amanda 3.2.2 and encountered the following problem:

I want to flush the holdingdisk content to a new labled tape, but amanda
always reports "No acceptable volumes found" - but a new labled tape is in the
changer!


$ amadmin KAS tape
The next Amanda run should go onto tape KAS019 or a new tape.
.....
The next 2 new tapes already labelled are: KAS016, KAS071


The changer is having a new labled tape:
$ mtx status | grep KAS016
Storage Element 3:Full :VolumeTag=KAS016


I found out when I switch the tapelist entry from
0 KAS016 reuse BARCODE:KAS016
to the style of an used tape, just with an very old date
2001010100000 KAS016 reuse
the tape is found and used.


I used a paste service for the taper.*.debug (because the list doesn't allow
me to attach files): http://www.onlyfree.de/php/pasteservice/show.php?id=21607


Regards,
Marc
--
Marc Muehlfeld (IT-Leiter)
Zentrum fuer Humangenetik und Laboratoriumsmedizin Dr. Klein und Dr. Rost
Lochhamer Str. 29 - D-82152 Martinsried
Telefon: +49(0)89/895578-0 - Fax: +49(0)89/895578-780
http://www.medizinische-genetik.de
Jean-Louis Martineau
2011-04-04 11:11:20 UTC
Permalink
Marc,

Do you know if it is changing the datestamp or removing the barcode
from the tapelist that help?
Can you also post the taperdebug file when it worked, I want to see the
difference.

What's the output of 'amtape KAS inventory'.
What's the output of 'amtape KAS taper', it should find the tape.

Jean-Louis
Post by Marc Muehlfeld
Hi,
I want to flush the holdingdisk content to a new labled tape, but
amanda always reports "No acceptable volumes found" - but a new labled
tape is in the changer!
$ amadmin KAS tape
The next Amanda run should go onto tape KAS019 or a new tape.
.....
The next 2 new tapes already labelled are: KAS016, KAS071
$ mtx status | grep KAS016
Storage Element 3:Full :VolumeTag=KAS016
I found out when I switch the tapelist entry from
0 KAS016 reuse BARCODE:KAS016
to the style of an used tape, just with an very old date
2001010100000 KAS016 reuse
the tape is found and used.
I used a paste service for the taper.*.debug (because the list doesn't
http://www.onlyfree.de/php/pasteservice/show.php?id=21607
Regards,
Marc
Marc Muehlfeld
2011-04-04 11:46:12 UTC
Permalink
Do you know if it is changing the datestamp or removing the barcode from the
tapelist that help?
No. Nothing changed or was removed from the tapelist entry.
Can you also post the taperdebug file when it worked, I want to see the
difference.
After I changed the tapelist entry as descriped it worked. This is the
taper.*.debug from the working amflush then.
http://www.onlyfree.de/php/pasteservice/show.php?id=21608
What's the output of 'amtape KAS inventory'.
tapelist contains currently one labled, unused tape:
0 KAS071 reuse BARCODE:KAS071


$ amtape KAS inventory
slot 1: unknown state
slot 2: label KAS071 barcode KAS071
.....
What's the output of 'amtape KAS taper', it should find the tape.
$ amtape KAS taper
Searching for label 'KAS019': label 'KAS019' not recognized or not found
UNKNOWN
ERROR: No acceptable volumes found



If I change the tapelist entry to
20010101000000 KAS071 reuse
it returns:

$ amtape KAS taper
Searching for label 'KAS071': found in slot 2: volume 'KAS071'
Will write to volume KAS071 in slot 2.
--
Marc Muehlfeld (IT-Leiter)
Zentrum fuer Humangenetik und Laboratoriumsmedizin Dr. Klein und Dr. Rost
Lochhamer Str. 29 - D-82152 Martinsried
Telefon: +49(0)89/895578-0 - Fax: +49(0)89/895578-780
http://www.medizinische-genetik.de
Nicolino Curalli
2011-04-04 12:03:34 UTC
Permalink
Hi All,
i have a strange error about Amanda.
I found no solution to this bug.

Amcheck make his job :



amcheck axis
Amanda Tape Server Host Check
-----------------------------
Holding disk /media/contessa/backup/backup-giornalieri: 833545744 KB
disk space available, using 41943040 KB as requested




but on kern.log i have:

Apr 4 13:01:24 ambrogio kernel: [ 198.473965] amcheck[6244]: segfault at
00000000 eip b74cd323 esp bfbf328c error 4

Backup jobs have a successfull conclusion.

can someone help me to solve this problem?
Marc Muehlfeld
2011-04-04 18:44:25 UTC
Permalink
Post by Nicolino Curalli
i have a strange error about Amanda.
Please don't hijack other peoples threads!!!

If you want to start your own thread send a *new* mail and never reply
just to others mails!
--
Marc Muehlfeld (Leitung Systemadministration)
Zentrum fuer Humangenetik und Labormedizin Dr. Klein und Dr. Rost
Lochhamer Str. 29 - D-82152 Martinsried
Telefon: +49(0)89/895578-0 - Fax: +49(0)89/895578-780
http://www.medizinische-genetik.de
Jean-Louis Martineau
2011-04-04 17:12:26 UTC
Permalink
It looks like the scan of the library stop as soon as it find an empty
slot, just to be sure, can you try the following:

Put '0 KAS071 reuse BARCODE:KAS071' in the tapelist
$ amtape KAS slot 2 #load the KAS071 tape.
$ amtape KAS taper

Jean-Louis
Post by Marc Muehlfeld
Do you know if it is changing the datestamp or removing the barcode from the
tapelist that help?
No. Nothing changed or was removed from the tapelist entry.
Can you also post the taperdebug file when it worked, I want to see the
difference.
After I changed the tapelist entry as descriped it worked. This is the
taper.*.debug from the working amflush then.
http://www.onlyfree.de/php/pasteservice/show.php?id=21608
What's the output of 'amtape KAS inventory'.
0 KAS071 reuse BARCODE:KAS071
$ amtape KAS inventory
slot 1: unknown state
slot 2: label KAS071 barcode KAS071
.....
What's the output of 'amtape KAS taper', it should find the tape.
$ amtape KAS taper
Searching for label 'KAS019': label 'KAS019' not recognized or not found
UNKNOWN
ERROR: No acceptable volumes found
If I change the tapelist entry to
20010101000000 KAS071 reuse
$ amtape KAS taper
Searching for label 'KAS071': found in slot 2: volume 'KAS071'
Will write to volume KAS071 in slot 2.
Marc Muehlfeld
2011-04-04 18:52:44 UTC
Permalink
Post by Jean-Louis Martineau
Put '0 KAS071 reuse BARCODE:KAS071' in the tapelist
Done.
Post by Jean-Louis Martineau
$ amtape KAS slot 2
slot 2: time X label KAS071
changed to slot 2
Post by Jean-Louis Martineau
$ amtape KAS taper
Searching for label 'KAS019': label 'KAS019' not recognized or not found


slot 2: volume 'KAS071'


Will write to volume KAS071 in slot 2.
--
Marc Muehlfeld (Leitung Systemadministration)
Zentrum fuer Humangenetik und Labormedizin Dr. Klein und Dr. Rost
Lochhamer Str. 29 - D-82152 Martinsried
Telefon: +49(0)89/895578-0 - Fax: +49(0)89/895578-780
http://www.medizinische-genetik.de
Marc Muehlfeld
2011-04-15 14:42:18 UTC
Permalink
Anything new about this bug?
--
Marc Muehlfeld (IT-Leiter)
Zentrum fuer Humangenetik und Laboratoriumsmedizin Dr. Klein und Dr. Rost
Lochhamer Str. 29 - D-82152 Martinsried
Telefon: +49(0)89/895578-0 - Fax: +49(0)89/895578-780
http://www.medizinische-genetik.de
Jean-Louis Martineau
2011-04-15 17:11:25 UTC
Permalink
Marc,

Can you try the attached patch?

Jean-Louis
Post by Marc Muehlfeld
Anything new about this bug?
Marc Muehlfeld
2011-04-18 06:31:33 UTC
Permalink
Hi,
Post by Jean-Louis Martineau
Can you try the attached patch?
looks good here. An "amdump" now found and used the tape, even with

0 KAS071 reuse BARCODE:KAS071

syntax in the tapelist. Thanks.


Regards,
Marc
--
Marc Muehlfeld (IT-Leiter)
Zentrum fuer Humangenetik und Laboratoriumsmedizin Dr. Klein und Dr. Rost
Lochhamer Str. 29 - D-82152 Martinsried
Telefon: +49(0)89/895578-0 - Fax: +49(0)89/895578-780
http://www.medizinische-genetik.de
Nicolino Curalli
2011-04-04 18:25:49 UTC
Permalink
Hi All,
i have a strange error about Amanda.
I found no solution to this bug.

Amcheck make his job :



amcheck axis
Amanda Tape Server Host Check
-----------------------------
Holding disk /media/contessa/backup/backup-giornalieri: 833545744 KB
disk space available, using 41943040 KB as requested




but on kern.log i have:

Apr 4 13:01:24 ambrogio kernel: [ 198.473965] amcheck[6244]: segfault at
00000000 eip b74cd323 esp bfbf328c error 4

Backup jobs have a successfull conclusion.

can someone help me to solve this problem?
Loading...