I've got amanda configured to dump to 2 tape devices /dev/nst0 and /dev/nst1. See conf
below. The problem is that amanda writes to one tape on the first day, and then to
the next tape on the second day, repeating. And amanda (2.4.2) complains that:
These dumps were to tape DailySet2-11.
The next 2 tapes Amanda expects to used are: a new tape, a new tape.
FAILURE AND STRANGE DUMP SUMMARY:
...
ns0 /export lev 1 FAILED [dumps way too big, must skip incremental dumps]
ns1 /export lev 1 FAILED [dumps way too big, must skip incremental dumps]
...
STATISTICS:
Total Full Daily
-------- -------- --------
...
Output Size (meg) 30659.8 26600.1 4059.8
Original Size (meg) 30659.8 26600.1 4059.8
Avg Compressed Size (%) -- -- -- (level:#disks ...)
Filesystems Dumped 17 2 15 (1:14 3:1)
...
Tape Size (meg) 30660.4 26600.1 4060.2
...
# more amanda.conf
...
dumpcycle 4 weeks
runspercycle 20
tapecycle 25 tapes
...
runtapes 2
tpchanger "chg-multi"
tapedev "/dev/nst1" # Ignored by chg-multi
rawtapedev "/dev/null"
changerfile "/usr/local/etc/amanda/Daily/chg-multi.conf"
changerdev "/dev/null" # Ignored by chg-multi
tapetype CMPQ-35
define tapetype CMPQ-35 {
comment "just produced by tapetype program"
length 30116 mbytes
filemark 33 kbytes
speed 1714 kps
lbl-templ "DLT.ps"
}
# more chg-multi.conf
multieject 0
gravity 0
needeject 0
ejectdelay 0
statefile /var/log/amanda/DailySet1/changer-status
firstslot 0
lastslot 1
slot 0 /dev/nst0
slot 1 /dev/nst1
The size is right for 1 tape. So, where is the miss configuration, that is telling
amanda to use only one of the 2 tapes nightly? And why is it alternating between the
2 devices?
TIA,
William
Find the best deals on the web at AltaVista Shopping!
http://www.shopping.altavista.com