Amanda-Users

Re: amanda server on sco 5.0.6

2003-12-23 20:30:26
Subject: Re: amanda server on sco 5.0.6
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: "Kurt Yoder" <kylist AT shcorp DOT com>
Date: Tue, 23 Dec 2003 20:25:56 -0500
On Tuesday 23 December 2003 12:35, Kurt Yoder wrote:
>Gene Heskett said:
>> On Tuesday 23 December 2003 11:01, Kurt Yoder wrote:
>>>Gene Heskett said:
>>>
>>><snipped>
>>>
>>>>>So if amlable is having trouble with this line, but this line
>>>>>appears syntactically correct and doesn't cause warnings for
>>>>>amcheck, doesn't it indicate some sort of trouble with my
>>>>> compiled
>>>>>amlabel? Could commenting out changer-src have caused this? Or
>>>>> is it
>>>>>something else?
>>>>
>>>> Is there a missmatch between the system end of line convention,
>>>> like one is expecting a crlf and the other is lf only?
>>>
>>>There shouldn't be. They're both Unix. Also, if there were a
>>>mismatch, wouldn't amcheck complain about it?
>>
>> I'd certainly think so Kurt.  Maybe it does have something to do
>> with
>> commenting out the changer-src stuffs.  Browseing the amlabel srcs
>> might be informative.  But you knew that, and I'm just prattling.
>> :)
>
>Eh... forgive me, but I am a bit allergic to C source. Just not that
>familiar with it. Someday...
>
>OK, I figured out the problem with make. I think my sources got
>messed up somehow. So I re-downloaded a virgin copy and
>configure/make/make install worked without and changer-src trickery.
>
>However, I'm still faced with the same problem when trying to run
>amlabel. Maybe someone on the list can recommend something to try
>based on what is in my configs, plust the errors I am getting?
>

This is odd.  I haven't noted any changes to amlabel of late, and it 
worked the last time I used it with the -f option just fine.
Whats happened here is going to have to be troubleshot on a system 
either with the good data moved out of the way, or on a throwaway 
system.  Has anyone else encountered this?

>####################################################################
>Here's output of "amlabel REDailySet1 REDS1tape01":
>####################################################################
>
>"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 1:
>configuration keyword expected
>"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 1: end of line
>expected
>"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 2:
>configuration keyword expected
>"/usr/local/etc/amanda/REDailySet1/amanda.conf", line 2: end of line
>expected

[snip the rest which repeats for the length of his amanda.conf]

>####################################################################
>Here's my /usr/local/etc/amanda/REDailySet1/amanda.conf:
>####################################################################
>
>org "Regency DailySet1"
>
>dumpcycle 7 days        # the number of days in the normal dump
> cycle tapecycle 7 tapes       # the number of tapes in rotation
>runspercycle 7
>
>bumpsize 20 MB          # minimum savings (threshold) to bump level
>1 -> 2
>bumpdays     1          # minimum days at each level
>bumpmult     4          # threshold = bumpsize * (level-1)**bumpmult
>
>labelstr "REDS1tape[0-9][0-9]*"
>
>infofile "/usr/local/amanda/lib/REDailySet1/curinfo"
>logfile  "/usr/local/amanda/log/REDailySet1/log"
>indexdir "/usr/local/amanda/lib/REDailySet1/index"
>includefile "/usr/local/etc/amanda/amanda.conf.main"
>
>
>
>####################################################################
>Here's my /usr/local/etc/amanda/amanda.conf.main:
>####################################################################
>
>mailto "kylist AT shcorp DOT com"
>dumpuser "backup"
>inparallel 4
>netusage  36000
>tapedev "/dev/nrStp0"
>reserve 25
>
>tapetype DDS3
>holdingdisk hold1 {
>  comment "Main holding disk"
>  directory "/usr/local/amanda/holdingdisk"
>  use 4 GB
>}
>etimeout 3200
>dtimeout 3600
>ctimeout 60
>
>columnspec
>"Disk=1:10,HostName=0:10,Level=1:2,OrigKB=1:9,OutKB=1:9,Compress=1:6
>,DumpTime=1:7,DumpRate=1:7,TapeTime=1:7,TapeRate=1:7"
>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 1500 kbytes
>}
>define tapetype DLT-80 {
>    comment "DLT 40/80 tape drive produced by tapetype program"
>
>
>    length 37595 mbytes
>    filemark 32 kbytes
>    speed 5608 kps
>}
>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 EXABYTE {
>    comment "Exabyte EXB-8200 drive on decent machine"
>    length 2200 mbytes
>    filemark 2130 kbytes
>    speed 240 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 1900 mbytes
>    filemark 100 kbytes
>    speed 500 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 tapetype QIC-3080 {
>    comment "QIC 3080"
>    length 2000 mbytes
>    filemark 64 kbytes
>    speed 250 kbytes
>}
>define tapetype DDS3 {
>    comment "DDS3"
>    length 11738 mbytes
>    filemark 392 kbytes
>    speed 1018 kbytes
>}
>define dumptype always-full {
>    comment "Full dump of this filesystem always"
>    options no-compress
>    priority high
>    dumpcycle 0
>    maxcycle 0
>}
>define dumptype comp-user-tar {
>    program "GNUTAR"
>    comment "partitions dumped with tar"
>    options compress-fast, index, exclude-list
>"amanda_dump_exclude.txt"
>    priority medium
>}
>define dumptype no-exclude-comp-user-tar {
>    program "GNUTAR"
>    comment "partitions dumped with tar"
>    options compress-fast, index
>    priority medium
>}
>define dumptype server-comp-user-tar {
>    program "GNUTAR"
>    comment "partitions dumped with tar and compressed on server"
>    compress server fast
>    options index, exclude-list "amanda_dump_exclude.txt"
>    priority medium
>}
>define dumptype comp-root-tar {
>    program "GNUTAR"
>    comment "Root partitions with compression"
>    options compress-fast, index, exclude-list
>"amanda_dump_exclude.txt"
>    priority low
>}
>define dumptype user-tar {
>    program "GNUTAR"
>    comment "partitions dumped with tar"
>    options no-compress, index, exclude-list
> "amanda_dump_exclude.txt" priority medium
>}
>define dumptype high-tar {
>    program "GNUTAR"
>    comment "partitions dumped with tar"
>    options no-compress, index, exclude-list
> "amanda_dump_exclude.txt" priority high
>}
>define dumptype root-tar {
>    program "GNUTAR"
>    comment "Root partitions dumped with tar"
>    options no-compress, index, exclude-list
> "amanda_dump_exclude.txt" priority low
>}
>define dumptype comp-user {
>    comment "Non-root partitions on reasonably fast machines"
>    options compress-fast
>    priority medium
>}
>define dumptype nocomp-user {
>    comment "Non-root partitions on slow machines"
>    options no-compress
>    priority medium
>}
>define dumptype holding-disk {
>    comment "The master-host holding disk itself"
>    options no-hold
>    priority medium
>}
>define dumptype comp-root {
>    comment "Root partitions with compression"
>    options compress-fast
>    priority low
>}
>define dumptype nocomp-root {
>    comment "Root partitions without compression"
>    options no-compress
>    priority low
>}
>define dumptype comp-high {
>    comment "very important partitions on fast machines"
>    options compress-best
>    priority high
>}
>define dumptype nocomp-high {
>    comment "very important partitions on slow machines"
>    options no-compress
>    priority high
>}
>define dumptype nocomp-test {
>    comment "test dump without compression, no /etc/dumpdates
>recording"
>    options no-compress, no-record
>    priority medium
>}
>define dumptype comp-test {
>    comment "test dump with compression, no /etc/dumpdates
> recording" options compress-fast, no-record
>    priority medium
>}

-- 
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
99.22% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attornies please note, additions to this message
by Gene Heskett are:
Copyright 2003 by Maurice Eugene Heskett, all rights reserved.