tape control and amanda

2000-11-06 Thread Clem Kumah

hello, 

I need some help. I have installed amanda-2.4.2-19991216-beta1 on
Freebsd 4.1

I have a Breecehill tape robot with 15 cartridges in it. I have noticed
the changer device is set to /dev/ch0. The actual device is listed as
/dev/pass1. How can I change this?

Secondly, is it possible to use mt or chio to manual move the robot
changer, any examples would be appreciated

Thanks in advance!
-- 
Clem Kumah  [EMAIL PROTECTED]
System Administratorwww.worldonline.co.uk
World Online UK +44 (0)8707 48 4000



Re: Compiling

2000-11-06 Thread seidel

> >I'm new to Amanda and I cannot compile it. ./configure says to me: 
> >"can't guess host type. you have to specify one". I plan to use 
> >amanda 2.4.1.p1 on a RedHat 6.1 system. Thanks in advance.
> 
> And are you building it on "a RedHat 6.1 system"?  What does "uname
> -a" say?

Yes, I'm building it on RedHat 6.1, too. uname says:
Linux [name] 2.2.12.32 #1 [date] i686 unknown.
I've tried it with the option
--host=Linux or
--host=i686-unknown-Linux
Now configure says:
checking host system type... Invalid configuration 'Linux': machine 
'Linux'
and stops with the error: C compiler cannot create executables

The rest of the process is listed above. A big thx for help in 
advance.

Olaf

loading cache ./config.cache
checking host system type... 
checking target system type... 
checking build system type... 
checking config.cache system type... same
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking for non-rewinding tape device... /dev/null
checking for raw ftape device... /dev/null
checking for Kerberos and Amanda kerberos4 bits... no
checking for gcc... gcc

*
This machine, target type , is not known
to be fully supported by this configure script.  If the
installation of Amanda on this system succeeds or needed
any patches, please email [EMAIL PROTECTED] with
the patches or an indication of the sucess or failure of
the Amanda installation on your system.
*

checking whether aclocal can find libtool macros... no
checking for ar... /usr/bin/ar
checking for mawk... no
checking for gawk... gawk
checking for gawk command line variable assignment... yes with -v
checking for bison... no
checking for byacc... no
checking for cat... /bin/cat
checking for compress... /usr/bin/compress
checking for dd... /bin/dd
checking for egrep... /bin/egrep
checking for getconf... /usr/bin/getconf
checking for gnuplot... /usr/bin/gnuplot
checking for grep... /bin/grep
checking for gtar... /bin/gtar
checking for gzip... /bin/gzip
checking for Mail... /usr/bin/Mail
checking for mt... /bin/mt
checking for chio... no
checking for chs... no
checking for mtx... no
checking for lpr... /usr/bin/lpr
checking which flag to use to select a printer... -P
checking for pcat... no
checking for perl5... no
checking for perl... /usr/bin/perl
checking for ranlib... ranlib
checking for sh... /bin/sh
checking for ufsdump... no
checking for dump... /sbin/dump
checking whether /sbin/dump supports -E for estimates... no
checking for ufsrestore... no
checking for restore... /sbin/restore
checking for xfsdump... no
checking for xfsrestore... no
checking for vxdump... no
checking for vxrestore... no
checking for vdump... no
checking for vrestore... no
checking for large file compilation CFLAGS... -
D_FILE_OFFSET_BITS=64
checking for large file compilation LDFLAGS... 
checking for large file compilation LIBS... 
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -D_FILE_OFFSET_BITS=64 -
g) works... no




HP 1557A configuration

2000-11-06 Thread Yann PURSON

Hi,


I'm trying to install Amanda on a Solaris 2.6 system, with an HP 1557A
tape changer...Here is my pb :
I'm not sure which type of configuration I need to specifie in the
amanda.conf for the HP 1557A systeme...I've found on the web this
configuration :
[]

tpchanger "chg-zd-mtx"  # the tape-changer glue script
tapedev "/dev/nst0" # the no-rewind tape device to
be used
rawtapedev "/dev/nst0"  # the raw device to be used
(ftape only)
changerfile "/etc/amanda/mtx-changer"
changerdev "/dev/nst0"
tapetype HP1557A

[]

define tapetype HP1557A {
comment "HP SureStore DAT24x6 tape drive"
# data provided by Ivo Clarysse
length 12000 mbytes
filemark 111 kbytes
speed 3000 kbytes
}

Ok...but I'm not able to find the mtx-changer file...
Should I really use this one or can I use the default one given in the
amanda package (in this case, wich one should I use???!!)

Thanks for any hints!!!




Windows client

2000-11-06 Thread Alessandro Chiauzzi



I need to back up a Windows pc with 
Amanda.
I didn't find appropriate documentation about "how 
configure amanda to backup Windows client".
Could someone help me?
Tank you very much.
 
Alessandro ChiauzziSystem EngineerDialogos3 
s.r.l.

BEGIN:VCARD
VERSION:2.1
N:Chiauzzi;Alessandro
FN:Alessandro Chiauzzi
ORG:Dialogos3 s.r.l.
TITLE:System Engineer
TEL;WORK;VOICE:02/70005949
ADR;WORK:;;via Carlo Poma 18;Mi;20129;Milano;Italia
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:via Carlo Poma 18=0D=0AMi, 20129 Milano=0D=0AItalia
URL:
URL:http://www.dialogos3.com
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20001106T141735Z
END:VCARD



Re: HP-UX 11.00 client not responding

2000-11-06 Thread Austin Chamberlain


> > I have an unusual problem with an HP-UX 11.00 client running Amanda
> > 2.4.1p1. The backup server is running FreeBSD 4.0-STABLE. amcheck
> > returns the following:
> >
> > heri2000.u /usr lev 0 FAILED [Request to heri2000.uct.ac.za timed out.]
> >
> > The same client configuration works successfully on HP-UX 10.20 and
> > several FreeBSD and Linux machines. It seems that amandad simply is not
> > responding to any attempts to connect to amandad - logs show the
> > registrar service, on port 1712, responding to the amcheck request!
> 
> What's in /tmp/amanda/*.debug on the client?
> 
It seems that /tmp/amanda is actually empty - the one message that was
present came from an attempt to run amandad from the command line. So -
the client is not responding at all.

Austin

-- 
Austin Chamberlain  +27 21 650 4121
Technical Support Services, ITS, University of Cape Town
What's this stuff about people being "released on their 
own recognizance"? Aren't we all out on our own recognizance?



Re: HP-UX 11.00 client not responding

2000-11-06 Thread Mitch Collinsworth

> > > I have an unusual problem with an HP-UX 11.00 client running Amanda
> > > 2.4.1p1. The backup server is running FreeBSD 4.0-STABLE. amcheck
> > > returns the following:
> > >
> > > heri2000.u /usr lev 0 FAILED [Request to heri2000.uct.ac.za timed out.]
> > >
> > > The same client configuration works successfully on HP-UX 10.20 and
> > > several FreeBSD and Linux machines. It seems that amandad simply is not
> > > responding to any attempts to connect to amandad - logs show the
> > > registrar service, on port 1712, responding to the amcheck request!
> > 
> > What's in /tmp/amanda/*.debug on the client?
> > 
> It seems that /tmp/amanda is actually empty - the one message that was
> present came from an attempt to run amandad from the command line. So -
> the client is not responding at all.

Next step is to read docs/FAQ, "Q: Why does `amcheck' report `selfcheck
request timed out'?" and follow the suggestions given there.

-Mitch




Re: amdump hangs -- caveat hacker...

2000-11-06 Thread Jonathan D. Proulx

Hi,

I got my self pretty hosed with this (no fault of jrj's his directions
for twiddling the hme settings are essentially correct, just be sure
to `man ndd` first as there's some subtle variations between Solaris
releases) 

I suspect the switch might have gotten confused by the changing
interface settings, possible due to the order I changed them in.

I'll post a full description for the record when I sort it out.

Just fair warning incase someone else is about to try this...

-Jon


