Hello,
My name is Jason. I have been off and on this list for a few years now.
I have just compiled and installed 3.3.2 on my system. I am having trouble
getting taper to work.
When I ran amdump, the system began to correctly pull the data from the
sources, and filling up the holding disk. The output of amstatus always said:
"taper status: Searching for a new tape"
I can use "amtape <config> label" to load tapes from the changer just fine. I
can even use dd to/from the tape drive to verify the correct tape is present.
The output of "amcheck <config> -t" shows:
Amanda Tape Server Host Check
-----------------------------
amcheck-device: Taper::Scan did not quit at
/usr/lib/perl5/site_perl/5.8.8/Amanda/Taper/Scan.pm line 303.
Server check took 0.155 seconds
(brought to you by Amanda 3.3.2)
I have a dell 2750 system with a dell tl4000 tape library, and two LTO4 drives.
For what it's worth, I am backing up a lustre partition mounted on the amanda
server via infiniband. I am using Whamcloud's modified gnu tar to do the
backups. Total storage to backup is 17 terabytes.
Here is my amanda.conf file so you can see my changer definitions:
======begin amanda.conf=========
org "CLUS-A"
mailto <my email works>
dumpuser "backup"
inparallel 6
maxdumps 6
dumporder "sssssS"
taperalgo largestfit
displayunit "g"
netusage 540000000 Kbps
dumpcycle 0
runspercycle 1
tapecycle 16
etimeout 3600
dtimeout 3600
ctimeout 30
reserve 0
runtapes 15
usetimestamps yes
# maybe change this to "all" --jason
autoflush yes
#tpchanger "chg-zd-mtx"
#changerfile "/usr/local/etc/amanda/CLUS-A/chg-zd-mtx"
#changerdev "/dev/sg5"
#tapedev "/dev/nst1"
taper-parallel-write 2
define changer "delltl4000" {
tapedev "chg-robot:/dev/sg5"
property "tape-device" "0=/dev/nst0" "1=/dev/nst1"
changerfile "/usr/local/etc/amanda/common/chg-robot-dev-sg5"
}
tpchanger "delltl4000"
tapetype LTO4
device_property "LEOM" "TRUE"
labelstr "^CLUS-A-[0-9][0-9][0-9][0-9]*$"
define tapetype global {
part_size 80G
}
define tapetype LTO4 {
comment "Dell LTO4 800Gb - Compression Off"
length 802816 mbytes
filemark 0 kbytes
speed 52616 kps
}
holdingdisk hd1 {
comment "CLUS-A Backup Server Holding Disk"
directory "/u1/amanda/CLUS-A"
use -1 Gb
chunksize 1 Gb
}
infofile "/usr/local/etc/amanda/CLUS-A/curinfo"
logdir "/usr/local/etc/amanda/CLUS-A/log"
indexdir "/usr/local/etc/amanda/CLUS-A/index"
tapelist "/usr/local/etc/amanda/CLUS-A/tapelist"
#_ or - are acceptable
# but this value is no longer ok. Question: is the default oK?
#amrecover_changer "chg-zd-mtx"
define dumptype global {
comment "Global Definitions"
program "GNUTAR"
auth "bsdtcp"
compress none
dumpcycle 0
index yes
record yes
exclude list "/usr/local/etc/amanda/CLUS-A/exclude"
maxdumps 6
estimate server
}
define dumptype full-sb-gztar {
global
comment "Full Backups Server Best Compression"
compress server best
priority high
}
define dumptype full-cb-gztar {
global
comment "Full Backups Client Best Compression"
compress client best
priority high
}
define application-tool app_lustretar {
plugin "amgtar"
property "ATIME-PRESERVE" "NO"
property "GNUTAR-PATH" "/usr/local/bin/tar"
property "SPARSE" "YES"
property "ACLS" "NO"
property "SELINUX" "NO"
property "XATTRS" "YES"
property "EXIT-HANDLING" "1=GOOD 2=BAD"
# change a default NORMAL regex to a STRANGE regex.
property "STRANGE" ": socket ignored$"
# add three new IGNORE regex
property "IGNORE" ": Directory is new$"
property append "IGNORE" ": Directory has been renamed"
property append "IGNORE" "file changed as we read it$"
}
define application-tool app_amstar {
comment "amstar"
plugin "amstar"
}
define dumptype dt_sbc_lustretar {
comment "lustre modified Tar"
global
program "APPLICATION"
application "app_lustretar"
compress server best
#dumpcycle 0
index yes
record yes
maxdumps 6
estimate server
}
define dumptype dt_sbc_amstar {
comment "STAR Server Based Compression Definitions"
program "APPLICATION"
application "app_amstar"
auth "bsdtcp"
compress server best
dumpcycle 0
index yes
record yes
maxdumps 6
estimate server
}
define dumptype dt_cbc_amstar {
comment "STAR Client Based Compression Definitions"
program "APPLICATION"
application "app_amstar"
auth "bsdtcp"
compress client best
dumpcycle 0
index yes
record yes
maxdumps 6
estimate server
}
# for ethernet I used 80% of the theoretical max bw
# thus for gigabit ethernet at 125 megabytes per second, its 100 megabytes
# or 100000 kilobytes per second
# for infiniband:
#40bps ~= 4Gbytes per second
#4000 megabytes per second
#4000000 kilobytes per second
#* .8 == 3200000 kilobytes per second at 80%
define interface local {
comment "Local Disk"
# stupid number, but who cares...
use 54000000 Kbps
}
define interface lo {
comment "Loopback Device"
# stupid number, but who cares...
use 54000000 Kbps
}
define interface ib0 {
comment "Infiniband"
use 3200000 Kbps
}
define interface eth0 {
comment "1000 Mbps Ethernet Full Duplex"
use 100000 Kbps
}
define interface eth1 {
comment "1000 Mbps Ethernet Full Duplex"
use 100000 Kbps
}
======end amanda.conf=========