On Friday 08 September 2006 09:46, Jean-Francois Malouin wrote:
>* Ronan KERYELL <Ronan.Keryell AT enstb DOT org> [20060908 06:41]:
>> >>>>> On Thu, 7 Sep 2006 16:34:36 -0400, Jean-Francois Malouin
>> >>>>> <Jean-Francois.Malouin AT bic.mni.mcgill DOT ca> said:
>>
>> Jean-Francois> Hello, I had my first compilation try at
>> amanda-2.5.1 Jean-Francois> today on a SGI irix-6.5 and apart from the
>> fact that I Jean-Francois> had to add '-lgen' to LDFLAGS while
>> configuring Jean-Francois> everything went smooth. I read the release
>> notes on the Jean-Francois> wiki on the new auth scheme and updated
>> inetd.conf and Jean-Francois> the amandahost file and after installing
>> a new Jean-Francois> amanda.conf and its minions (I plan to use a STK
>> L180 Jean-Francois> with LTO drives) my first attempt at checking the
>> Jean-Francois> server and client fails while parsing the conf file:
>>
>> Jean-Francois> "...amanda.conf", line 43: configuration keyword
>> Jean-Francois> expected "...amanda.conf", line 43: end of line is
>> Jean-Francois> expected
>>
>> Jean-Francois> ad nauseam. amanda.conf is 42 lines long...
>>
>> Jean-Francois> I compiled using the native sgi C compiler and gcc
>> Jean-Francois> 3.3.2 with the same results. Any ideas?
>>
>> Same here for me.
>>
>> I guesse this is because the format of the conf file has changed and is
>> less permisive about old features. So I needed to update my conf, by
>> replacing for example "option compress best" by "compress client best"
>> and so on. And afterwards it was fine.
>>
>> But with your file, we could help more...
>
>Here it comes with the includes put inline (makes it 185 lines long):
>
>org "stk_180-conf10"
>mailto "amanda"
>dumpuser "amanda"
>inparallel 10
>dumporder "TTTTTTTTTT"
>taperalgo largestfit
>netusage 1000 Mbps
>dumpcycle 7 days
>runspercycle 7
>tapecycle 20 tapes
>displayunit "m"
>bumpsize 20 Mb
>bumpdays 1
>bumpmult 4
>etimeout 2880
>dtimeout 2880
>ctimeout 60
>tapebufs 20
>runtapes 20
>usetimestamps no
>tpchanger "chg-zd-mtx"
>tapedev "/hw/tape/500507630000d95d/lun0nrnsv/c2p400000"
>rawtapedev "/dev/null"
>changerfile "/opt/amanda/amanda10/etc/amanda/stk_180-conf10/stk_180"
>changerdev "/dev/changer-l180"
>tapetype "Ultrium-SGT-LTO1"
>labelstr "^stk_180-conf10-[0-9][0-9]*$"
>holdingdisk hd1 {
> comment "main holding disk"
> directory "/holddisk/conf10/stk_180"
> use 100 Gb
> chunksize 0
>}
>reserve 100
Humm, I believe the reserve keyword defaults to 100%. I use about 20%.
>autoflush no
>diskfile "/opt/amanda/amanda10/etc/amanda/stk_180-conf10/disklist"
>tapelist "/opt/amanda/amanda10/etc/amanda/stk_180-conf10/tapelist"
>infofile "/opt/amanda/amanda10/usr/adm/amanda/stk_180-conf10/curinfo"
>logdir "/opt/amanda/amanda10/usr/adm/amanda/stk_180-conf10/log"
>indexdir "/opt/amanda/amanda10/usr/adm/amanda/stk_180-conf10/index"
>columnspec
> "HostName=0:8,Disk=1:8,OrigKB=1:10,OutKB=1:10,DumpRate=1:7,TapeRate=1:7"
> amrecover_do_fsf yes
^ an extra space here & this is about line 43...
>amrecover_check_label yes
>amrecover_changer "changer"
>define tapetype Ultrium-SGT-LTO1 {
> comment "just produced by tapetype program"
> length 101376 mbytes
> filemark 0 kbytes
> speed 15084 kps
>}
>define dumptype global {
> comment "Global definitions"
> index yes
> record yes
>}
>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
> 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
> maxdumps 4
>}
>define dumptype high-tar-test {
> root-tar
> comment "partitions dumped with tar"
> priority high
> record no
> index no
> ignore yes
>}
>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 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 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 dumptype tar-100 {
> root-tar
> comment "partitions dumped with tar"
> priority high
>}
>define dumptype xfs-100 {
> global
> comment "XFSDUMP dump for filesystems less than tape capacity (100GB)"
> program "DUMP"
> priority high
> compress none
> maxdumps 4
>}
>define dumptype tar-archival {
> program "GNUTAR"
> index no
> record no
> compress none
> skip-incr
> dumpcycle 0
>}
>define dumptype xfs-archival {
> program "DUMP"
> index no
> record no
> compress none
> skip-incr
> dumpcycle 0
>}
>define interface local {
> comment "a local disk"
> use 1000 kbps
>}
>define interface le0 {
> comment "10 Mbps ethernet"
> use 400 kbps
>}
>
>
>jf
>
>> --
>> Ronan KERYELL |\/ Tel: (+33|0) 2.29.00.14.15
>> Département Informatique |/) Fax: (+33|0) 2.29.00.12.82
>> ENST Bretagne, CS 83818 K GSM: (+33|0) 6.13.14.37.66
>> F-29238 PLOUZANÉ CEDEX |\ E-mail: rk AT enstb DOT org
>> FRANCE | \ http://enstb.org/~keryell
>> callto:ils.seconix.com/rk AT enstb DOT org
--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2006 by Maurice Eugene Heskett, all rights reserved.
|