On Fri, Nov 03, 2000 at 11:38:36PM -0500, John R. Jackson wrote:
:
:You didn't mention if you needed the magic or not, but here it is just
:in case (add to /etc/system and reboot):
:
:  set hme:hme_adv_100fdx_cap = 1
:  set hme:hme_adv_100hdx_cap = 0
:  set hme:hme_adv_autoneg_cap = 0
:
:The first line says "use full duplex", the second says "don't use half
:duplex" and the third says "don't try to autonegotiate".  I assume you
:flip the value in the first two lines if you use half duplex.
:
:Truth be told, I only have (and knew about) the first and third lines.
:But I just saw the second line and the following in a mailing list
:recently.  I suspect the default is zero for these variables and so I
:don't need the half duplex set.
:
:If you want to test the values while the system is up (as root):
:
:  ndd -get /dev/hme hme_adv_100fdx_cap
:  ndd -get /dev/hme hme_adv_100hdx_cap
:  ndd -get /dev/hme hme_adv_autoneg_cap
:
:If you have multiple instances, select the specific one first, then do
:the variables, e.g. for hme1:
:
:  ndd -set /dev/hme instance 1
:  ndd -get /dev/hme hme_adv_100fdx_cap
:  ...
:
:I'm not sure what you do in /etc/system for multiple instances.
:
:In theory you can also set these at run time, but that's braver than
:I'd want to be unless it was dead in the water and my local network guru
:was at my shoulder.
:
:>Jon
:
:John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]



Re: Compiling

2000-11-06 Thread David DeSimone

[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> checking host system type... Invalid configuration 'Linux': machine 
> 'Linux'
> and stops with the error: C compiler cannot create executables

You probably did not install the various packages that make your system
into a "development" system.  These packages are considered optional by
RedHat, if you are not going to be compiling software yourself.  Since
you are compiling software, you should go and install these packages.

Since I'm not a RedHat user, I don't know the names of them, but
anything with the word "development" or "dev" in the name or comment is
probably fair game.

-- 
David DeSimone   | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED]   |  that there is no man really clever who has not
Hewlett-Packard  |  found that he is stupid." -- Gilbert K. Chesterson
Richardson IT|PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44



Re: Windows client

2000-11-06 Thread Pierre Volcke


> 
> I need to back up a Windows pc with Amanda.
> I didn't find appropriate documentation about "how configure amanda to
> backup Windows client".
> Could someone help me?
> Tank you very much.
> 
> Alessandro Chiauzzi
> System Engineer
> Dialogos3 s.r.l.

 You may use both Samba & Amanda to backup your Win client.
 Have a look into the Amanda documentation, there's a
 file named "SAMBA".

Pierre.



Re: Failure to allocate memory

2000-11-06 Thread Eric Wadsworth

"John R. Jackson" wrote:
> 
> >Finally got everything set up right (I think). Ran my first test dump, and
> >it mailed me a report saying it failed:
> >
> >taper: FATAL shmget: Cannot allocate memory
> 
> Shared memory is a kernel feature that you may have to enable or turn
> on in some way.  Try "ipcs -a", which should report all current shared
> memory segments, semaphores and message queues.  With luck, it will
> either tell you there are a bunch of old shared memory segments for the
> Amanda user caused by your testing, in which case you can use ipcrm to
> clear them, or it will tell you shared memory is not enabled, in which
> case you'll have to find out from someone who knows about your OS (or
> from the system documentation) how to turn that on.
> John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]

Yes, this is what the problem was. There were a bunch of entries which I
removed. It seems that when amanda fails, it doesn't always free these
resources.

===
Eric Wadsworthemail: [EMAIL PROTECTED]
Conceptual Systems and Software   http://www.consys.com
===



Re: HP 1557A configuration

2000-11-06 Thread Tony Traylor

I have a similar changer, and wrestled with the config as well. As I 
understand the 'changerfile' line in the amanda.conf, it is a prefix for 
several files used to control the useage. 

changer-access
changer-clean
changer-slot
changer-status... in my case, 

I compiled mtx, then fought with the chg-mtx script, before I found that 
the chg-zd-mtx script already had the syntax I needed. 

My changer.conf file...  I am still unable to get it to use more than 6 
slots of my 12 slot magazine.

#From newsgroup postings, using /dev/st1
# Tony Traylor 2905
number_configs  1
eject   1   # Tapedrives need an eject command
sleep   5   # Seconds to wait until the tape gets ready
cleanmax20  # How many times could a cleaning tape get used
changerdev  /dev/st1
#
# Next comes the data for drive 1
#
config  0
drivenum 0
dev /dev/nst1 # Tne drive that is used for the tapedrive0
startuse 1 # The slots assoc w/drive0
enduse  12 #
statfile/usr/home/amanda//changer-slot # the 'changer' is 
the prefix from 'changerfile' parameter.
cleancart   12 # cleaning cart location, -1 means none
cleanfile   /usr/home/amanda//changer-clean # records
usagecount  /usr/home/amanda//changer-access # records 

Tony Traylor.
>> Original Message <<

On 11/6/00, 5:49:04 AM, Yann PURSON <[EMAIL PROTECTED]> wrote regarding 
HP 1557A configuration:


> Hi,


> I'm trying to install Amanda on a Solaris 2.6 system, with an HP 1557A
> tape changer...Here is my pb :
> I'm not sure which type of configuration I need to specifie in the
> amanda.conf for the HP 1557A systeme...I've found on the web this
> configuration :
> []

> tpchanger "chg-zd-mtx"  # the tape-changer glue script
> tapedev "/dev/nst0" # the no-rewind tape device to
> be used
> rawtapedev "/dev/nst0"  # the raw device to be used
> (ftape only)
> changerfile "/etc/amanda/mtx-changer"
> changerdev "/dev/nst0"
> tapetype HP1557A

> []

> define tapetype HP1557A {
> comment "HP SureStore DAT24x6 tape drive"
> # data provided by Ivo Clarysse
> length 12000 mbytes
> filemark 111 kbytes
> speed 3000 kbytes
> }

> Ok...but I'm not able to find the mtx-changer file...
> Should I really use this one or can I use the default one given in the
> amanda package (in this case, wich one should I use???!!)

> Thanks for any hints!!!



Re: Compile error?

2000-11-06 Thread Robert L. Harris


They look installed.

{130}:vanguard.incyte.agency.com:/data/weblogic>which yacc
/usr/ccs/bin/yacc
{0}:vanguard.incyte.agency.com:/data/weblogic>which lex
/usr/ccs/bin/lex

Thoughts?


Remy Chibois wrote:

> On Tue, Oct 24, 2000 at 04:32:39PM -0600, Robert L. Harris wrote:
> >
> > I've built amanda so far on about 6 clients.  On # 7 I'm getting this:
> >
> > gcc -g -o .libs/amrecover amrecover.o display_commands.o extract_list.o
> > help.o set_commands.o uparse.o uscan.o -ll -R/usr/local/lib
> > ../client-src/.libs/libamclient.so -lgen -lm -ltermcap -lsocket -lnsl
> > -lintl -R/usr/local/lib ../tape-src/.libs/libamtape.so -lgen -lm
> > -ltermcap -lsocket -lnsl -lintl -R/usr/local/lib
> > ../common-src/.libs/libamanda.so -lgen -lm -ltermcap -lsocket -lnsl
> > -lintl -lgen -lm -ltermcap -lsocket -lnsl -lintl
> > Undefined   first referenced
> >  symbol in file
> > yy_scan_string  uscan.o
>
> This symbol (function) appears to be a Yacc (parser generator) function.
>
> Is Lex/Yacc or Flex/Bison installed on your machine ?
>
> Rémy

--

:wq!
---
Robert L. Harris|  Micros~1 :
Unix System Administrator   |For when quality, reliability
  at Agency.com |  and security just aren't
\_   that important!
DISCLAIMER:
  These are MY OPINIONS ALONE.  I speak for no-one else.
FYI:
 perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'






Re: I had enough holding disk but part of the dump failed -

2000-11-06 Thread Denise Ives

This is the dumptype am using in my disklist file - 'always-full'



}

define dumptype always-full {
global
comment "Full dump of this filesystem always"
compress none
priority high
dumpcycle 0
}




On Fri, 3 Nov 2000, John R. Jackson wrote:

> I looked at your amdump.1 log and the code for quite a while this
> afternoon and am not sure what happened.  It looks like the driver
> algorithm for choosing the next dump to process may have trouble with
> some restricting situations in conjunction with you not using a tape.
> For instance, it looks like the code might decide to send a dump direct
> to tape when there doesn't appear to be enough bandwidth.  That does
> not appear to be what's happening to you, but it would cause what you
> are seeing.
> 
> There is not enough logging data about why the two disks were not allowed
> to go to the holding disk to tell for sure.
> 
> Another thought: are you using the same dumptype for all the disks?
> Is there any chance these two are marked "holdingdisk no" or are different
> in some other way?  At one point, when your holding disk was going to be
> part of /home, I told you you would have to do that.  But now that it's
> a separate partition, you should definitely **not** be using this option.
> 
> If this isn't it, the only thing I can think of to do is generate some
> temporary patches for your system to better track what is going on.
> But I know how much you enjoy applying patches :-), so you make the call.
> 
> John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
> 

