Re: Compile error

2002-02-17 Thread Thomas Hepper

Hi,
On Thu, Feb 14, 2002 at 03:00:00PM +, Robert Early wrote:
 Hi, 
 I;m getting the following compile error when trying to
 compile amanda amanda-2.4.3b2:
 
 gcc -D_FILE_OFFSET_BITS=64 -g -O2 -o chg-scsi-chio
 chg-scsi-chio.o scsi-hpux.o scsi-chio.o 
 ../server-src/.libs/libamserver.a
 ../tape-src/.libs/libamtape.a
 ../common-src/.libs/libamanda.a -lgen -lm -ltermcap
 -lnsl -lcur_colr
 /usr/ccs/bin/ld: Unsatisfied symbols:
config_dir (data)
 collect2: ld returned 1 exit status
 *** Error exit code 1
 
 Any ideas?

Which OS, which configure flags ??

Thomas

-- 
  ---
  |  Thomas Hepper[EMAIL PROTECTED] |
  | ( If the above address fail try   ) |
  | ( [EMAIL PROTECTED])|
  ---



Re: Spectra Logic Treefrog configuration

2002-02-17 Thread Thomas Hepper

Hi,
On Sun, Feb 17, 2002 at 01:54:25AM -0500, [EMAIL PROTECTED] wrote:
 Anyone setup a Spectra Logic Treefrog on Solaris before?  I can't determine 
 where's the right device for the variable chagerdev in chg-scsi-solaris 
 changer file.  Please help.  I tried to run amcheck without changerdev 
 specified, and it returned with changer error.

Did you take a look at the TAPE.CHANGERS file in the doc directory
and enabled either the sgen driver, or installed the sst driver. 

Thomas
-- 
  ---
  |  Thomas Hepper[EMAIL PROTECTED] |
  | ( If the above address fail try   ) |
  | ( [EMAIL PROTECTED])|
  ---



Reg:Problems with tape labelling due to change of label string

2002-02-17 Thread chandrasekar

Hi everyone
   Recently I changed the lablestring in the amanda configuration file. I
changed to format completely different from the old one. How do I relable
the tapes which were labeled with the earlier configuration. When I try to
lable the tapes with the new configuration it says
the tape is labelled with a different amanda configuration
Any suggestions please.
regards
chandrasekar





Re: most efficient use of holding disk

2002-02-17 Thread Chris Marble

Martin Oehler wrote:
 
 I use amanda on a solaris 7 box with a DTL drive (20 GB)
 attached. My dumpcyle is 4 weeks with 20 runs per cycle. 
 
 Because the size of one incremental backup is only
 between 2-4 GB I don't want to change the tape each day.

You could crank your dumpcycle down to 3 (or whatever number would get
Amanda to use most of your tape capacity).
-- 
  [EMAIL PROTECTED] - HMC UNIX Systems Manager
  My opinions are my own and probably don't represent anything anyway.



Re: adding options to rundump for XFS

2002-02-17 Thread Jason Henry Parker

John R. Jackson [EMAIL PROTECTED] writes:

 jason wrote:
 Checking the xfsdump manpage, I see that the -e option to xfsdump will
 cause it to skip files with the SGI_XFSDUMP_SKIP_FILE attribute[1].
 
 This is similar to the -h flag for dump on Linux.  Look at how
 dump-honor-nodump in configure.in for is handled and add something
 similar.  Then find the XFSDUMP code in client-src/sendbackup-dump.c and
 add a couple of lines to insert -e if HAVE_HONOR_SGI_XFSDUMP_SKIP_FILE
 (or whatever you call it) is defined.

Great.  I've already managed to hardcode the option in
client-src/sendbackup-dump.c and client-src/sendsize.c, but doing it
the Right Way would be preferable.

 Not rundump.  Rundump is only used on systems that have to run dump
 as root.  Is your system using rundump (you'd find debug files in
 /tmp/amanda and the sendbackup*debug file would indicate rundump was
 being used)?

I thought XFS support implied rundump, but that appears to not be the
case, since

 Also, USE_RUNDUMP would be defined in config/config.h and show up in
 amandad*debug.

USE_RUNDUMP is not defined in config/config.h.

 An alternative to making any code changes would be to build your Amanda
 with the XFSDUMP environment variable set to point to a script that
 runs xfsdump with all the args it gets plus -e.  

Eeep!  My `action at a distance' alarm is ringing, loudly!  I'm not a
fan of environment variables in the first place.

 But in the long run,
 it would be nice to have the -e support.

Yeah.  I'd rather modify the code.  I'll see if I can whip a
patch into shape and submit it back to the list.

Cheers,
-- 
Jason Henry Parker  ``Choose mnemonic identifiers.  If you
 Systems Administratorcan't remember what mnemonic means,
[EMAIL PROTECTED]you've got a problem.'' -- Larry Wall



No index records

2002-02-17 Thread Hikawa
Hi,

I started to use amanda since last week .
My amanda server host name is "bakubak" .
My amanda client host name is "mailde" .

I could get remote client "mailde" backup .

The log file is following..

START driver date 20020218
START planner date 20020218
WARNING planner Last full dump of mailde:/ on tape  overwritten in 1 run.
FINISH planner date 20020218
STATS driver startup time 0.488
START taper datestamp 20020218 label DailySet10 tape 0
SUCCESS dumper mailde / 20020218 0 [sec 38.255 kb 74336 kps 1943.1 orig-kb
74330]
SUCCESS taper mailde / 20020218 0 [sec 91.759 kb 74368 kps 810.5 {wr:
writers 2324 rdwait 0.000 wrwai
t 81.280 filemark 9.842}]
INFO taper tape DailySet10 kb 74368 fm 1 [OK]
FINISH driver date 20020218 time 149.664

I am getting error such as the following. when I executed amrecover command
.

[root@bakubak mailde]# amrecover mailde
AMRECOVER Version 2.4.2p2. Contacting server on bakubak ...
220 bakubak AMANDA index server (2.4.2p2) ready.
200 Access OK
Setting restore date to today (2002-02-18)
200 Working date set to 2002-02-18.
200 Config set to mailde.
501 No index records for host: bakubak. Invalid?
Trying bakubak ...
501 No index records for host: bakubak. Invalid?
Trying bakubak ...
501 No index records for host: bakubak. Invalid?
amrecover

Now, I can not access remote client "mailde" backup data.

My disklist and amanda.conf include the following line .

disklist file:

mailde  /   root-tar

amanda.conf file:

indexdir "/usr/local/etc/amanda/mailde/index"
define dumptype global {
comment "Global definitions"
index yes
}

define dumptype root-tar {
global
program "GNUTAR"
comment "root partitions dumped with tar"
compress none
index yes
exclude list "/usr/local/lib/amanda/exclude.gtar"
priority low
}

Why am I getting "No index records for host" ?
What value should I include "/usr/local/lib/amanda/exclude.gtar" file ?
How is it recoverable if backup data carries out?


Best regards,
Masafumi Hikawa


Re: inparallell option in amanda.conf

2002-02-17 Thread Chris Marble

Don Potter wrote:
 
 I'm trying this outI have more than enough holding are and network 
 bandwidth..so I was wondering how many users actually adjust this 
 value.I have been up to 8 but I have usually become involved with 
 spindle contention.

I run mine at 20.  I max out a pair of 100Mb cards at times.
I tweak the spindle numbers on some client machines to set the max on
them to 1 or 2.
-- 
  [EMAIL PROTECTED] - HMC UNIX Systems Manager
  My opinions are my own and probably don't represent anything anyway.