Re: dds3 or dds4?

2001-07-04 Thread Tom Strickland

On Wed, Jul 04, 2001 at 08:32:35AM -0300, Alexandre Oliva wrote:
> On Jun 27, 2001, Tom Strickland <[EMAIL PROTECTED]> wrote:
> 
> > total for HP SureStore DDS3i, SCSI card, 20 tapes, delivery, VAT: 998.52UKP
> It doesn't look like we're talking lots of disk space here.  Consider
> buying one or two machines with loads of disk and do backup on disk
> only, rsyncing the backups onto a backup of the backup or having the
> backup disks on RAID 5, depending on how serious of a failure you're
> willing to tolerate.
It's done! We've bought a SureStore DDS4i and all the bits. Once I've
been in my new job for a few months, I'll see if I can afford to shell
out for some new IDE drives and implement software RAID 5 or 10.
Thanks again to all for the advice,

Tom



new disk?

2001-07-04 Thread xavier

Hi, i seem to have a problem here. I did a dump of one of my system on 
the server and, accordingly to the report, the tape was only used at 
38%, but amanda asks me to put a new tape... I dont't get it, first the 
tape should be the same used, and in second, in worst it should be #2 
and not "new tape".

I guess this may be because the tape was never used, so i've put a new 
tape that wasnt labeled with amlabel and waited for the day to pass. But 
when i got here this morning, the tape was ejected from the server (and 
so the dump failed). So my question is: Should i have labelled the tape? 
or is it a configuration problem from me?
and why is amanda asking me for a new tape?

here is my report, if you think you need other logs, just tell me:

===
mail:
===

These dumps were to tape Trou01.
The next tape Amanda expects to use is: a new tape.


STATISTICS:
  Total   Full  Daily
      
Estimate Time (hrs:min)0:04
Run Time (hrs:min) 3:17
Dump Time (hrs:min)0:39   0:37   0:02
Output Size (meg)9416.1 9414.21.9
Original Size (meg)  9416.1 9414.21.9
Avg Compressed Size (%) -- -- --(level:#disks ...)
Filesystems Dumped4  1  3   (1:3)
Avg Dump Rate (k/s)  4113.2 4296.5   19.1

Tape Time (hrs:min)2:33   2:33   0:00
Tape Size (meg)  9416.2 9414.22.0
Tape Used (%)  38.3   38.30.0   (level:#disks ...)
Filesystems Taped 4  1  3   (1:3)
Avg Tp Write Rate (k/s)  1048.7 1049.2  328.7


NOTES:
  planner: Forcing full dump of Kickass:/dev/sd0m as directed.
  taper: tape Trou01 kb 9642208 fm 4 [OK]


DUMP SUMMARY:
 DUMPER STATSTAPER STATS 
HOSTNAME DISKL ORIG-KB OUT-KB COMP% MMM:SS  KB/s MMM:SS  KB/s
-- - 
Kickass  /dev/sd0j   1 640640   --0:26  25.0   0:03 237.3
Kickass  /dev/sd0k   1 640640   --0:32  20.0   0:02 405.7
Kickass  /dev/sd0l   1 640640   --0:43  14.9   0:02 407.8
Kickass  /dev/sd0m   0 96401609640160   --   37:244296.5 153:081049.2

(brought to you by Amanda version 2.4.2p2)

=

Thank you for yout time

Xavier Guilbeault





taper and "no tape online"

2001-07-04 Thread Peter Druck

Hi,
I'm still trying to get amanda running. Since I've made some
modifications to chg-zd-mtx I got much further than yesterday,
but I still ahve some problems.
I've tried to backup an reiserfs which failed with dumptype=
nocomp-test. If I backup a ext2fs it works. When I use
dumptype=root-tar I get the error below in amdump:
Q: In a correct log, is there the device name in the taper and changer
messages (e.g.taper: slot /usr/bin/mt -f ::)?


GETTING ESTIMATES...
driver: pid 5083 executable /usr/lib/amanda/driver version 2.4.2
driver: send-cmd time 0.001 to taper: START-TAPER 20010704
driver: started dumper0 pid 5085
dumper: pid 5085 executable dumper version 2.4.2, using port 589
taper: pid 5084 executable taper version 2.4.2
changer: opening pipe to: /usr/lib/amanda/chg-zd-mtx -info
changer: opening pipe to: /usr/lib/amanda/chg-zd-mtx -slot current
taper: slot 1: date 20010704 label DailySet110 (active tape)
changer: opening pipe to: /usr/lib/amanda/chg-zd-mtx -slot next
got result for host localhost disk /usr: 0 -> 2199920K, -1
-> -1K, -1 -> -1K
getting estimates took 5.192 secs
FAILED QUEUE: empty
DONE QUEUE:
  0: localhost /usr

...
GENERATING SCHEDULE:

localhost /usr 11508 0 1970:1:1:0:0:0 2199920 73330

driver: adding holding disk 0 dir /brownie-1/dumps/amanda size 512
reserving 512 out of 512 for degraded-mode dumps
driver: start time 5.185 inparallel 1 bandwidth 2600 diskspace 512 dir
OBSOL
ETE datestamp 20010704 driver: drain-ends tapeq LFFO big-dumpers -2
taper: slot /usr/bin/mt:: no tape online
changer: opening pipe to: /usr/lib/amanda/chg-zd-mtx -slot next
taper: slot /usr/bin/mt:: no tape online
driver: result time 126.661 from taper: TAPE-ERROR [new tape not found in
rack]
dump of driver schedule before start degraded mode:

  localhost /usr lv 0 t 73330 s  2199952 p 11508

dump of driver schedule after start degraded mode:


driver: state time 126.661 free kps: 2600 space: 512 taper: DOWN
idle-dumper
s: 1 qlen tapeq: 0 runq: 0 roomq: 0 wakeup: 86400 driver-idle: not-idle
driver: interface-state time 126.661 if : free 800 if ETH0: free 800 if
LOCAL: f
ree 1000
driver: hdisk-state time 126.661 hdisk 0: free 512 dumpers 0
driver: QUITTING time 126.661 telling children to quit
driver: send-cmd time 126.661 to dumper0: QUIT
driver: send-cmd time 126.661 to taper: QUIT
writing taper command: Daten?bergabe unterbrochen (broken pipe)
driver: FINISHED time 126.666
amdump: end at Mit Jul  4 15:15:26 CEST 2001

Peter

 +---+
 |e-Mail: [EMAIL PROTECTED] |
 +---+




Re: interestng developments

2001-07-04 Thread Alexandre Oliva

On Jul  3, 2001, Ben Hitz <[EMAIL PROTECTED]> wrote:

> If I use another Linux machine, instead of local host - I get the
> following from Amcheck.  It looks like the same problem, but why would
> the connection be refused on Linux but not Irix?

Because GNU/Linux sends a packet back when it receives a UDP packet to
a port on which no process is listening, and another GNU/Linux machine
will report this back to the sender as a connection refused.  It means
you haven't set up [x]inetd to run amanda on the client.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist*Please* write to mailing lists, not to me



Re: alternate recovery host?

2001-07-04 Thread Alexandre Oliva

On Jul  3, 2001, Bill Swingle <[EMAIL PROTECTED]> wrote:

> Is there a way to set this up so that the local machine has all the
> info needed to find/restore files without needing the remote
> machine?

Sure, just rsync the configuration and index directories over from the
remote machine into a closer index server, and tell amrecover to
use this index server, while still using the remote tape server (I
suppose).

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist*Please* write to mailing lists, not to me



Re: help: problems building Amanda 2.4.2p2 on HP-UX v10.20

2001-07-04 Thread Alexandre Oliva

On Jul  2, 2001, "Rivera, Edwin" <[EMAIL PROTECTED]> wrote:

> /buildhp2/amanda-2.4.2p2# ./configure --with-user=amanda --with-group=amanda
2> &1 > tt.txt
> Invalid configuration `hpux10.20': machine `hpux10.20' not recognized

Seems like some config.site or config.cache is breaking the system
auto-detection.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist*Please* write to mailing lists, not to me



Re: amrecover and index record

2001-07-04 Thread Alexandre Oliva

On Jun 29, 2001, [EMAIL PROTECTED] wrote:

> amindexd is running as root. I have to do my dump as root because I use
> tar.

Amanda takes care of running GNU tar as root by itself, you don't have
to configure --with-user=root for GNU tar to work properly.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist*Please* write to mailing lists, not to me



Re: Building one one machine; using on another

2001-07-04 Thread Alexandre Oliva

On Jun 27, 2001, a blob of green gelatin <[EMAIL PROTECTED]> wrote:

> ld: fatal: file values-Xa.o: open failed: No such file or directory

This file is part of a development-installation of Solaris.  You'll
definitely need to install some Solaris package to get anything at all
compiled on this system.  Installing pre-compiled versions of GCC and
GNU binutils won't be enough: they'll still want this file to be
present.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist*Please* write to mailing lists, not to me



Re: amrecover problems

2001-07-04 Thread Alexandre Oliva

On Jun 26, 2001, Olivier Nicole <[EMAIL PROTECTED]> wrote:

> Does it make the things run slower if a program is ALWAYS compiled with -g?

Not when using GCC.  In fact, that's the reason why configure uses
CFLAGS="-O2 -g" by default, when the compiler is GCC.  GCC generates
exactly the same code, regardless of -g, and you can always strip off
debugging information if you wish.  Debugging information will only
take up disk space, but since it's not in loadable sections, it won't
even use additional memory when you run the program.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist*Please* write to mailing lists, not to me



Re: dds3 or dds4?

2001-07-04 Thread Alexandre Oliva

On Jun 27, 2001, Tom Strickland <[EMAIL PROTECTED]> wrote:

> total for HP SureStore DDS3i, SCSI card, 20 tapes, delivery, VAT: 998.52UKP

It doesn't look like we're talking lots of disk space here.  Consider
buying one or two machines with loads of disk and do backup on disk
only, rsyncing the backups onto a backup of the backup or having the
backup disks on RAID 5, depending on how serious of a failure you're
willing to tolerate.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist*Please* write to mailing lists, not to me



Re: Too many filesystems to AMANDA?

2001-07-04 Thread Alexandre Oliva

On Jul  3, 2001, Enrique Rodríguez Lázaro <[EMAIL PROTECTED]> wrote:

> GNUTAR /xxx/r/ttt/ 0 1970:1:1:0:0:0 1 exclude-file=*bbb..es* *mmm*
  ^

You can't have whitespace in an exclude-file specification.  This is
what breaks the request packet reader.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist*Please* write to mailing lists, not to me



Re: Connection reset by peer problem again

2001-07-04 Thread John R. Jackson

>sendbackup: debug 1 pid 18993 ruid 5023 euid 5023 start time Wed Jul  4 03:43:28 2001
>index tee cannot write [Broken pipe]
>sendbackup: pid 18995 finish time Wed Jul  4 05:43:45 2001
>
>Failed backup occured because the index tee cannot write.

No, that's just a symptom of the connection being shut down.  The link
was cut (by your firewall) and when the client tried to write something,
it couldn't.

>In my firewall, connection timeout is 60 minutes. I think that it's pretty long.

But not long enough.  Look at the start and end time above.  It's going
to take at least two hours (maybe even more) to do that file system.

>Edward.

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]



Re: amcheck problem

2001-07-04 Thread Alexandre Oliva

On Jun 22, 2001, "John Holstein, IS" <[EMAIL PROTECTED]> wrote:

> "amanda.conf" line 0: default tape type EXABYTE not defined.
> amcheck: could not read amanda config file

> We didnt add any "EXABYTE" stuff in there at all.

Yep, but for some reason that's the default tapetype name, so you have
to override it with `tapetype NAME' in amanda.conf, and make sure to
`define tapetype NAME' too.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist*Please* write to mailing lists, not to me



AW: FreeBSD && amrecover: Port-Probs

2001-07-04 Thread Michael Fritsch

Hey John R.!

I'm lucky! My amrecover problem is fixed now!

I compiled without 

--with-portrange
and
--with-bsd-security

That's all!

Thanks a lot for your help!

Regards,

Michael Fritsch
infinis GmbH



> An: Michael Fritsch; [EMAIL PROTECTED]; Daniel Schwager
> Betreff: Re: FreeBSD && amrecover: Port-Probs 
> 
> 
> I did a first cut at the reserved port change that 
> should fix amrecover
> (and might not even break everything else :-).  If some 
> of you who
> have problems with this (or anyone else using 
> --with-portrange) would
> give this a try and let me know if anything bad (or 
> good :-) happens,
> I'd appreciate it.
> 
> It seemed to work here as expected, but I don't have 
> any firewalls or
> NAT involved, and those are the things I'm worried about.
> 
> You should rebuild both the client and server side, 
> although you don't
> have to rebuild all the clients at once.  You'll have 
> to rebuild clients
> you want to test amrecover on, but the others should 
> also (eventually)
> be rebuilt to make sure the change does not affect them 
> when going
> through your firewall/NAT.
> 
> John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
> 



Re: time_t?

2001-07-04 Thread Alexandre Oliva

On Jun 21, 2001, [EMAIL PROTECTED] wrote:

> Alexandre Oliva wrote:
>> On Jun 21, 2001, Lance Dillon <[EMAIL PROTECTED]> wrote:
>> 
>> > The tar version is 1.13 (tar --version), from sunfreeware.com.
>> 
>> 1.13 is broken.  That's one of the symptoms.
>> 
>> > I tried to compile 1.13.19 from the sources, but it would always hang up
>> > at a certain point (I determined where it would fail, but not why).
>> 
>> Is this on Solaris/x86 or Solaris/sparc?  Which compiler?  Which linker?

> Solaris sparc.  gcc 2.8.1  (also from sunfreeware.com), ld 2.9.1

Check the GNU tar 1.13.19 release notes.  I believe somewhere it says
GCC 2.8.1 won't compile it properly.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist*Please* write to mailing lists, not to me



alternate recovery host?

2001-07-04 Thread Bill Swingle

Hey all,

Right now my company backs up a large amount of data from a large
number of machines to a central amanda host. Since this host is very
remote from us we'd like to have the ability to do small restores
(small numbers of files) on a different machine here locally. Is there a
way to set this up so that the local machine has all the info needed to
find/restore files without needing the remote machine?

Thanks for any help that can be offered!

-Bill

-- 
-=| Bill Swingle 
-=| Unix Admin, Swan Systems Inc.  cell (925) 368-8555 
-=| 425 Market St. Suite 2650   fax (415) 901-7800
-=| San Francisco, CA 94105 http://www.swansystems.com