-- 
Denise E. Ives  [EMAIL PROTECTED]
Systems Engineer734.822.2037

Multilingual Internet Domain Name Registrations - http://www.walid.com




Re: Compiling

2000-11-06 Thread Rolf Olsen

The RH 6.1 gcc compiler is in the egcs package.  You may also need cdecl,
cproto and flex.

I used ./configure pentiumii  on one of my early attempts.

R. Olsen


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 06, 2000 7:45 AM
Subject: Re: Compiling


> > >I'm new to Amanda and I cannot compile it. ./configure says to me:
> > >"can't guess host type. you have to specify one". I plan to use
> > >amanda 2.4.1.p1 on a RedHat 6.1 system. Thanks in advance.
> >
> > And are you building it on "a RedHat 6.1 system"?  What does "uname
> > -a" say?
>
> Yes, I'm building it on RedHat 6.1, too. uname says:
> Linux [name] 2.2.12.32 #1 [date] i686 unknown.
> I've tried it with the option
> --host=Linux or
> --host=i686-unknown-Linux
> Now configure says:
> checking host system type... Invalid configuration 'Linux': machine
> 'Linux'
> and stops with the error: C compiler cannot create executables
>
> The rest of the process is listed above. A big thx for help in
> advance.
>
> Olaf
>
> loading cache ./config.cache
> checking host system type...
> checking target system type...
> checking build system type...
> checking config.cache system type... same
> checking for a BSD compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... yes
> checking for working aclocal... found
> checking for working autoconf... found
> checking for working automake... found
> checking for working autoheader... found
> checking for working makeinfo... missing
> checking for non-rewinding tape device... /dev/null
> checking for raw ftape device... /dev/null
> checking for Kerberos and Amanda kerberos4 bits... no
> checking for gcc... gcc
>
> *
> This machine, target type , is not known
> to be fully supported by this configure script.  If the
> installation of Amanda on this system succeeds or needed
> any patches, please email [EMAIL PROTECTED] with
> the patches or an indication of the sucess or failure of
> the Amanda installation on your system.
> *
>
> checking whether aclocal can find libtool macros... no
> checking for ar... /usr/bin/ar
> checking for mawk... no
> checking for gawk... gawk
> checking for gawk command line variable assignment... yes with -v
> checking for bison... no
> checking for byacc... no
> checking for cat... /bin/cat
> checking for compress... /usr/bin/compress
> checking for dd... /bin/dd
> checking for egrep... /bin/egrep
> checking for getconf... /usr/bin/getconf
> checking for gnuplot... /usr/bin/gnuplot
> checking for grep... /bin/grep
> checking for gtar... /bin/gtar
> checking for gzip... /bin/gzip
> checking for Mail... /usr/bin/Mail
> checking for mt... /bin/mt
> checking for chio... no
> checking for chs... no
> checking for mtx... no
> checking for lpr... /usr/bin/lpr
> checking which flag to use to select a printer... -P
> checking for pcat... no
> checking for perl5... no
> checking for perl... /usr/bin/perl
> checking for ranlib... ranlib
> checking for sh... /bin/sh
> checking for ufsdump... no
> checking for dump... /sbin/dump
> checking whether /sbin/dump supports -E for estimates... no
> checking for ufsrestore... no
> checking for restore... /sbin/restore
> checking for xfsdump... no
> checking for xfsrestore... no
> checking for vxdump... no
> checking for vxrestore... no
> checking for vdump... no
> checking for vrestore... no
> checking for large file compilation CFLAGS... -
> D_FILE_OFFSET_BITS=64
> checking for large file compilation LDFLAGS...
> checking for large file compilation LIBS...
> checking for gcc... (cached) gcc
> checking whether the C compiler (gcc -D_FILE_OFFSET_BITS=64 -
> g) works... no
>




Re: Compiling

2000-11-06 Thread Bernhard R. Erdmann

On Mon, Nov 06, 2000 at 01:45:14PM +0100, [EMAIL PROTECTED] wrote:
> > >I'm new to Amanda and I cannot compile it. ./configure says to me: 
> > >"can't guess host type. you have to specify one". I plan to use 
> > >amanda 2.4.1.p1 on a RedHat 6.1 system. Thanks in advance.
> > 
> > And are you building it on "a RedHat 6.1 system"?  What does "uname
> > -a" say?
> 
> Yes, I'm building it on RedHat 6.1, too. uname says:
> Linux [name] 2.2.12.32 #1 [date] i686 unknown.
> I've tried it with the option
> --host=Linux or
> --host=i686-unknown-Linux
> Now configure says:
> checking host system type... Invalid configuration 'Linux': machine 
> 'Linux'
> and stops with the error: C compiler cannot create executables

Maybe you didn't install binutils?



y2k issue in amtoc perl script

2000-11-06 Thread Eric Wadsworth

I don't know if this has been noticed, but amtoc -v returns 19100 as the
year instead of 2000. Here's a fix I came up with:

Modify line 141 of the amtoc file to read:

printf ("\t%d-$mon-$mday",$year+1900);

This seems to fix it. -- Eric




Re: HP-UX 11.00 client not responding

2000-11-06 Thread Bernhard R. Erdmann

On Mon, Nov 06, 2000 at 04:27:53PM +0200, Austin Chamberlain wrote:
[...]
> It seems that /tmp/amanda is actually empty - the one message that was
> present came from an attempt to run amandad from the command line. So -
> the client is not responding at all.

amandad is not started via inetd, check /etc/inetd.conf and /etc/services.



Re: Compile error?

2000-11-06 Thread Yura Pismerov


I think you'd better install flex.

"Robert L. Harris" wrote:
> 
> They look installed.
> 
> {130}:vanguard.incyte.agency.com:/data/weblogic>which yacc
> /usr/ccs/bin/yacc
> {0}:vanguard.incyte.agency.com:/data/weblogic>which lex
> /usr/ccs/bin/lex
> 
> Thoughts?
> 
> Remy Chibois wrote:
> 
> > On Tue, Oct 24, 2000 at 04:32:39PM -0600, Robert L. Harris wrote:
> > >
> > > I've built amanda so far on about 6 clients.  On # 7 I'm getting this:
> > >
> > > gcc -g -o .libs/amrecover amrecover.o display_commands.o extract_list.o
> > > help.o set_commands.o uparse.o uscan.o -ll -R/usr/local/lib
> > > ../client-src/.libs/libamclient.so -lgen -lm -ltermcap -lsocket -lnsl
> > > -lintl -R/usr/local/lib ../tape-src/.libs/libamtape.so -lgen -lm
> > > -ltermcap -lsocket -lnsl -lintl -R/usr/local/lib
> > > ../common-src/.libs/libamanda.so -lgen -lm -ltermcap -lsocket -lnsl
> > > -lintl -lgen -lm -ltermcap -lsocket -lnsl -lintl
> > > Undefined   first referenced
> > >  symbol in file
> > > yy_scan_string  uscan.o
> >
> > This symbol (function) appears to be a Yacc (parser generator) function.
> >
> > Is Lex/Yacc or Flex/Bison installed on your machine ?
> >
> > Rémy
> 
> --
> 
> :wq!
> ---
> Robert L. Harris|  Micros~1 :
> Unix System Administrator   |For when quality, reliability
>   at Agency.com |  and security just aren't
> \_   that important!
> DISCLAIMER:
>   These are MY OPINIONS ALONE.  I speak for no-one else.
> FYI:
>  perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'

-- 

Yuri Pismerov, TUCOWS.COM INC.  (416) 535-0123  ext. 352
 S/MIME Cryptographic Signature


Re: tape control and amanda

2000-11-06 Thread Yura Pismerov

Clem Kumah wrote:
> 
> hello,
> 
> I need some help. I have installed amanda-2.4.2-19991216-beta1 on
> Freebsd 4.1
> 
> I have a Breecehill tape robot with 15 cartridges in it. I have noticed
> the changer device is set to /dev/ch0. The actual device is listed as
> /dev/pass1. How can I change this?

Why do you worry about that ? 

> 
> Secondly, is it possible to use mt or chio to manual move the robot
> changer, any examples would be appreciated

Grab mtx from http://mtx.sourceforge.net/ 
It uses /dev/passX devices to control the changer.
Keep in mind that the chg-mtx scrript in the Amanda source tree is
broken.
I don't know if it is already fixed in the latest 2.4.2 CVS - give it a
try.
You can get the latest 2.4.2 by using the following commands.

cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/amanda
login
cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/amanda
co -r amanda-242-branch amanda

Then install gmake and autoconf from /usr/ports and do the following (ar
about the following :).

MAKE=/usr/local/bin/gmake;export MAKE
GNUTAR=/usr/local/bin/tar;export GNUTAR
autoconf
./autogen

./configure --with-user=backup --with-group=backup
--with-gnutar=/usr/local/bin/tar \
--enable-shared --with-amandahosts
--with-smbclient=/usr/local/bin/smbclient \
--with-tape-device=/dev/nrsa0 --with-fqdn
gmake&&gmake install


If the script is broken - e-mail me - I'll send you the one I'm
currently using on FreeBSD backup server.


> 
> Thanks in advance!
> --
> Clem Kumah  [EMAIL PROTECTED]
> System Administratorwww.worldonline.co.uk
> World Online UK +44 (0)8707 48 4000

-- 

Yuri Pismerov, TUCOWS.COM INC.  (416) 535-0123  ext. 352
 S/MIME Cryptographic Signature


daily AMANDA MAIL REPORT FOR November 4, 2000 (fwd)

2000-11-06 Thread Denise Ives

Just sda10 failed this time. There have been no changes made to any of the
config files since I reported this problem last Thursday.


Last Thursday's amanda dump reported that sd9 and sda10 Failed
Nov 4th - amanda dump reported that only sda10 Failed
Nov 5th - amanda dump reported that only sda10 Failed
Nov 6th - amanda dump reported that only sda10 Failed 



Are you all saying that I need to change the chunk size?
sda10 - is our /home - this i need to get backed ups on.



On Fri, Nov 03, 2000 at 11:23:10PM -0500, John R. Jackson wrote:
> >I think that's what's happening, a dump with est_kps larger than the
> >bandwidth will never be scheduled to dump on holding disk.
> 
> I agree it looks like that could happen in principle (in fact, I wonder
> if other such "don't do this now" states should be examined), but in
this
> particular case the estimated bandwidth for the two disks not processed
> was well below the available.
> 

The schedule give:

 admin1.cor sda9 lv 2 t 5 s52939 p 13


52939/5 = 10587  that's above 1, and that's why sda9 didn't get
dumped.

As Alexandre said, sda10 didn't get dumped because the disk was big and
the chunksize set to -1.

Jean-Louis
-- 
Jean-Louis Martineau email: [EMAIL PROTECTED] 
Departement IRO, Universite de Montreal
C.P. 6128, Succ. CENTRE-VILLETel: (514) 343-6111 ext. 3529
Montreal, Canada, H3C 3J7Fax: (514) 343-5834

 





-- Forwarded message --
Date: Sat, 4 Nov 2000 01:24:22 -0500 (EST)
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: daily AMANDA MAIL REPORT FOR November 4, 2000

*** THE DUMPS DID NOT FINISH PROPERLY!

*** A TAPE ERROR OCCURRED: [no tape online].
*** PERFORMED ALL DUMPS TO HOLDING DISK.

THESE DUMPS WERE TO DISK.  Flush them onto a new tape.
Tonight's dumps should go onto 1 tape: a new tape.

FAILURE AND STRANGE DUMP SUMMARY:
  admin1.cor sda10 lev 1 FAILED [no more holding disk space]


STATISTICS:
  Total   Full  Daily
      
Dump Time (hrs:min)0:02   0:00   0:00   (0:02 start)
Output Size (meg)1064.20.0 1064.2
Original Size (meg)  1064.20.0 1064.2
Avg Compressed Size (%) -- -- -- 
Tape Used (%)   3.00.03.0   (level:#disks ...)
Filesystems Dumped8  0  8   (1:1 2:6 3:1)
Avg Dump Rate (k/s)  2227.1--  2227.1
Avg Tp Write Rate (k/s) -- -- -- 


NOTES:
  planner: Incremental of admin1.corp.walid.com:sda2 bumped to level 2.
  planner: Incremental of admin1.corp.walid.com:sda9 bumped to level 2.
  planner: Incremental of admin1.corp.walid.com:sda5 bumped to level 2.
  planner: Incremental of admin1.corp.walid.com:sda3 bumped to level 2.
  planner: Incremental of admin1.corp.walid.com:sda6 bumped to level 2.
  planner: Incremental of sundev1.corp.walid.com:c0t0d0s3 bumped to level 3.
  planner: Incremental of sundev1.corp.walid.com:c0t0d0s0 bumped to level 2.


DUMP SUMMARY:
  DUMPER STATS  TAPER STATS
HOSTNAME  DISK   L  ORIG-KB   OUT-KB COMP%  MMM:SS   KB/s  MMM:SS   KB/s
-- -- --
admin1.co sda10  1   FAILED 
admin1.co sda2   29219292192   -- 0:48 1939.6N/AN/A
admin1.co sda3   2   32   32   -- 0:00  163.8N/AN/A
admin1.co sda5   2 6272 6272   -- 0:22  285.3N/AN/A
admin1.co sda6   2 1472 1472   -- 0:03  476.5N/AN/A
admin1.co sda9   24627246272   -- 0:13 3517.1N/AN/A
sundev1.c c0t0d0s0   26409664096   -- 0:55 1155.8N/AN/A
sundev1.c c0t0d0s3   38220882208   -- 0:46 1772.8N/AN/A
sundev1.c c0t0d0s7   1   797184   797184   -- 5:02 2643.8N/AN/A

(brought to you by Amanda version 2.4.1p1)




Re: Presentation on Amanda in Bonn, Germany on Nov. 8th

2000-11-06 Thread Yura Pismerov

Johannes Niess wrote:
> 
> Hello,
> 
> As part of our Linux user group meetings, I'll give an introduction to
> tapes on Linux and an overview of Amanda.
> 
> Place: Rechenzentrum der Uni Bonn, Wegelerstr.
> Date:  November 8th, 19:30 h
> More details: http://bolug.uni-bonn.de/news
> Language of presentation: German


How many people here can read German ? :)

> 
> LaTeX and Postscript versions of the slides are available on request
> (as long as numbers stay low...)
> 
> Johannes Niess

-- 

Yuri Pismerov, TUCOWS.COM INC.  (416) 535-0123  ext. 352
 S/MIME Cryptographic Signature


Re: where am i going wrong.

2000-11-06 Thread brian

> >I have not tried the permissions thing, but yes, i have successfuly run
> >amlabel.
> 
> Then that makes absolutely no sense.  It's the same code.  I assume you
> ran amlabel as the Amanda user and not root?

I don't know what I did, but after a weekend of doing nothing, amcheck and
amdump sees the tape in the drive.  

I am still having the 'request timed out' error.. 


Amanda Tape Server Host Check
-
/holding/amanda: 8367536 KB disk space available, using 8316336 KB.
ERROR: cannot overwrite active tape DailySet11.
   (expecting a new tape)
NOTE: skipping tape-writable test.
Server check took 26.024 seconds.
protocol packet receive: Connection refused
protocol packet receive: Connection refused
protocol packet receive: Connection refused

Amanda Backup Client Hosts Check

WARNING: shiva.soltec.net: selfcheck request timed out.  Host down?
Client check: 1 host checked in 30.017 seconds, 1 problem found.

(brought to you by Amanda 2.4.1p1)



The "ERROR: cannot overwrite active tape DailySet11." can be ignored, but
the "protocol packet receive: Connection refused" is my problem.  Also the
WARNING message under client hosts check.. but they are related.

I don't know where to go from here.. John mentioned looking in my OS's
(slackware 7.1 dist of linux) documentation.  I guess i will try that out.


brian

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




Re: tape control and amanda

2000-11-06 Thread David Wolfskill

>Date: Mon, 06 Nov 2000 10:45:11 +
>From: Clem Kumah <[EMAIL PROTECTED]>

>I need some help. I have installed amanda-2.4.2-19991216-beta1 on
>Freebsd 4.1

>I have a Breecehill tape robot with 15 cartridges in it. I have noticed
>the changer device is set to /dev/ch0. The actual device is listed as
>/dev/pass1. How can I change this?

By specifying the "ch" (SCSI media changers) in your kernel
configuration -- see /usr/src/sys/i386/conf/LINT for a sample such line.

>Secondly, is it possible to use mt or chio to manual move the robot
>changer, any examples would be appreciated

Yes; once the "ch" device is defined to the kernel, Jason Thorpe's
"chio" driver will be available, as will the program of the same name.
There's a changer script called "chg-chio" that Nick Hibma wrote; I
suspect it will suit your purposes well.  (I happen to (still) use one
that I cobbled up around the rime Nick was writing chg-chio.  I can send
it to you if you like, but I strongly suggest that you use chg-chio if
at all feasible.)

