I have set up a test environment using vtapes following the instructions to the letter as shown in:
http://wiki.zmanda.com/index.php/Test_environment_with_virtual_tapes # # /etc/amanda/test/amanda.conf # org "Parasol Laboratory" mailto "[EMAIL PROTECTED]" dumpcycle 7 runspercycle 5 tapecycle 5 dumpuser "amanda" tpchanger "chg-disk" # a virtual tape changer tapedev "file:/space/vtapes/test/slots" changerfile "/var/lib/amanda/test/changerfile" Questions: 'amcheck test' has run without error messages except for today: Amanda Tape Server Host Check ----------------------------- Holding disk /space/amandahold/test: 356151020 kB disk space available, using 356151020 kB amcheck-server: slot 3: date 20060401 label TEST-3 (active tape) amcheck-server: slot 4: date 20060404 label TEST-4 (active tape) amcheck-server: slot 5: date 20060405 label TEST-5 (active tape) amcheck-server: slot 1: not an amanda tape amcheck-server: slot 2: date 20060331 label TEST-2 (active tape) ERROR: new tape not found in rack (expecting a new tape) NOTE: skipping tape-writable test WARNING: tapecycle (5) <= runspercycle (5). NOTE: info dir /var/lib/amanda/test/curinfo/gemenon: does not exist NOTE: it will be created on the next run. NOTE: index dir /var/lib/amanda/test/index/gemenon: does not exist NOTE: it will be created on the next run. Server check took 0.394 seconds Amanda Backup Client Hosts Check -------------------------------- Client check: 4 hosts checked in 0.109 seconds, 0 problems found (brought to you by Amanda 2.4.5) I guess that that amanda is not able to reuse tape 1. Correct guess? If yes, why not? The tapecycle=5, thus amanda should know that it needs to go back to 1 after 5 and I have labelled all of them at the beginning using amlabel. I am setting up an 'archive' configuration for full backup to tape. I am trying to understand the changer configuration. I did not create any file in /var/lib/amanda/test, but amanda created: changerfile-access changerfile-clean changerfile-slot However, there is no /var/lib/amanda/test/changerfile as the example has in amanda.conf. I have a /dev/sg1 medium changer, Quantum Autoloader /usr/sbin/mtx -f /dev/sg1 inquiry Product Type: Medium Changer Vendor ID: 'QUANTUM ' Product ID: 'UHDL ' Revision: '0023' Attached Changer: No I suppose I have to use /usr/lib/amanda/chg-zd-mtx I see that the file has to be edited to reflect my specific situation. Do I then move the file to /var/lib/amanda/archive and define this in /etc/amanda/archive/amanda.conf? The documentation is not very clear on this. Thanks to all. -- Enrico Indiogine Parasol Laboratory Texas A&M University [EMAIL PROTECTED] [EMAIL PROTECTED] 979-845-3937
