Hi, all. I managed to get my changer working with Amanda using chg-scsi.
Today I started the first test dump to see what would happen.

Using hardware compression, my DLT-IV tapes hold about 70 GB. I set up a
dump of several large and small partitions totalling ~88 GB. One was not
mounted for the dump so the total was actually 73 GB. I set runtapes to 2
in the amanda.conf file thinking this would tell amanda to use two tapes,
but I see this in the amdump log:

[snip]

INITIAL SCHEDULE (size 73008621):
  gorge /export/home pri 11747 lev 0 size 16340165
  gorge /usr/xxxx pri 11747 lev 0 size 15425329
  gorge /usr/oracle2 pri 11747 lev 0 size 12874971
  gorge /usr/oracle pri 11747 lev 0 size 7166160
  gorge /usr/oracle5 pri 11747 lev 0 size 4502198
  gorge /usr/oracle3 pri 11747 lev 0 size 4348242
  gorge /usr/oracle4 pri 11747 lev 0 size 4143069
  gorge / pri 11747 lev 0 size 3541838
  gorge /public pri 11747 lev 0 size 982111
  gorge /var pri 11747 lev 0 size 818101
  gorge /export/gorge pri 11746 lev 0 size 2865347
  gorge /export/mada/yoga pri 11746 lev 0 size 40

DELAYING DUMPS IF NEEDED, total_size 73008621, tape length 69029888 mark
43
planner: FAILED gorge /export/gorge 20020226 0 [dumps too big, but cannot
incremental dump new disk]
planner: FAILED gorge /var 20020226 0 [dumps too big, but cannot
incremental dump new disk]
planner: FAILED gorge /public 20020226 0 [dumps too big, but cannot
incremental dump new disk]
  delay: Total size now 68342837.
[snip]

--------

So it dropped some small partitions until it got to a total it likes. I
thought, however, that runtapes tells Amanda to use the changer to fill
additional tapes as needed. Am I assuming the wrong thing? Does runtapes
mean something else?

I have included some snips from my configs. Please shed some light on this
if you can.

TIA,

Eric


-------- amanda.conf --------

runtapes 2      # number of tapes to use in a single run of amdump
tpchanger "/usr/xxxx/opt/amanda-2.4.3b2/etc/amanda/Othertest/chg-scsi"
tapedev "0"
changerfile
"/usr/xxxx/opt/amanda-2.4.3b2/etc/amanda/Othertest/chg-scsi-solaris.conf"
labelstr "^CMAG-[0-9][0-9]*$"
dumpcycle 1     #the number of days in the normal dump cycle
bumpdays 1              #minimum days at each level
bumpsize 20 Mb          #minimum savings (threshold) to bump level 1 -> 2
bumpmult 2              #threshold = bumpsize * bumpmult^(level-1)
runspercycle 1          # the number of amdump runs in dumpcycle days
tapecycle 4             # the number of tapes in rotation

-------- chg-scsi-solaris.conf --------

number_configs  1
eject           1       # Tapedrives need an eject command
sleep           45      # Seconds to wait until the tape gets ready
cleanmax        1000    # How many times could a cleaning tape get used
changerdev      /dev/changer
#
config          0
drivenum        0
dev             /dev/rmt/1cbn
startuse        0       # The slots associated with the drive 0
enduse          14      #

--------------------------------------


Reply via email to