Cheers,
david
-- 
David Wolfskill  [EMAIL PROTECTED]   UNIX System Administrator
Desk: 650/577-7158   TIE: 8/499-7158   Cell: 650/759-0823



daily AMFLUSH MAIL REPORT FOR November 6, 2000 (fwd)

2000-11-06 Thread Denise Ives



To get my full backup - Should I force a level 0 to tape tonight?

When I finish running tonight's level 0 to tape will amanda
know to run the next dump as an incremental?



-- Forwarded message --
Date: Mon, 6 Nov 2000 13:55:28 -0500 (EST)
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: daily AMFLUSH MAIL REPORT FOR November 6, 2000

The dumps were flushed to tape daily117.
Tonight's dumps should go onto 1 tape: a new tape.


STATISTICS:
  Total   Full  Daily
      
Dump Time (hrs:min)0:23   0:00   0:23   (0:00 start, 0:00 idle)
Output Size (meg)5461.60.0 5461.6
Original Size (meg)  5461.60.0 5461.6
Avg Compressed Size (%) -- -- -- 
Tape Used (%)  15.20.0   15.2   (level:#disks ...)
Filesystems Dumped   39  0 39   (1:11 2:24 3:4)
Avg Dump Rate (k/s) -- -- -- 
Avg Tp Write Rate (k/s)  4078.5--  4078.5


NOTES:
  taper: tape daily117 kb 5592640 fm 39 [OK]


DUMP SUMMARY:
  DUMPER STATS  TAPER STATS
HOSTNAME  DISK   L  ORIG-KB   OUT-KB COMP%  MMM:SS   KB/s  MMM:SS   KB/s
-- -- --
admin1.co sda10 NO FILE TO FLUSH ---
admin1.co sda2   2  N/A  N/A   -- N/AN/A 3:10 3269.5
admin1.co sda2   2  N/A  N/A   -- N/AN/A 0:18 3486.8
admin1.co sda2   2  N/A  N/A   -- N/AN/A 0:26 3565.4
admin1.co sda2   2  N/A  N/A   -- N/AN/A 1:20 3750.6
admin1.co sda2   2   313984   313984   -- N/AN/A 1:29 3540.6
admin1.co sda3   2  N/A  N/A   -- N/AN/A 0:00 3163.8
admin1.co sda3   2  N/A  N/A   -- N/AN/A 0:00 4212.5
admin1.co sda3   2  N/A  N/A   -- N/AN/A 0:00 3906.7
admin1.co sda3   2  N/A  N/A   -- N/AN/A 0:00 3975.4
admin1.co sda3   2   64   64   -- N/AN/A 0:00 3053.0
admin1.co sda5   2  N/A  N/A   -- N/AN/A 0:01 5349.9
admin1.co sda5   2  N/A  N/A   -- N/AN/A 0:03 1967.9
admin1.co sda5   2  N/A  N/A   -- N/AN/A 0:01 5346.0
admin1.co sda5   2  N/A  N/A   -- N/AN/A 0:03 2340.6
admin1.co sda5   2 6304 6304   -- N/AN/A 0:03 1870.6
admin1.co sda6   2  N/A  N/A   -- N/AN/A 0:00 5533.1
admin1.co sda6   2  N/A  N/A   -- N/AN/A 0:00 4815.0
admin1.co sda6   2  N/A  N/A   -- N/AN/A 0:00 5783.7
admin1.co sda6   2  N/A  N/A   -- N/AN/A 0:00 5735.5
admin1.co sda6   2 1504 1504   -- N/AN/A 0:00 5505.0
admin1.co sda9   2  N/A  N/A   -- N/AN/A 0:16 2992.5
admin1.co sda9   2  N/A  N/A   -- N/AN/A 0:17 2658.0
admin1.co sda9   2  N/A  N/A   -- N/AN/A 0:13 2849.4
admin1.co sda9   23702437024   -- N/AN/A 0:13 2926.6
sundev1.c c0t0d0s0   2  N/A  N/A   -- N/AN/A 0:00 5658.0
sundev1.c c0t0d0s0   2  N/A  N/A   -- N/AN/A 0:15 4345.1
sundev1.c c0t0d0s0   2  N/A  N/A   -- N/AN/A 0:15 4398.8
sundev1.c c0t0d0s0   2  N/A  N/A   -- N/AN/A 0:14 4650.3
sundev1.c c0t0d0s0   26412864128   -- N/AN/A 0:14 4616.5
sundev1.c c0t0d0s3   3  N/A  N/A   -- N/AN/A 0:14 3755.2
sundev1.c c0t0d0s3   3  N/A  N/A   -- N/AN/A 0:16 3879.6
sundev1.c c0t0d0s3   3  N/A  N/A   -- N/AN/A 0:21 3861.2
sundev1.c c0t0d0s3   3  N/A  N/A   -- N/AN/A 0:26 3855.7
sundev1.c c0t0d0s3   3   127264   127264   -- N/AN/A 0:32 3931.2
sundev1.c c0t0d0s7   1  N/A  N/A   -- N/AN/A 3:34 3446.8
sundev1.c c0t0d0s7   1  N/A  N/A   -- N/AN/A 0:45 3977.4
sundev1.c c0t0d0s7   1  N/A  N/A   -- N/AN/A 2:38 5034.5
sundev1.c c0t0d0s7   1  N/A  N/A   -- N/AN/A 2:35 5137.2
sundev1.c c0t0d0s7   1   797984   797984   -- N/AN/A 2:36 5128.5

(brought to you by Amanda version 2.4.1p1)




Re: tape control and amanda

2000-11-06 Thread Yura Pismerov

David Wolfskill wrote:
> 
> >Date: Mon, 06 Nov 2000 10:45:11 +
> >From: Clem Kumah <[EMAIL PROTECTED]>
> 
> >I need some help. I have installed amanda-2.4.2-19991216-beta1 on
> >Freebsd 4.1
> 
> >I have a Breecehill tape robot with 15 cartridges in it. I have noticed
> >the changer device is set to /dev/ch0. The actual device is listed as
> >/dev/pass1. How can I change this?
> 
> By specifying the "ch" (SCSI media changers) in your kernel
> configuration -- see /usr/src/sys/i386/conf/LINT for a sample such line.
> 
> >Secondly, is it possible to use mt or chio to manual move the robot
> >changer, any examples would be appreciated
> 
> Yes; once the "ch" device is defined to the kernel, Jason Thorpe's
> "chio" driver will be available, as will the program of the same name.
> There's a changer script called "chg-chio" that Nick Hibma wrote; I
> suspect it will suit your purposes well.  (I happen to (still) use one
> that I cobbled up around the rime Nick was writing chg-chio.  I can send
> it to you if you like, but I strongly suggest that you use chg-chio if
> at all feasible.)

Any particular reason ?
I'm using mtx on FreeBSD for a long time and I'm happy with it.


> 
> Cheers,
> david
> --
> David Wolfskill  [EMAIL PROTECTED]   UNIX System Administrator
> Desk: 650/577-7158   TIE: 8/499-7158   Cell: 650/759-0823

-- 

Yuri Pismerov, TUCOWS.COM INC.  (416) 535-0123  ext. 352
 S/MIME Cryptographic Signature


Re: Windows client

2000-11-06 Thread Chris Karakas

> Alessandro Chiauzzi wrote:
> 
> I need to back up a Windows pc with Amanda.
> I didn't find appropriate documentation about "how configure amanda to
> backup Windows client".
> Could someone help me?

Download http://www.backupcentral.com/amanda.html and read it all. For
information on configuring AMANDA for Windows clients, just search this
document for "Windows" and/or "SAMBA".

-- 
Regards

Chris Karakas
Don´t waste your cpu time - crack rc5: http://www.distributed.net



Is it possible to only backup partial Windows volumes?

2000-11-06 Thread Eric Wadsworth

I'd like to be able to backup only specific subdirectories of some of
these windows machines. Is this possible, or do I need to grab the whole
shared drive?

--- Eric




Re: Is it possible to only backup partial Windows volumes?

2000-11-06 Thread Tony Traylor

Excludes don't work, I just make shares which have the files I want, and 
ignore the open file errors.

Tony Traylor

>> Original Message <<

On 11/6/00, 12:03:33 PM, Eric Wadsworth <[EMAIL PROTECTED]> wrote regarding Is 
it possible to only backup partial Windows volumes?:


> I'd like to be able to backup only specific subdirectories of some of
> these windows machines. Is this possible, or do I need to grab the whole
> shared drive?

> --- Eric



Re: Is it possible to only backup partial Windows volumes?

2000-11-06 Thread Eric Wadsworth

My problem is that one of the NT boxes has a 25 GB partition, but I only
wan to back up a couple of those gigs. Guess it's all or nothing... unless
I can hack something into smbclient. --- Eric

On Mon, 6 Nov 2000, Tony Traylor wrote:

> Excludes don't work, I just make shares which have the files I want, and 
> ignore the open file errors.
> 
> Tony Traylor
> 
> >> Original Message <<
> 
> On 11/6/00, 12:03:33 PM, Eric Wadsworth <[EMAIL PROTECTED]> wrote regarding Is 
> it possible to only backup partial Windows volumes?:
> 
> 
> > I'd like to be able to backup only specific subdirectories of some of
> > these windows machines. Is this possible, or do I need to grab the whole
> > shared drive?
> 
> > --- Eric
> 




Re: Is it possible to only backup partial Windows volumes?

2000-11-06 Thread Tony Traylor

Can't you have the administrator of the windows box create the share you 
need? No good reason to share the whole disk, and even if they have 
decided to, you can create another share of some subdirectory.

Tony Traylor

>> Original Message <<

On 11/6/00, 1:18:34 PM, Eric Wadsworth <[EMAIL PROTECTED]> wrote regarding Re: 
Is it possible to only backup partial Windows volumes?:


> My problem is that one of the NT boxes has a 25 GB partition, but I only
> wan to back up a couple of those gigs. Guess it's all or nothing... 
unless
> I can hack something into smbclient. --- Eric

> On Mon, 6 Nov 2000, Tony Traylor wrote:

> > Excludes don't work, I just make shares which have the files I want, and
> > ignore the open file errors.
> >
> > Tony Traylor
> >
> > >> Original Message <<
> >
> > On 11/6/00, 12:03:33 PM, Eric Wadsworth <[EMAIL PROTECTED]> wrote regarding Is
> > it possible to only backup partial Windows volumes?:
> >
> >
> > > I'd like to be able to backup only specific subdirectories of some of
> > > these windows machines. Is this possible, or do I need to grab the whole
> > > shared drive?
> >
> > > --- Eric
> >



Re: Presentation on Amanda in Bonn, Germany on Nov. 8th

2000-11-06 Thread Christoph Scheeder

Hi,
i would say more than you think.. ;-)
Christoph

