[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#361715: Debian bug 361715 followup



Hi!

Bdale Garbee wrote:
> First, have any of you tried the 2.5.0p2-1 amanda-server package yet?  I

Yes:
Version: 1:2.5.0p2-1


> Second, are the cron entries being run as the right user, most likely
> user 'backup' if you're using a near-stock config?

Also true:
0 16 * * 0-6    backup          /usr/sbin/amcheck -m DailySet1


> Third, is anyone seeing anything "interesting or unusual" in the logs
> from cron?  A 'grep -i cron /var/log/*' is worth perusing.

Nothing unusual. I just want to mention that running amcheck myself leads to
following output:

# su backup -c "/usr/sbin/amcheck  DailySet1"
Amanda Tape Server Host Check
-----------------------------
Holding disk /tmp: 9156028 KB disk space available, using 9053628 KB
tape_rdlabel: tape open: /dev/nst0: Input/output error

       (expecting tape VOL-1 or a new tape)
Server check took 120.633 seconds

Amanda Backup Client Hosts Check
--------------------------------
Client check: 2 hosts checked in 0.098 seconds, 0 problems found

(brought to you by Amanda 2.5.0p2)


In 2.4.x version of amcheck, I got "1 problems found" if I forgot to put
in the right tape and ran amcheck on the command line. And the server check
was considerably faster to detect a missing tape, say 30 to 40 secs.


> Fourth, you do have a 'mailto' defined in your amanda.conf if you're
> using the -m option to amcheck, right?

Yes. I attached a stripped down version of my amanda.conf.


> Thanks for reporting the problem, and in advance for your help solving
> it!

As usual, just reply if you need further information.

Best regards,
Thomas

-- 
 .''`.  Obviously we do not want to leave zombies around. - W. R. Stevens
: :'  : Thomas Krennwallner <djmaecki at ull dot at>
`. `'`  1024D/67A1DA7B 9484 D99D 2E1E 4E02 5446  DAD9 FF58 4E59 67A1 DA7B
  `-    http://bigfish.ull.at/~djmaecki/
org "DailySet1"
mailto "root"
dumpuser "backup"
inparallel 4
dumporder "sssS"
taperalgo first
displayunit "k"
netusage  100000 Kbps
dumpcycle 5 days
runspercycle  0
tapecycle 5 tapes
bumpsize 20 Mb
bumppercent 20
bumpdays 1
bumpmult 4
etimeout 300
dtimeout 1800
ctimeout 30
tapebufs 20
runtapes 1
tapedev "/dev/nst0"
maxdumpsize -1
tapetype SEAGATE-STD224000N
labelstr "^VOL-[0-9]$"
amrecover_do_fsf yes
amrecover_check_label yes
holdingdisk hd1 {
    comment "main holding disk"
    directory "/tmp"
    use -100 Mb
    chunksize 1Gb
}
autoflush no
infofile "/etc/amanda/DailySet1/curinfo"
logdir   "/etc/amanda/DailySet1"
indexdir "/etc/amanda/DailySet1/index"
define tapetype SEAGATE-STD224000N {
        length 11576 mbytes
        filemark 0 kbytes
        speed 1077 kbytes
}
define tapetype QIC-60 {
    comment "Archive Viper"
    length 60 mbytes
    filemark 100 kbytes
    speed 100 kbytes
}
define tapetype DEC-DLT2000 {
    comment "DEC Differential Digital Linear Tape 2000"
    length 15000 mbytes
    filemark 8 kbytes
    speed 1250 kbytes
}
define tapetype DLT {
    comment "DLT tape drives"
    length 20000 mbytes
    filemark 2000 kbytes
    speed 1536 kbytes
}
define tapetype SURESTORE-1200E {
    comment "HP AutoLoader"
    length 3900 mbytes
    filemark 100 kbytes
    speed 500 kbytes
}
define tapetype EXB-8500 {
    comment "Exabyte EXB-8500 drive on decent machine"
    length 4200 mbytes
    filemark 48 kbytes
    speed 474 kbytes
}
define tapetype EXB-8200 {
    comment "Exabyte EXB-8200 drive on decent machine"
    length 2200 mbytes
    filemark 2130 kbytes
    speed 240 kbytes
}
define tapetype HP-DAT {
    comment "DAT tape drives"
    length 1930 mbytes
    filemark 111 kbytes
    speed 468 kbytes
}
define tapetype DAT {
    comment "DAT tape drives"
    length 1000 mbytes
    filemark 100 kbytes
    speed 100 kbytes
}
define tapetype MIMSY-MEGATAPE {
    comment "Megatape (Exabyte based) drive through Emulex on Vax 8600"
    length 2200 mbytes
    filemark 2130 kbytes
    speed 170 kbytes
}
define dumptype global {
    comment "Global definitions"
}
define dumptype always-full {
    global
    comment "Full dump of this filesystem always"
    compress none
    priority high
    dumpcycle 0
}
define dumptype root-tar {
    global
    program "GNUTAR"
    comment "root partitions dumped with tar"
    compress none
    index
    exclude list "/etc/amanda/exclude.gtar"
    priority low
}
define dumptype user-tar {
    root-tar
    comment "user partitions dumped with tar"
    priority medium
}
define dumptype user-tar-span {
    root-tar
    tape_splitsize 3 Gb
    comment "tape-spanning 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-user-tar {
    user-tar
    compress client fast
}
define dumptype comp-user-tar-span {
    user-tar-span
    compress client fast
}
define dumptype holding-disk {
    global
    comment "The master-host holding disk itself"
    holdingdisk no
    priority medium
}
define dumptype comp-user {
    global
    comment "Non-root partitions on reasonably fast machines"
    compress client fast
    priority medium
}
define dumptype comp-user-span {
    global
    tape_splitsize 5 Gb
    comment "Tape-spanning 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 nocomp-user-span {
    comp-user-span
    comment "Tape-spanning 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 dumptype custom-compress {
   global
   program "GNUTAR"
   comment "test dump with custom client compression"
   compress client custom
   client_custom_compress "/usr/bin/bzip2"
}
define dumptype encrypt-fast {
   global
   program "GNUTAR"
   comment "test dump with fast client compression and server symmetric encryption"
   compress client fast
   encrypt server
   server_encrypt "/usr/local/sbin/amcrypt"
   server_decrypt_option "-d"
}
define interface local {
    comment "a local disk"
    use 1000 kbps
}
define interface le0 {
    comment "10 Mbps ethernet"
    use 400 kbps
}

Reply to: