Re: Amanda 2.5.0 upgrade weirdness
2006-05-17 22:07:18
Where is the changer defined?
# ls -l
total 68
-rw-rw---- 1 backup backup 19493 Mar 24 07:42 amanda.conf
-rw-r--r-- 1 backup backup 1267 May 16 09:35 changer
-rw------- 1 backup backup 5 May 17 15:15 changer-access
-rw------- 1 backup backup 0 May 16 07:34 changer-barcodes
-rw------- 1 backup backup 2 May 1 2005 changer-clean
-rw------- 1 backup backup 3 May 17 15:17 changer-slot
lrwxrwxrwx 1 root root 29 May 15 21:43 changer.conf ->
/etc/amanda/DailySet1/changer
-rwxr-xr-x 1 backup backup 9726 Apr 29 2005 chg-zd-mtx
-rw-r--r-- 1 root root 2529 May 5 16:02 disklist
-rw------- 1 backup backup 720 May 12 00:00 tapelist
-rw------- 1 backup backup 713 Apr 9 16:32 tapelist.amlabel
-rw------- 1 backup backup 720 Nov 30 01:15 tapelist.today.0
-rw------- 1 backup backup 720 May 12 00:00 tapelist.yesterday
# cat amanda.conf
org "DailySet1"
mailto "admin AT genetests DOT org"
dumpuser "backup"
inparallel 8
netusage 16384 Kbps
dumpcycle 10 days
runspercycle 10
tapecycle 30 tapes
bumpsize 20 Mb
bumpdays 1
bumpmult 4
etimeout 900
dtimeout 3600
ctimeout 900
tapebufs 20
runtapes 10
tpchanger "chg-zd-mtx" # the tape-changer glue script
tapedev "/dev/nst0"
changerfile "/etc/amanda/DailySet1/changer"
changerdev "/dev/sg0"
tapetype v23
labelstr "^[A-H]00000[0-9][0-9]*$"
infofile "/var/lib/amanda/DailySet1/curinfo"
logdir "/var/lib/amanda/DailySet1"
indexdir "/var/lib/amanda/DailySet1/index"
define tapetype v23 {
comment "Exabyte VXA-2 v23"
length 76550 mbytes
filemark 3951 kbytes
speed 3943 kps
}
define dumptype global {
comment "Global definitions"
index yes
maxdumps 6
}
define dumptype always-full {
global
comment "Full dump of this filesystem always"
compress none
priority high
}
define dumptype smbclient {
program "GNUTAR"
comment "Samba shares dumped with tar and no compression"
options no-compress
priority medium
}
define dumptype root-tar {
global
program "GNUTAR"
comment "root partitions dumped with tar"
compress none
index
exclude list "/usr/lib/amanda/exclude.gtar"
priority low
}
define dumptype user-tar {
root-tar
comment "user partitions dumped with tar"
priority medium
}
define dumptype high-tar {
root-tar
comment "partitions dumped with tar"
priority high
}
define dumptype comp-root-tar {
root-tar
comment "Root partitions with compression"
compress client fast
}
define dumptype comp-high-tar {
root-tar
comment "partitions with compression"
compress client best
priority high
}
define dumptype comp-user-tar {
user-tar
compress client fast
}
define dumptype holding-disk {
global
comment "The master-host holding disk itself"
holdingdisk no # do not use the holding disk
priority medium
}
define dumptype comp-user {
global
comment "Non-root partitions on reasonably fast machines"
compress client fast
priority medium
}
define dumptype nocomp-user {
comp-user
comment "Non-root partitions on slow machines"
compress none
}
define dumptype comp-root {
global
comment "Root partitions with compression"
compress client fast
priority low
}
define dumptype nocomp-root {
comp-root
comment "Root partitions without compression"
compress none
}
define dumptype comp-high {
global
comment "very important partitions on fast machines"
compress client best
priority high
}
define dumptype nocomp-high {
comp-high
comment "very important partitions on slow machines"
compress none
}
define dumptype nocomp-test {
global
comment "test dump without compression, no /etc/dumpdates recording"
compress none
record no
priority medium
}
define dumptype comp-test {
nocomp-test
comment "test dump with compression, no /etc/dumpdates recording"
compress client fast
}
define interface local {
comment "a local disk"
use 3000 kbps
}
define interface eth0 {
comment "100 Mbps ethernet"
use 8192 kbps
}
holdingdisk DailySet1 {
comment "Gonzo"
directory "/backup/amanda"
use -1G
chunksize 4G
}
The errors...
~$ amcheck DailySet1
Amanda Tape Server Host Check
-----------------------------
Holding disk /backup/amanda: 165817748 kB disk space available, using
164769172 kB
slot 3: not an amanda tape (Invalid argument)
slot 4: not an amanda tape (Invalid argument)
slot 5: not an amanda tape (Invalid argument)
slot 6: not an amanda tape (Invalid argument)
slot 7: not an amanda tape (Invalid argument)
slot 8: not an amanda tape (Invalid argument)
slot 9: not an amanda tape (Invalid argument)
slot 10: not an amanda tape (Invalid argument)
slot 1: not an amanda tape (Invalid argument)
slot 2: not an amanda tape (Invalid argument)
(expecting tape B0000003 or a new tape)
<client check snipped>
(brought to you by Amanda 2.5.0p2)
And
~$ amtape DailySet1 update
changer: got exit: 0 str: 2 10 1 1
changer_query: changer return was 10 1 1
changer_query: searchable = 1
amtape: scanning all 10 slots in tape-changer rack:
changer_find: looking for NULL changer is searchable = 1
changer: got exit: 0 str: 2 /dev/nst0
slot 2: not an amanda tape (Invalid argument)
changer: got exit: 0 str: 3 /dev/nst0
slot 3: not an amanda tape (Invalid argument)
Where is "NULL changer" defined *if not in amanda.conf, then where????*
mtx status reports the tape barcode labels accurately read.
The compile options were copied from the previous version and updated as
required to match the new options.
I'm using chg-zd-mtx with an Exabyte VXA PacketLoader 1x10 1U. Should I
be using something else?
TIA
--
Brad Willson, Sr. Computer Specialist
UW GeneTests, UW Box: 358735
EM: bwil150n AT u.washington DOT edu
W: 206.221.4674, C: 425.891.2732
http://www.genetests.org
|
|
|