Yura Pismerov schrieb:
> 
> Johannes Niess wrote:
> >
> > Hello,
> >
> > As part of our Linux user group meetings, I'll give an introduction to
> > tapes on Linux and an overview of Amanda.
> >
> > Place: Rechenzentrum der Uni Bonn, Wegelerstr.
> > Date:  November 8th, 19:30 h
> > More details: http://bolug.uni-bonn.de/news
> > Language of presentation: German
> 
> How many people here can read German ? :)
> 
> >
> > LaTeX and Postscript versions of the slides are available on request
> > (as long as numbers stay low...)
> >
> > Johannes Niess
> 
> --
> 
> Yuri Pismerov, TUCOWS.COM INC.  (416) 535-0123  ext. 352



RE: AMDump Reporting Results Missing

2000-11-06 Thread Nathan Bird

John,

In disklist I was under the impression that you had to write the following.

hostname diskdev dumptype [spindle [interface]]

The diskdev that it is referring to is the tape device isn't it?

Thanks

Nathan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of John R. Jackson
Sent: Friday, 3 November 2000 11:00 AM
To: Nathan Bird
Cc: 'Amanda user's group'
Subject: Re: AMDump Reporting Results Missing 


>paperbark  /dev/nst0   lev 0   FAILED [ missing result for
>/dev/nst0 in paperbark response ]

Ummm, that's a bizarre message.  Why are you trying to back up /dev/nst0?
Isn't that your tape device?

It looks like your disklist has that in the first field instead of a
disk or file system name.

>Nathan 

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



Forcing Full Dumps

2000-11-06 Thread David Lloyd


Hi!

I've done:

[amanda %] amadmin CONFIG force host.our.host disk

And received the confirmation message that it worked (forgotten the
exact message but the curinfo entry definitely changed according to
freeveracity) but the amanda mail report reports it as a level 5
dump...what's up here?

DSL

-- 
It's our task is to expertly synthesize our synergies so that 
hopefully we may completely empower catalysts for total quality
management 
as a component of our plan to make our founder enough bread to exceed
the net worth of the world's richest man.



Newbie seeks to offend list (not really)

2000-11-06 Thread Dan Browning

I'm really new to Amanda, and I'm not trying to offend everyone, but I
probably will.  Will someone please take the time to help me design my
amanda.conf file?  I've read the Backup Central docs on amanda
(http://www.backupcentral.com/amanda-11.html), and some other docs,
but it's too deep for me.

- I have 3 tapes that I would like to rotate for backing up /home
(which needs to stay mounted rw during backup).
- 1 backup per day, at, say 1:00am.  Monday through friday only.
- overwrite old backups or whatever tape was in the drive at the time
of the backup.

Onstream DI-30 ide tape drive.

define tapetype DI30ADR {
comment "OnStream 30GB ADR"
length 14700 mbytes
filemark 1024 kbytes
speed 1024 kbytes
}

Thanks a million guys,

Best regards,

Dan Browning
Network/DB Admin
Cyclone Computer Systems





RE: AMDump Reporting Results Missing

2000-11-06 Thread Peter Schaffrath

On Tue, 7 Nov 2000, Nathan Bird wrote:
> In disklist I was under the impression that you had to write the following.
> 
> hostname diskdev dumptype [spindle [interface]]
> 
> The diskdev that it is referring to is the tape device isn't it?

Nice idea :-)

No, "diskdev" is the harddisk (sig!) on the client that you want to
backup. Ex. if you have 2 disks on client1 there are 2 entries:
client1 /mountpoint1/of/disk1 dumptype
client1 /mountpoint2/of/disk2 dumptype

And possibly lots more for other clients.
The tape device is set in your amanda.conf file and that's the only place
where it is needed.

Peter





backup windows systems -> file list in email report

2000-11-06 Thread Eric Wadsworth

When a window box is backed up, the email report is monstrous! It seems to
contain the complete listing of files that were backed up. Any ideas how to
prevent this list from being included in the report?

Here's the first 0.1% of the report:

These dumps were to tape DailySet1-000.
Tonight's dumps should go onto 1 tape: a new tape.

FAILURE AND STRANGE DUMP SUMMARY:
  navajo.hq. //buckskin/c lev 0 STRANGE


STATISTICS:
  Total   Full  Daily
      
Dump Time (hrs:min)0:11   0:04   0:00   (0:01 start, 0:06 idle)
Output Size (meg) 690.5  690.50.0
Original Size (meg)   690.5  690.50.0
Avg Compressed Size (%) -- -- -- 
Tape Used (%)   3.43.40.0
Filesystems Dumped3  3  0
Avg Dump Rate (k/s)  1470.3 1470.3-- 
Avg Tp Write Rate (k/s)  2876.5 2876.5-- 


FAILED AND STRANGE DUMP DETAILS:

