Hi, I'm setting up a new backup server with amanda 3.5.2 on CentOS 7
with vtapes. I've setup the vtapes directories, created the job and
added the dlc, checked permissions, then run amcheck and it shows no
errors. However when I run amdump, only one of the dlc gets backed up,
the other ones give a "can't do degraded dump without holding disk"
error. The config is:
amanda.conf
org "monitoreo10_diario" # your organization name for
reports
dumpuser "amandabackup" # the user to run dumps under
mailto "yyyyy@xxxxx" # space separated list of operators at your
site
dumpcycle 1week # the number of days in the normal dump cycle
tapecycle 8 # the number of tapes in rotation
runspercycle 7 # the number of amdump runs in dumpcycle days
define changer my_vtapes {
tpchanger "chg-disk:/backups/amanda/vtape/diarios/monitoreo10_diario/"
property "num-slot" "8"
property "auto-create-slot" "yes"
}
dtimeout 1800 # number of idle seconds before a dump is aborted
ctimeout 30 # max number of secconds amcheck waits for each client
etimeout 300 # number of seconds per filesystem for estimates
define dumptype global {
comment "Global definitions"
auth "bsdtcp"
}
define dumptype gui-base {
global
program "GNUTAR"
comment "gui base dumptype dumped with tar"
compress none
index yes
}
define tapetype HARDDISK {
comment "Virtual Tapes"
length 5000 mbytes
}
define policy monitoreo10_diario {
retention-tapes 8
retention-days 0
retention-recover 0
retention-full 0
}
define storage monitoreo10_diario {
policy "monitoreo10_diario" # the policy
tapepool "monitoreo10_diario" # the tape-pool
tpchanger "my_vtapes" # the changer
runtapes 1 # number of tapes to be used in a single run of
amdump
tapetype "HARDDISK" # what kind of tape it is
labelstr "monitoreo10_diario" # label constraint regex: all
tapes must match
#autolabel
#meta-autolabel
taperscan "traditional"
#max-dle-volume 1000000
#taperalgo first
#taper-parallel-write 1
}
storage "monitoreo10_diario"
includefile "advanced.conf"
includefile "/etc/amanda/template.d/dumptypes"
includefile "/etc/amanda/template.d/tapetypes"
disklist
zzzzzzz.yyy.xx /etc sm-encrypt-compress
zzzzzzz.yyy.xx /usr/local/bin sm-encrypt-compress
zzzzzzz.yyy.xx /var/lib/amanda sm-encrypt-compress
zzzzzzz.yyy.xx /usr/libexec/amanda/application sm-encrypt-compress
logs
ANALYZING ESTIMATES...
pondering zzzzzzz.yyy.xx:/usr/libexec/amanda/application... next_level0
-19335 last_level -1 (due for level 0) (new disk, can't switch to
degraded mode)
curr level 0 nsize 300 csize 150 total size 249 total_lev0 150
balanced-lev0size 21
pondering zzzzzzz.yyy.xx:/var/lib/amanda... next_level0 -19335
last_level -1 (due for level 0) (new disk, can't switch to degraded mode)
curr level 0 nsize 390 csize 195 total size 477 total_lev0 345
balanced-lev0size 48
pondering zzzzzzz.yyy.xx:/usr/local/bin... next_level0 -19335 last_level
-1 (due for level 0) (new disk, can't switch to degraded mode)
curr level 0 nsize 10 csize 5 total size 515 total_lev0 350
balanced-lev0size 48
pondering zzzzzzz.yyy.xx:/etc... next_level0 -19335 last_level -1 (due
for level 0) (new disk, can't switch to degraded mode)
curr level 0 nsize 31490 csize 15745 total size 16293 total_lev0
16095 balanced-lev0size 2297
DUMP zzzzzzz.yyy.xx ffffffff9efefbfffffffffffffff3fffbf79f00 /etc
20221208211442 19336 0 1970:1:1:0:0:0 31490 15745 15 1024 "Skipping: new
disk can't be dumped in degraded mode"
DUMP zzzzzzz.yyy.xx ffffffff9efefbfffffffffffffff3fffbf79f00
/var/lib/amanda 20221208211442 19336 0 1970:1:1:0:0:0 390 195 0 1024
"Skipping: new disk can't be dumped in degraded mode"
DUMP zzzzzzz.yyy.xx ffffffff9efefbfffffffffffffff3fffbf79f00
/usr/libexec/amanda/application 20221208211442 19336 0 1970:1:1:0:0:0
300 150 0 1024 "Skipping: new disk can't be dumped in degraded mode"
DUMP zzzzzzz.yyy.xx ffffffff9efefbfffffffffffffff3fffbf79f00
/usr/local/bin 20221208211442 19336 0 1970:1:1:0:0:0 10 5 0 1024
"Skipping: new disk can't be dumped in degraded mode"
report
FAILURE DUMP SUMMARY:
zzzzzzz.yyy.xx /etc lev 0 FAILED [can't do degraded dump without
holding disk]
zzzzzzz.yyy.xx /var/lib/amanda lev 0 FAILED [can't do degraded dump
without holding disk]
zzzzzzz.yyy.xx /usr/libexec/amanda/application lev 0 FAILED [can't do
degraded dump without holding disk]
DUMP SUMMARY:
DUMPER STATS TAPER STATS
HOSTNAME DISK L ORIG-GB
OUT-GB COMP% MMM:SS KB/s MMM:SS KB/s
---------------------------------------------------------------
---------------------- -------------- -------------
zzzzzzz.yyy.xx /etc FAILED
zzzzzzz.yyy.xx /usr/libexec/amanda/application FAILED
zzzzzzz.yyy.xx /usr/local/bin 0 0 0 10.0
0:02 0.4 0:00 0.0
zzzzzzz.yyy.xx /var/lib/amanda FAILED
Only one of the dlc gets backed up (/usr/local/bin) even though they are
all on the same host (the amanda server). I've tried running jobs with
dlc on other servers and the result is the same, only one of the dlc
gets backed up
Any idea what could be causing this?
Yours
Pablo