I still can't get tapespan to work, with my single tape drive setup. I added interactivity and tapescan to amanda.conf. And updated amanda to version 3.3.3
Now even when i load the right tape into the tapedrive, when i run amcheck, i got the following message by email: No acceptable volumes found Insert volume labeled 'cf-daily-lto8' in chg-single:tape:/dev/nsa0 or write the name of a new changer in '/tmp/email_input' or write 'abort' in the file to abort the scan. if i write 'abort' into /tmp/email_input it aborts. but if i just touch /tmp/email_input to tell amanda that the proper tape is inserted, i get the above email again. What is going on here? My shell session looks like this: % sudo -u amanda amcheck cf-daily-lto Amanda Tape Server Host Check ----------------------------- WARNING: holding disk /mnt/amanda-holding: only 4 GB free, using nothing WARNING: Not enough free space specified in amanda.conf slot 0: volume 'cf-daily-lto8' slot 0: volume 'cf-daily-lto8' The second 'slot 0: volume 'cf-daily-lto8' comes after i touched the /tmp/email_input file. Here are the relevant parts of my amanda.conf: define taperscan le_scan { comment "bla" plugin "lexical" } define interactivity email { comment "interactivity email" plugin "email" property "mailto" "administrat...@cartoon-film.de" property "resend_delay" "0" property "check-file" "/tmp/email_input" property "check-file-delay" "10" } interactivity "email" taperscan "le_scan" tpchanger "chg-single:tape:/dev/nsa0" Please help me, this thing is killing me. On 14.02.2013, at 18:13, Karsten Fuhrmann wrote: > Hi, now i added this: > > define taperscan oldest { > comment "bla" > plugin "oldest" > } > taperscan "oldest" > > into my amanda.conf. Now i got an email to change the tape. But then i am > stuck, amanda does not notice the newly inserted tape, and also does not > react on the file /tmp/email_input i created with touch. > It just waits forever. What am i missing? > > > On 14.02.2013, at 16:53, Jean-Louis Martineau wrote: > >> On 02/14/2013 10:00 AM, Karsten Fuhrmann wrote: >>> Hello, >>> i tried that but does not work. I dont get an email to change the tape, >>> instead amanda quits with: >>> >>> FAILURE DUMP SUMMARY: >>> datastore /tank/koh/user/./k-o lev 0 partial taper: No acceptable volumes >>> found >>> >>> i added the following in my amanda.conf: >>> >>> define interactivity email { >>> comment "interactivity email" >>> plugin "email" >>> property "mailto" "administrat...@cartoon-film.de" >>> property "resend_delay" "0" >>> property "check-file" "/tmp/email_input" >>> property "check-file-delay" "10" >>> } >>> interactivity "email" >>> >>> >> The default taperscan do not use the interactivity module, you must use the >> 'oldest' or 'lexical' taperscan. >> see: man amanda-taperscan >> >> Jean-Louis >> > > Greetings, > Karsten Fuhrmann > System Administrator > Rothkirch Cartoon-Film GmbH > Hasenheide. 54 > D-10967 Berlin > phone +49 30 698084-109 > fax +49 30 698084-29 > mobile +49 176 49118462 > skype: parceval3000 > AIM: in...@mac.com > Jabber: parce...@jabber.org > > Greetings, Karsten Fuhrmann