/-- navajo.hq. //buckskin/c lev 0 STRANGE
sendbackup: start [navajo.hq.consys.com://buckskin/c level 0]
sendbackup: info BACKUP=/usr/local/bin/smbclient
sendbackup: info RECOVER_CMD=/usr/local/bin/smbclient -f... -
sendbackup: info end
? added interface ip=10.0.2.20 bcast=10.0.2.255 nmask=255.255.255.0
? directory \WINNT\
? directory \WINNT\system32\
? directory \WINNT\system32\config\
?  77824 ( 1206.3 kb/s) \WINNT\system32\config\userdiff
? ERRDOS - ERRbadshare opening remote file \WINNT\system32\config\system
(\WINNT\system32\config\)
? ERRDOS - ERRbadshare opening remote file \WINNT\system32\config\software
(\WINNT\system32\config\)
? ERRDOS - ERRbadshare opening remote file \WINNT\system32\config\default
(\WINNT\system32\config\)
?   1024 (   50.0 kb/s) \WINNT\system32\config\system.LOG
? ERRDOS - ERRbadshare opening remote file \WINNT\system32\config\software.LOG
(\WINNT\system32\config\)
? ERRDOS - ERRbadshare opening remote file \WINNT\system32\config\default.LOG
(\WINNT\system32\config\)
? 192512 ( 2065.9 kb/s) \WINNT\system32\config\system.sav
? 323584 ( 2194.4 kb/s) \WINNT\system32\config\software.sav
?  65536 ( 2000.0 kb/s) \WINNT\system32\config\default.sav
? ERRDOS - ERRbadshare opening remote file \WINNT\system32\config\SECURITY
(\WINNT\system32\config\)
? ERRDOS - ERRbadshare opening remote file \WINNT\system32\config\SECURITY.LOG
(\WINNT\system32\config\)
? ERRDOS - ERRbadshare opening remote file \WINNT\system32\config\SYSTEM.ALT
(\WINNT\system32\config\)
? ERRDOS - ERRbadshare opening remote file \WINNT\system32\config\SAM
(\WINNT\system32\config\)
? ERRDOS - ERRbadshare opening remote file \WINNT\system32\config\SAM.LOG
(\WINNT\system32\config\)
? 131072 ( 1488.4 kb/s) \WINNT\system32\config\AppEvent.Evt
?  65536 ( 1454.5 kb/s) \WINNT\system32\config\SecEvent.Evt
?  65536 ( 1777.8 kb/s) \WINNT\system32\config\SysEvent.Evt
? directory \WINNT\system32\drivers\
? directory \WINNT\system32\drivers\etc\
?737 (  179.9 kb/s) \WINNT\system32\drivers\etc\HOSTS
?407 (   30.6 kb/s) \WINNT\system32\drivers\etc\NETWORKS
?800 (  156.2 kb/s) \WINNT\system32\drivers\etc\PROTOCOL
?   6007 (  733.3 kb/s) \WINNT\system32\drivers\etc\SERVICES
?   3691 (  600.7 kb/s) \WINNT\system32\drivers\etc\LMHOSTS.SAM
?  82064 ( 1001.8 kb/s) \WINNT\system32\drivers\aic78u2.sys
?  14384 (  425.7 kb/s) \WINNT\system32\drivers\sermouse.sys
?  65680 (  903.4 kb/s) \WINNT\system32\drivers\qic117.sys
?   7504 (  209.4 kb/s) \WINNT\system32\drivers\changer.sys
?   9712 (  338.7 kb/s) \WINNT\system32\drivers\tdi.sys
?   9744 (  257.2 kb/s) \WINNT\system32\drivers\scsiscan.sys
?   6288 (  279.1 kb/s) \WINNT\system32\drivers\parvdm.sys
?  10064 (  393.1 kb/s) \WINNT\system32\drivers\parport.sys
?   2800 (  105.2 kb/s) \WINNT\system32\drivers\null.sys
?   8368 (  204.3 kb/s) \WINNT\system32\drivers\netdtect.sys
?687 (   35.3 kb/s) \WINNT\system32\drivers\hpscan16.sys
?  18928 (  486.4 kb/s) \WINNT\system32\drivers\floppy.sys
?  28160 (  833.3 kb/s) \WINNT\system32\drivers\W840ND.SYS
?  66352 ( 1349.9 kb/s) \WINNT\system32\drivers\AFD.SYS
?  27696 (  575.5 kb/s) \WINNT\system32\drivers\ATAPI.SYS
?  26480 (  587.7 kb/s) \WINNT\system32\drivers\ATDISK.SYS
?   4112 (  182.5 kb/s) \WINNT\system32\drivers\BEEP.SYS
?  4 (  602.9 kb/s) \WINNT\system32\drivers\CDAUDIO.SYS
?  61424 ( 1276.3 kb/s) \WINNT\system32\drivers\CDFS.SYS
?  22192 (  619.2 kb/s) \WINNT\system32\drivers\CDROM.SYS
?  13744 (  362.8 kb/s) \WINNT\system32\drivers\CLASS2.SYS
?  15248 (  381.8 kb/s) \WINNT\system32\drivers\DISK.SYS

===
Eric Wadsworthemail: [EMAIL PROTECTED]
Conceptual Systems and Software   http://www.consys.com
=

Re: where am i going wrong.

2000-11-06 Thread Chris Karakas

brian wrote:

> I don't know what I did, but after a weekend of doing nothing, amcheck and
> amdump sees the tape in the drive.

This reminds me of somebody who said:

"You might think that I'm just sitting around doing nothing, but in
fact, I am actively waiting for my problems to go away..." :-)

You have just added another one to an overwhelming pile of evidence
already existing for the viability of such a strategy ;-)

-- 
Regards

Chris Karakas
Don´t waste your cpu time - crack rc5: http://www.distributed.net



Re: Presentation on Amanda in Bonn, Germany on Nov. 8th

2000-11-06 Thread Chris Karakas

Yura Pismerov wrote:
> 
> Johannes Niess wrote:
> > Language of presentation: German
> 
> How many people here can read German ? :)
> 

Just to judge from all the e-mail adresses of the *active* members of
this list ending in .de, quite a few, I would say - me included.

Not only this, I happen to know Bonn quite well, 'cause I've studied
some semesters there. The Computing Centre (Rechenzentrum), the Street
"Wegelerstr.", where also some mathematics buildings can be found, all
this evokes to me some very vivid memories. I even played with the idea
to drive once again there for this speech...

You see, the world is a village - and I speak five languages, apart from
my mother tongue :-) 

-- 
Regards

Chris Karakas
Don´t waste your cpu time - crack rc5: http://www.distributed.net



I have some tribal wisdom to give back to the tribe

2000-11-06 Thread Jeff Silverman

I have two FastStor 22 tape changers from ADIC (http://www.adic.com)
with the DLT 8000 tape drive and I love 'em.  Each one is hung off of a
dual processor PC running RH Linux 6.2 and they both have Amanda 2.4.1p1
software.  However, the tape changer works reliably on one machine but
unreliably on the other machine.  The software is bit-for-bit identical
and the machines don't have any problems if I run the mtx command
manually - I was in despair.

So I traced the chg-zd-mtx script and discovered that there was a
variable, cleancount, that was not getting initialized (as opposed to
being initialized to 0).  The reason why is because I copied over the
software files but not the state files,
/usr/local/etc/amanda/changer-*.  Somehow, an empty changer-clean file
was created with 0 length, which doesn't work at all.  So I poked a
value into it, and now it appears to be working.   I am still doing some
more testing (the amtape CONFIGURATION show command is a very good test)
but I have every reason for optimism.

Is this a bug?  I'm not sure.  If there is a primitive in the Bourne
shell to see if an operand is a valid integer, then use, I think it is;l
otherwise I think that the cost of testing outwieghs the cost of
failure.  Instead, we should note in the documentation that if the
changer throws syntax errors, then check for bad changer-* files.


Several of you have been most helpful and patient with me - thank you.


Jeff


--
Jeff Silverman, sysadmin for the Research Computing Systems (RCS)
University of Washington, School of Engineering, Electrical Engineering Dept.
Box 352500, Seattle, WA, 98125-2500 FAX: (206) 221-5264 Phone (206) 543-9378
[EMAIL PROTECTED] http://rcs.ee.washington.edu/~jeffs






Re: Newbie seeks to offend list (not really)

2000-11-06 Thread Nate Eldredge

On Mon, 6 Nov 2000, Dan Browning wrote:

> I'm really new to Amanda, and I'm not trying to offend everyone, but I
> probably will.  Will someone please take the time to help me design my
> amanda.conf file?  I've read the Backup Central docs on amanda
> (http://www.backupcentral.com/amanda-11.html), and some other docs,
> but it's too deep for me.

The most efficient way is to go through the sample amanda.conf file and
change it to suit your needs.  It's well commented.

I don't have the time or the inclination to design your configuration for
you, but if you try it yourself, and post here about specific problems
when you get stuck, people (perhaps including me) are quite likely to
help.

-- 
Nate Eldredge
HMC CS Staff
[EMAIL PROTECTED]




RE: AMDump Reporting Results Missing

2000-11-06 Thread Nathan Bird

I have tried all sorts of wierd and wonderfull combinations of things as the
diskdev.

I have tried 

paperbark   /dev/hda8   dumptype
paperbark   /home   dumptype
paperbark   /mnt/c-drive dumptype
paperbark   /   dumptype

You name it and I have probably tried it :) ( i think? )
And I still recieve the same error message

The following message is same for them all except the diskdev section
changes. ( below )

I did have another look at the Amanda FAQamatic and found an article on
there saying that the UDP packets may not be large enough, but it also says
that this should no longer occurr since they increased the packet size from
1 kB to 64 kb. 

I am using Redhat 7.0 on a PII 400 with 192 MB ram, surely I needed worry
about the UDP packet size... ??

Thanks everyone for their help so far... I just hope that we can nut this
one out.


--- ERROR MESSAGE STARTS HERE. --

*** THE DUMPS DID NOT FINISH PROPERLY!

*** A TAPE ERROR OCCURRED: [cannot overwrite active tape DailySet100].
*** PERFORMED ALL DUMPS TO HOLDING DISK.

THESE DUMPS WERE TO DISK.  Flush them onto a new tape.
Tonight's dumps should go onto 1 tape: a new tape.

FAILURE AND STRANGE DUMP SUMMARY:
  paperbark  /home lev 0 FAILED [missing result for /home in paperbark
response]


STATISTICS:
  Total   Full  Daily
      
Dump Time (hrs:min)0:00   0:00   0:00   (0:00 start)
Output Size (meg)   0.00.00.0
Original Size (meg) 0.00.00.0
Avg Compressed Size (%) -- -- -- 
Tape Used (%)   0.00.00.0
Filesystems Dumped0  0  0
Avg Dump Rate (k/s) -- -- -- 
Avg Tp Write Rate (k/s) -- -- -- 


NOTES:
  planner: Adding new disk paperbark:/home.
  driver: WARNING: got empty schedule from planner


DUMP SUMMARY:
  DUMPER STATS  TAPER
STATS
HOSTNAME  DISK   L  ORIG-KB   OUT-KB COMP%  MMM:SS   KB/s  MMM:SS
KB/s
-- --
--
paperbark /home  0   FAILED


(brought to you by Amanda version 2.4.1p1)

- END ERROR MESSAGE ---

Thanks again

Nathan


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Peter Schaffrath
Sent: Tuesday, 7 November 2000 9:55 AM
To: Nathan Bird
Cc: '[EMAIL PROTECTED]'; 'Amanda user's group'
Subject: RE: AMDump Reporting Results Missing 


On Tue, 7 Nov 2000, Nathan Bird wrote:
> In disklist I was under the impression that you had to write the
following.
> 
> hostname diskdev dumptype [spindle [interface]]
> 
> The diskdev that it is referring to is the tape device isn't it?

Nice idea :-)

No, "diskdev" is the harddisk (sig!) on the client that you want to
backup. Ex. if you have 2 disks on client1 there are 2 entries:
client1 /mountpoint1/of/disk1 dumptype
client1 /mountpoint2/of/disk2 dumptype

And possibly lots more for other clients.
The tape device is set in your amanda.conf file and that's the only place
where it is needed.

Peter




Re: Multiple tape drives

2000-11-06 Thread Alexandre Oliva

On Nov  5, 2000, Nate Eldredge <[EMAIL PROTECTED]> wrote:

> We have two tape drives, one big and one small.

> My current plan is to create two configurations, "Daily" and "Weekly".

How about two configurations with separate sets of disks/hosts to back
up?

-- 
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: Is it possible to only backup partial Windows volumes?

2000-11-06 Thread Alexandre Oliva

On Nov  6, 2000, Eric Wadsworth <[EMAIL PROTECTED]> wrote:

> I'd like to be able to backup only specific subdirectories of some of
> these windows machines. Is this possible

I believe a patch to permit Samba backups of sub-directories of shares
went in relatively recently.  Try 2.4.2-beta2.

> or do I need to grab the whole shared drive?

Tony Traylor suggested you to create *another* share, with just the
directory you want to back up.  You don't have to share the whole
disk.

-- 
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: backup windows systems -> file list in email report

2000-11-06 Thread Alexandre Oliva

On Nov  6, 2000, Eric Wadsworth <[EMAIL PROTECTED]> wrote:

> When a window box is backed up, the email report is monstrous!

Get 2.4.2-beta2 or the patches for Samba2 support in 2.4.1.  Check
www.amanda.org

-- 
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: Multiple tape drives

2000-11-06 Thread Nate Eldredge

On 7 Nov 2000, Alexandre Oliva wrote:

> On Nov  5, 2000, Nate Eldredge <[EMAIL PROTECTED]> wrote:
> 
> > We have two tape drives, one big and one small.
> 
> > My current plan is to create two configurations, "Daily" and "Weekly".
> 
> How about two configurations with separate sets of disks/hosts to back
> up?

Because we don't have enough tapes.  None of the really important stuff
will fit on the small tapes, and we don't have enough big tapes to go back
very far in time (they're expensive).  Under this scheme, each big tape
represents an additional week of history, rather than just a day.

-- 
Nate Eldredge
HMC CS Staff
[EMAIL PROTECTED]




Re: I have some tribal wisdom to give back to the tribe

2000-11-06 Thread Yura Pismerov


If I had Linux as a backup server I'd rather use chg-scsi.
It gives you much more flexibility than other scripts.
Most important feature that is useful when you have large number of
slots,
you can split the changer into few independant tape pools and use them
in
different configurations.
Also might check if barcode feature for your changer is supporting by
chg-scsi.
It will give you very fast tape load.

To make it work you should upgrade to 2.4.2, because as far as I
remember
chg-scsi does not work in 2.4.1p1.


Jeff Silverman wrote:
> 
> I have two FastStor 22 tape changers from ADIC (http://www.adic.com)
> with the DLT 8000 tape drive and I love 'em.  Each one is hung off of a
> dual processor PC running RH Linux 6.2 and they both have Amanda 2.4.1p1
> software.  However, the tape changer works reliably on one machine but
> unreliably on the other machine.  The software is bit-for-bit identical
> and the machines don't have any problems if I run the mtx command
> manually - I was in despair.
> 
> So I traced the chg-zd-mtx script and discovered that there was a
> variable, cleancount, that was not getting initialized (as opposed to
> being initialized to 0).  The reason why is because I copied over the
> software files but not the state files,
> /usr/local/etc/amanda/changer-*.  Somehow, an empty changer-clean file
> was created with 0 length, which doesn't work at all.  So I poked a
> value into it, and now it appears to be working.   I am still doing some
> more testing (the amtape CONFIGURATION show command is a very good test)
> but I have every reason for optimism.
> 
> Is this a bug?  I'm not sure.  If there is a primitive in the Bourne
> shell to see if an operand is a valid integer, then use, I think it is;l
> otherwise I think that the cost of testing outwieghs the cost of
> failure.  Instead, we should note in the documentation that if the
> changer throws syntax errors, then check for bad changer-* files.
> 
> Several of you have been most helpful and patient with me - thank you.
> 
> Jeff
> 
> --
> Jeff Silverman, sysadmin for the Research Computing Systems (RCS)
> University of Washington, School of Engineering, Electrical Engineering Dept.
> Box 352500, Seattle, WA, 98125-2500 FAX: (206) 221-5264 Phone (206) 543-9378
> [EMAIL PROTECTED] http://rcs.ee.washington.edu/~jeffs
 S/MIME Cryptographic Signature


Re: HP 1557A configuration

2000-11-06 Thread Joe Rhett

First, you need a generic SCSI driver which can find and allocate a device
for your changer. Solaris 8 has "sgen" built in, but with Solaris 2.6
you'll need SST or something like that.

Second, acquire and compile mtx-1.2.9. By the time you get this all done,
I'll have posted my update to chg-mtx, so that you can use the system.

FYI: chg-mtx doesn't use changer.conf, regardless of the comments of
someone else on the list. He's confused.

On Mon, Nov 06, 2000 at 02:49:04PM +0100, Yann PURSON wrote:
> Hi,
> 
> 
> I'm trying to install Amanda on a Solaris 2.6 system, with an HP 1557A
> tape changer...Here is my pb :
> I'm not sure which type of configuration I need to specifie in the
> amanda.conf for the HP 1557A systeme...I've found on the web this
> configuration :
> []
> 
> tpchanger "chg-zd-mtx"  # the tape-changer glue script
> tapedev "/dev/nst0" # the no-rewind tape device to
> be used
> rawtapedev "/dev/nst0"  # the raw device to be used
> (ftape only)
> changerfile "/etc/amanda/mtx-changer"
> changerdev "/dev/nst0"
> tapetype HP1557A
> 
> []
> 
> define tapetype HP1557A {
> comment "HP SureStore DAT24x6 tape drive"
> # data provided by Ivo Clarysse
> length 12000 mbytes
> filemark 111 kbytes
> speed 3000 kbytes
> }
> 
> Ok...but I'm not able to find the mtx-changer file...
> Should I really use this one or can I use the default one given in the
> amanda package (in this case, wich one should I use???!!)
> 
> Thanks for any hints!!!

-- 
Joe Rhett Chief Technology Officer
[EMAIL PROTECTED]  ISite Services, Inc.

PGP keys and contact information:  http://www.noc.isite.net/Staff/