Antwort: Re: Antwort: Re: missing file header

2000-12-06 Thread Roshan Rogge


>It's looking like that tape is bad.  Does this happen on all your tapes
>or just this one?  If it's all the tapes, I'd start worrying about the drive
or controller.

Can the error appear through a bad termination of the scsi bus???

>Here's another sequence to try:

>  $ mt -f /dev/nst0 rewind
>  $ mt -f /dev/nst0 fsf 1
>  $ dd if=/dev/nst0 bs=32k count=1 > /tmp/block.0
>  $ ls -l /tmp/block.0
>  $ head -4 < /tmp/block.0

The result of this command is: AMANDA: TAPEEND DATE X it is a 32k file

>  $ mt -f /dev/nst0 rewind
>  $ mt -f /dev/nst0 fsf 1
>  $ dd if=/dev/nst0 bs=32k of=/dev/null

The result of this command is only: 1 + 0 records in
1 + 0 records out

>If this problem is happening on all your tapes, I'd mount a scratch tape,
>create a file of a few MBytes that is a multiple of 32 KBytes then do
>several dd's with bs=32k to the tape without repositioning in between,
>i.e. so the tape ends up with several files on it.  Then rewind the tape
>and read the files back in to see if you get back what you wrote.

The problem happens on all tapes i use.

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

best regards

roshan



Re: software compression disabled?

2000-12-06 Thread Dietmar Goldbeck

On Wed, Dec 06, 2000 at 07:59:51AM +0100, Olaf Seidel wrote:
> Hi,
> 
> now I run my first tests, Amanda backing up all the servers. I've 
> used the two dumptypes "nocomp-user" and "nocomp-root" (I 
> changed nothing in these dumptypes) with no compression. When 
> I watch the processes on the Amanda-Server, there are processes 
> "/bin/gzip --best" owned by the Amanda-User. Where do they 
> come from? Aren't the dumptypes without software compression?
> 

This is normal, if you turned on indexing. Amanda
runs somethinglike

tar -tf | gzip --best > ///.gz
or 
restore -t | gzip --best > ///.gz

in parallel to putting the stream on tape.
tar tf is run on the client and the gzip on the backup server.

If you have dumptypes with compression, you will find gzip processes
on the client. (except you use compress server, see amanda(8))

 Ciao
   Dietmar

-- 
 Alles Gute / best wishesphone:  +49-521-96751-19
 Dietmar GoldbeckE-Mail: [EMAIL PROTECTED]
The Internet is not a network of computers. It is a network
of people. That is its real strength.



Re: amanda cron job doesn't start?

2000-12-06 Thread Eric Wadsworth

Just a thought, you modified the contab using the command 'crontab -e'
right? Otherwise it won't actually install the change.

On 6 Dec 2000, Rainer Hofmann wrote:

> Hi,
> 
> any explanations why that cron job for user amanda doesn't even start:
> 
> PATH=/sbin:/bin:/usr/bin:/home/amanda/bin:/usr/local/sbin 
> 
> 0 18 * * 1-5 amcheck merten && amdump merten 
> 
> 
> I want to run backups at 6.00 pm on Mo-Fr as user amanda.
> 
> settings in etc/passwd are as follows:
> 
> amanda:x:501:6:Amanda Backup User:/home/amanda:/bin/bash
> 
> I'm using joe as editor instead of vi.
> 
> crond is up and running, since other cronjobs of root are executed.
> I'm using Linux RedHat 6.2. Is there any general setting who is
> allowed to run cron jobs at all?
> 
> Thanks
> Rainer
> -- 
> Chemisches Labor Dr. Merten GmbH
> Röderstr. 8-10
> 79104 Freiburg
> Tel: 0761 29648-0
> 
> 




No Subject

2000-12-06 Thread Rolf Olsen



unsubscribe [EMAIL PROTECTED]


Re: selfcheck fails (incorrectly) on 2.4.1p1

2000-12-06 Thread John R. Jackson

>... Why can't the selfcheck/amcheck
>run as setuid root as well? Can I switch it to setuid root?

No, don't do that.  It will completely defeat the tests.

I'll see if I can get a patch together for you to try.

>Edwin

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



selfcheck fails (incorrectly) on 2.4.1p1

2000-12-06 Thread Edwin Chiu

Hi,

amcheck fails incorrectly when using amanda 2.4.1p1 and GNUTAR.

Scenario:

Have a directory:
 drwxr-xr--  oracle   dba 4096 Jul 20 04:49 u03

Amanada is not part of the "dba" group. And amcheck says this:

Amanda Backup Client Hosts Check

ERROR: oracle: [can not access /u03/orabackup (/u03/orabackup):
Permission denied]

But, runtar runs fine... probably because it's setuid-root. Why can't
the selfcheck/amcheck
run as setuid root as well? Can I switch it to setuid root?

Regards,
Edwin




Re: EXB-8900 tapetype, please

2000-12-06 Thread John R. Jackson

>Where can one acquire the "tapetype" program? I don't find it in the AMANDA di
>stribution after compilation.

It needs to be explicitly compiled:

  $ cd tape-src
  $ make tapetype

> tony

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



Re: EXB-8900 tapetype, please

2000-12-06 Thread Tony Ross

Thanks Patrick;

Where can one acquire the "tapetype" program? I don't find it in the AMANDA 
distribution after compilation.

Is AME_225_SmartClean == EXB-8900 ? The filemark is definitely different from the 
normal 48 kbytes, while the length of 52006 mbytes seems substantially greater than 
what we have previously been able to fit on a 125m MAMMOTH-LT tape.

Thanks for the help,

 tony

>Date: Wed, 06 Dec 2000 10:09:02 -0500
>From: Patrick LIN <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: Tony Ross <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED]
>Subject: Re: EXB-8900 tapetype, please
>
>Tony Ross a écrit :
>> 
>> Greetings;
>> 
>> Does anyone have the tapetype definiton for the Exabyte 8900 drive?
>> 
>> We are using a Mammoth-LT and 125m tapes in an Exabyte EZ-17 autoloader; nothing 
>was found in the online archives.
>> 
>> Thanks,
>> 
>>  tony
>> 
>> 
>> --== Sent via Deja.com http://www.deja.com/ ==--
>> Before you buy.
>
>tape type definition:
>
>define tapetype AME_225_SmartClean {
> comment "just produced by tapetype program"
> length 52006 mbytes
> filemark 1245 kbytes
> speed 11051 kbytes
> }
>
>
>patrick



--== Sent via Deja.com http://www.deja.com/ ==--
Before you buy.





Re: scsi-changer-driver.c

2000-12-06 Thread Thomas Hepper

Hi,
On Wed, Dec 06, 2000 at 11:37:03AM -0500, F.M. Taylor wrote:
> 
> I started out with:
> 
> # START DecodeSense
> GenericSenseHandler : Sense Keys
> ErrorCode 00
> Valid 0
> ASC   46
> ASCQ  00
> Sense key 00
> No Sense
> GenericSenseHandler : Unknow 0 ASC = 46 ASCQ = 0
>  STOP SenseHandler
> chg-scsi: requested drive number (0) greater than number of supported
> drives (-1)
> 
> So I called the vendor and they said it is a non-error (errcode 0) error,
> and to ignore it.  So I changed GenericSenseHandler() to return SENSE_NO
> for "Unknow", and that problem went away.  

The correct way is to define a new handler for your device which handles
this condition, and not to extend the GenericSenseHandler. As the name
say this is an handler for unknown Devices. Now you/we know the device
and can extend it. I can do this if you send me the output of the debug
file to see which ident is returned, and the diffs what you have changed
in the function. 

One nice thing would be if you can get an pointer to the SCSI reference
giude of your device to check which other conditions can happen, and 
how to deal with them.

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



Re: scsi-changer-driver.c

2000-12-06 Thread F.M. Taylor

a diff -c is attached.  Dont remember what I changed in my config file,
oops.

On Wed, 6 Dec 2000, John R. Jackson wrote:

> >...  So I changed GenericSenseHandler() to return SENSE_NO
> >for "Unknow", and that problem went away.  
> 
> Could you post a unified (-u) or context (-c) diff of your change?
> And don't worry about your C coding skills :-).  The idea is the more
> important part here.
> 
> And what about my question of what you changed in your config file to
> make the segmentation violation go away?
> 
> >Mike Taylor
> 
> John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
> 

---
Mike Taylor
Coordinator of Systems Administration and Network Security
Indiana State University.   Rankin Hall Rm 039
210 N 7th St.   Terre Haute, IN.
Voice: 812-237-8843  47809
---
"You have zero privacy anyway.  Get over it."
   --Scott McNealy, Sun MicroSystems. 


*** amanda-2.4.2/changer-src/scsi-changer-driver.c  Tue Oct 24 19:21:15 2000
--- ../amanda-2.4.2/changer-src/scsi-changer-driver.c   Wed Dec  6 08:57:10 2000
***
*** 313,319 
  GenericSearch,
  GenericSenseHandler}},
  /* Sepctra Logic Devices */
!   {"215",
  "Spectra Logic TreeFrog[215]",
 {GenericMove,
  GenericElementStatus,
--- 313,319 
  GenericSearch,
  GenericSenseHandler}},
  /* Sepctra Logic Devices */
!   {"1",
  "Spectra Logic TreeFrog[215]",
 {GenericMove,
  GenericElementStatus,
***
*** 1061,1067 
  {
  case 0:
fprintf(out,"\t\tNo Sense\n");
!   break;
  case 1:
fprintf(out,"\t\tRecoverd Error\n");
break;
--- 1061,1067 
  {
  case 0:
fprintf(out,"\t\tNo Sense\n");
!   return(0);
  case 1:
fprintf(out,"\t\tRecoverd Error\n");
break;
***
*** 1802,1808 
  pRequestSense->SenseKey,
  pRequestSense->AdditionalSenseCode,
  pRequestSense->AdditionalSenseCodeQualifier));
!   ret = SENSE_ABORT;
break;
  }
  } else {
--- 1802,1808 
  pRequestSense->SenseKey,
  pRequestSense->AdditionalSenseCode,
  pRequestSense->AdditionalSenseCodeQualifier));
!   ret = SENSE_NO;
break;
  }
  } else {
***
*** 1847,1853 
  pRequestSense->SenseKey,
  pRequestSense->AdditionalSenseCode,
  pRequestSense->AdditionalSenseCodeQualifier));
!   ret = SENSE_ABORT;
break;
  }
  }
--- 1847,1853 
  pRequestSense->SenseKey,
  pRequestSense->AdditionalSenseCode,
  pRequestSense->AdditionalSenseCodeQualifier));
!   ret = SENSE_NO;
break;
  }
  }



RE: Oracle Backup Strategies

2000-12-06 Thread Martin Brown


I'm a client of sprint, can you send it to me? ;)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Tuthill, Ed
Sent: Wednesday, December 06, 2000 11:13 AM
To: '[EMAIL PROTECTED]'
Subject: Oracle Backup Strategies


To those who have been waiting on my Oracle backup perl script,
I just wanted to let you know I haven't forgotten about you.
My supervisor insisted on bringing our legal department into
the loop since the script was created on Sprint's dime.  I'm
pushing to get this declared freely distributable so that I
can share it here.  

FWIW, it's been running for about a week now, and has been
doing fairly well, although I'm still tweaking.

-Ed

Edward Tuthill
NTAC Engineer, Sprint PCS NTAC-West
W: 949.225.2920
M: 310.663.9726



Oracle Backup Strategies

2000-12-06 Thread Tuthill, Ed

To those who have been waiting on my Oracle backup perl script,
I just wanted to let you know I haven't forgotten about you.
My supervisor insisted on bringing our legal department into
the loop since the script was created on Sprint's dime.  I'm
pushing to get this declared freely distributable so that I
can share it here.  

FWIW, it's been running for about a week now, and has been
doing fairly well, although I'm still tweaking.

-Ed

Edward Tuthill
NTAC Engineer, Sprint PCS NTAC-West
W: 949.225.2920
M: 310.663.9726



Re: Antwort: Re: missing file header

2000-12-06 Thread John R. Jackson

It's looking like that tape is bad.  Does this happen on all your tapes
or just this one?  If it's all the tapes, I'd start worrying about the
drive or controller.

Here's another sequence to try:

  $ mt -f /dev/nst0 rewind
  $ mt -f /dev/nst0 fsf 1
  $ dd if=/dev/nst0 bs=32k count=1 > /tmp/block.0
  $ ls -l /tmp/block.0
  $ head -4 < /tmp/block.0
  $ mt -f /dev/nst0 rewind
  $ mt -f /dev/nst0 fsf 1
  $ dd if=/dev/nst0 bs=32k of=/dev/null

The first dd will bring in the label block from the file.  In theory,
it should be 32 KBytes and start with some text.

The second dd will tell us how long the file is and if it is all 32
KByte blocks.

If this problem is happening on all your tapes, I'd mount a scratch tape,
create a file of a few MBytes that is a multiple of 32 KBytes then do
several dd's with bs=32k to the tape without repositioning in between,
i.e. so the tape ends up with several files on it.  Then rewind the tape
and read the files back in to see if you get back what you wrote.

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



Re: restore to empty harddisk

2000-12-06 Thread John R. Jackson

>sorry, if this is a little bit off-topic.  ...

As other have said, this is very much on-topic.

>I'd like to know a good strategy 
>to restore from an amanda backup to an empty harddisk.  ...

The only thing I'd add to what you listed and others have expounded upon
is that you need to know what tapes have the backup images you'll need
and, if you do not have amrestore, what file on the tape.

There are various ways to do this (and I'm sure some I haven't thought
of):

  * rdist/rsync the Amanda configuration information (including the
curinfo database) to some other machine or removable medium after
each run.  This is what I do and has the added advantage of being
able to easily recover the Amanda state for use during the recovery
and have it correct for the next run.

  * Use one of the lbl-templ tapetype definitions to print a hard copy
output of each tape after each run.

  * Use amtoc after amdump/amflush run and put the output someplace
safe (another machine, removable medium, hard copy).

>Olaf

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



Re: Hotbackup with

2000-12-06 Thread John R. Jackson

>We're doing a hot backup of our CMS-Server and I sometimes 
>get a 'file changed as we read it: No such file or directory' error.
>Is there a way to do a tar hotbackup anyway without shutting down the
>service accessing this file ? 

How about making a copy of the file(s) to a temp area (possibly with
tools that guarantee they are in a known good state -- I don't know what
CMS-Server is) and then backing that up rather than the live file(s)?

>-- Mirko

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



Re: scsi-changer-driver.c

2000-12-06 Thread John R. Jackson

>...  So I changed GenericSenseHandler() to return SENSE_NO
>for "Unknow", and that problem went away.  

Could you post a unified (-u) or context (-c) diff of your change?
And don't worry about your C coding skills :-).  The idea is the more
important part here.

And what about my question of what you changed in your config file to
make the segmentation violation go away?

>Mike Taylor

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



Re: software compression disabled?

2000-12-06 Thread Josh Huston

amdump is using gzip to compress the index files if you had your dumptype
with index on.  It is not compressing the actual dump files.

Josh

Olaf Seidel wrote:
> 
> Hi,
> 
> now I run my first tests, Amanda backing up all the servers. I've
> used the two dumptypes "nocomp-user" and "nocomp-root" (I
> changed nothing in these dumptypes) with no compression. When
> I watch the processes on the Amanda-Server, there are processes
> "/bin/gzip --best" owned by the Amanda-User. Where do they
> come from? Aren't the dumptypes without software compression?
> 
> A big thanks in advance...
> 
> Greetings
> Olaf



Re: Amanda 2.4.2 and HP-UX 11.00

2000-12-06 Thread Alexandre Oliva

On Dec  6, 2000, "Terry Rossi" <[EMAIL PROTECTED]> wrote:

>> On Dec  6, 2000, "Terry Rossi" <[EMAIL PROTECTED]> wrote:
>> 
>> >> Did `make all' create common-src/libamanda.la?
>> 
>> > Yes it did.
>> 
>> And how about common-src/.libs/libamanda.lai?

> Yes it did.  

And then `make install' complained about its non-existence?  Odd...

Maybe it's something odd about `/usr/sbin/install'?  

> find: cannot stat /usr/local/lib/libamanda.la

This line looks extremely suspicious.

Try `make INSTALL=/path/to/amanda-src/config/install-sh' (install-sh
is a shell-script that comes in the Amanda source tree)

-- 
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: Amanda 2.4.2 and HP-UX 11.00

2000-12-06 Thread Terry Rossi

> On Dec  6, 2000, "Terry Rossi" <[EMAIL PROTECTED]> wrote:
> 
> >> Did `make all' create common-src/libamanda.la?
> 
> > Yes it did.
> 
> And how about common-src/.libs/libamanda.lai?
> 

Yes it did.  





Re: estimates failing

2000-12-06 Thread Jean-Louis Martineau

On Wed, Dec 06, 2000 at 10:24:56AM -0700, George Kelbley wrote:
> Suddenly one (and only one) of my clients is failing, and only on the
> file systems that use tar.  Amanda reports that /bin/tar returned 2. 
> Since tar is working on this machine I am perplexed.  Amanda never gets
> the estimate.  This just happened in last 2 days with no changes being
> made so we're pretty confused.  The server and client and both running
> debain linux 2.1 and amanda-2.4.1p11.

There is a known bug in all version of gnutar.

Upgrade to tar-1.13.18 available at
ftp://alpha.gnu.org/pub/gnu/tar/tar-1.13.18.tar.gz
with the patch from http://www.amanda.org/patches.html.

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



Re: permission denied on amcheck

2000-12-06 Thread Alexandre Oliva

On Dec  6, 2000, Bill Delphenich <[EMAIL PROTECTED]> wrote:

> -rwsr-x---1rootdisk18520Aug 22 01:34amcheck

> Is this right?

Yep.  Make sure user `operator' belongs to group `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: Amanda question

2000-12-06 Thread Alexandre Oliva

On Dec  6, 2000, Sandra Panesso <[EMAIL PROTECTED]> wrote:

> could anybody tell me if amanda can backup a HFS+  hard drive?

Can GNU tar tar it up?  If it can, then Amanda can certainly use GNU
tar to back it up.

If there's some special dump program to back it up, it shouldn't be
too hard to get Amanda to use it either.

-- 
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: Amanda and Macs

2000-12-06 Thread Alexandre Oliva

On Dec  6, 2000, Christian Lox <[EMAIL PROTECTED]> wrote:

> I am a bit confused about the usage of Amanda together with Macs.

It works with MacOS X (but people have reported it as *slooow* :-), or
if you manage to get an NFS or SMB server running on old MacOSs and
back them up remotely.

> May someone correct my posting there?

You're supposed to be able to do it yourself.  That's the point of
FAQ-O-Matic :-)

-- 
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: restore to empty harddisk

2000-12-06 Thread Alexandre Oliva

On Dec  6, 2000, "Olaf Seidel" <[EMAIL PROTECTED]> wrote:

> 4. Install Amanda
> 5. amrestore

Even though you *can* install Amanda for crash-recovery, if you wish,
you don't *need* to do it, and that's one of the beauties of Amanda.
Read docs/RESTORE for details on crash-recovery mechanisms.  It only
covers DUMP-based restores, but GNUTAR-based ones are even easier (as
long as you can drive `tar', which you also need for an
amrestore-based recovery anyway :-)

-- 
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: Amanda 2.4.2 and HP-UX 11.00

2000-12-06 Thread Alexandre Oliva

On Dec  6, 2000, "Terry Rossi" <[EMAIL PROTECTED]> wrote:

>> Did `make all' create common-src/libamanda.la?

> Yes it did.

And how about common-src/.libs/libamanda.lai?

> Permissions are wide open, the make was done as root.

This is probably unrelated, but you shouldn't build anything as root,
in general.  Unless you really don't care about security at all :-)

-- 
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: can not connect

2000-12-06 Thread Alexandre Oliva

On Dec  6, 2000, "richard" <[EMAIL PROTECTED]> wrote:

>   Thanks for your guide. Here is result for the RPM package in RH7.0.

Which RPM packages did you install?  AFAIK, it is amanda-client that
will get you `amandad' and the corresponding xinetd file.

-- 
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



estimates failing

2000-12-06 Thread George Kelbley

Suddenly one (and only one) of my clients is failing, and only on the
file systems that use tar.  Amanda reports that /bin/tar returned 2. 
Since tar is working on this machine I am perplexed.  Amanda never gets
the estimate.  This just happened in last 2 days with no changes being
made so we're pretty confused.  The server and client and both running
debain linux 2.1 and amanda-2.4.1p11.
-- 
George Kelbley  System Support Group
Computer Science Department University of New Mexico
505-277-6502Fax: 505-277-6927



permission denied on amcheck

2000-12-06 Thread Bill Delphenich

I am waging an heroic battle here trying to get amanda to run on Red Hat
v7, with little success. The application was installed using the RPM's
off of the CDROM.

The current problem is I can't run "amcheck" as the "operator" user. I
get permission denied. I can run amcheck as the root user, but then I
get the dreaded "access as operator not allowed from
[EMAIL PROTECTED]" I have my .amandahosts file set up in
/home/operator correctly, I think.

The permissions on /usr/sbin/amcheck are:

-rwsr-x---1rootdisk18520Aug 22 01:34amcheck

Is this right? I haven't changed any of this. All of the other am* files
in /usr/sbin are owned by "operator" and group "disk".

Thanks for any assistance.










scsi-changer-driver.c

2000-12-06 Thread F.M. Taylor


I started out with:

# START DecodeSense
GenericSenseHandler : Sense Keys
ErrorCode 00
Valid 0
ASC   46
ASCQ  00
Sense key 00
No Sense
GenericSenseHandler : Unknow 0 ASC = 46 ASCQ = 0
 STOP SenseHandler
chg-scsi: requested drive number (0) greater than number of supported
drives (-1)

So I called the vendor and they said it is a non-error (errcode 0) error,
and to ignore it.  So I changed GenericSenseHandler() to return SENSE_NO
for "Unknow", and that problem went away.  

Now when I run chg-scsi -info, it returns 4 numbers.

I know I still am going to have some more "tuning" to do.  But, it seems
to be working.  It is pulling out each tape, looking for a label, and
putting it back, guess I should label them next, and see what happens ;)

After my C skills mature a little (I just learned it last night) I will
finish customizing scsi-changer-driver.c for the SpectraLogic and send the
diff to whoever wants it.

---
Mike Taylor
Coordinator of Systems Administration and Network Security
Indiana State University.   Rankin Hall Rm 039
210 N 7th St.   Terre Haute, IN.
Voice: 812-237-8843  47809
---
"You have zero privacy anyway.  Get over it."
   --Scott McNealy, Sun MicroSystems. 







Amanda question

2000-12-06 Thread Sandra Panesso

Hi everybody:

could anybody tell me if amanda can backup a HFS+  hard drive?

thanks
Sandra




Re: EXB-8900 tapetype, please

2000-12-06 Thread Patrick LIN

Tony Ross a écrit :
> 
> Greetings;
> 
> Does anyone have the tapetype definiton for the Exabyte 8900 drive?
> 
> We are using a Mammoth-LT and 125m tapes in an Exabyte EZ-17 autoloader; nothing was 
>found in the online archives.
> 
> Thanks,
> 
>  tony
> 
> 
> --== Sent via Deja.com http://www.deja.com/ ==--
> Before you buy.

tape type definition:

define tapetype AME_225_SmartClean {
 comment "just produced by tapetype program"
 length 52006 mbytes
 filemark 1245 kbytes
 speed 11051 kbytes
 }


patrick



Re: Amanda and Macs

2000-12-06 Thread Johannes Niess

Christian Lox <[EMAIL PROTECTED]> writes:

> Hello everyone!
> 
> I am a bit confused about the usage of Amanda together with Macs.
> The archive say, it should work, but backupcentral.com/amanda says,
> there is no support for Macs.
> What is right and how to get it work?

Christian,

I'll assume that you'r talking about MacOS. The hardware should be
supported with amanda for BSD or Linux.

Amanda has no direct support of Mac's protocols of file sharing. I'd
import your data to a Linux box via netatalk, and use the Linux amanda
client for backups.

A different aproach might be mimiking SMB shares directly on the
Mac. There is software out there (Dave?).

Johannes Nieß



Re: restore to empty harddisk

2000-12-06 Thread Chris Karakas

Olaf Seidel wrote:
> 
> Hi,
> 
> sorry, if this is a little bit off-topic. I'd like to know a good strategy
> to restore from an amanda backup to an empty harddisk. 

I don't think you are off-topic. It _has_ to do with AMANDA. And, as the
saying goes, nobody cares if you can backup, only if you can restore ;-)

> Will the
> following strategy work?
> 
> 1. Boot from rescue disk

How about a rescue CD? You boot a 16 Meg RAM disk from CD in your
memory. The RAM image contains AMANDA already installed. You could boot
from floppy first, then tell linuxrc to load the image on the CD in the
memory and boot it. Then you continue to step 2...

> 2. Make partitions with fdisk (Do the partitions have to have the
> same size like they had before (on the crashed disk) or is it only
> important, that the data from the backup tape fit onto the new disk?)

It is only important, that the data fits on your partitions. 

> 3. mkfs

OK

> 4. Install Amanda

You can save yourself this trouble with the above CD. I am saying
"trouble" because you will have to install the OS first, then install
AMANDA on top of it, and this (usually) under the stress of having a
crashed system around you that should be up and running ASAP.

I haven't tested it to the end, but I think with the CD method (assuming
lots of main memory), bare metal recovery can be fun. If you are
interested in the details, I have a script with a lot of comments, which
could serve as a starting basis for you (it is not finished yet).

> 5. amrestore
> 

Generally speaking, yes, it should work. But you will have to try it to
be sure you did not forget any detail.

-- 
Regards

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



Re: amanda cron job doesn't start?

2000-12-06 Thread Chris Karakas

Rainer Hofmann wrote:
> 
> Hi,
> 
> any explanations why that cron job for user amanda doesn't even start:
> 
> PATH=/sbin:/bin:/usr/bin:/home/amanda/bin:/usr/local/sbin
> 
> 0 18 * * 1-5 amcheck merten && amdump merten
> 

My first guess is that "amcheck merten" gives an error (the command
after && will be executed only if the previous one gave no error). I
suggest you run it by hand first and see what happens. Did cron send
mail with the errors?

Further: Is this the general crontab, or the crontab of the amanda user?
Who is allowed to run amdump? I mean, the way you have set things up, is
amdump ran as root? If so, you should change it, doing 'su amanda -c
"amdump merten"' (if you use the general crontab, or root's). For more
details on cron: man cron, man crontab.

> I'm using joe as editor instead of vi.
> 

This is totally irrelevant - are you superstitious? :-)

-- 
Regards

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



Amanda and Macs

2000-12-06 Thread Christian Lox

Hello everyone!

I am a bit confused about the usage of Amanda together with Macs.
The archive say, it should work, but backupcentral.com/amanda says,
there is no support for Macs.
What is right and how to get it work?

Thanks in advance,

Christian

P.S. I posted the output of tapetype to the Faq-o-matic (I hate this
thing!), which seems to be a mistake!
I post it again here. May someone correct my posting there?
>--
I just run tapetype on a HP COLORADO 2.5/5GB. Somewhat old and
boring piece of hardware but maybe it helps someone. Hope I did
it ok, cause I am really new to amanda!
devel2:/test/home/lox/amanda-2.4.2/tape-src # ./tapetype -t 'HP
COLORADO 2.5/5' -f /dev/nst0 
wrote 78807 32Kb blocks in 241 files in 4902 seconds
(short write) wrote 70253 32Kb blocks in 431 files in 4674 seconds 
(short write) define tapetype HP COLORADO 2.5/5 { 

  comment "just produced by tapetype program"
  length 2801 mbytes
  filemark 1440 kbytes
  speed 497 kps

  } 
devel2:/test/home/lox/amanda-2.4.2/tape-src #



Re: amanda cron job doesn't start?

2000-12-06 Thread Roshan Rogge


Hi,

i think you must give the full path of the programs like: 0 18 * * 1-5
/usr/local/sbin/amcheck merten

and make two entries one with amdump and another for amcheck. look for a mail
from crontab, there must be the error

Also viel spass noch/Good luck

Roshan



Amanda with Terabit Tape Robots?

2000-12-06 Thread Ephraim Silverberg

Does anyone have any experience using Amanda with Terabyte tape robots?

Any pointers would be appreciated.
___
Ephraim Silverberg, CSE System Group,Phone number:972-2-6585521
Hebrew University, Jerusalem, Israel.Fax number:  972-2-6585439
WWW: http://www.cs.huji.ac.il/~ephraim   E-mail: [EMAIL PROTECTED]




Hotbackup with

2000-12-06 Thread Mirko Schlottke

Hi there!

We're doing a hot backup of our CMS-Server and I sometimes 
get a 'file changed as we read it: No such file or directory' error.
Is there a way to do a tar hotbackup anyway without shutting down the
service accessing this file ? 

Thanks...

-- Mirko




amanda cron job doesn't start?

2000-12-06 Thread Rainer Hofmann

Hi,

any explanations why that cron job for user amanda doesn't even start:

PATH=/sbin:/bin:/usr/bin:/home/amanda/bin:/usr/local/sbin 

0 18 * * 1-5 amcheck merten && amdump merten 


I want to run backups at 6.00 pm on Mo-Fr as user amanda.

settings in etc/passwd are as follows:

amanda:x:501:6:Amanda Backup User:/home/amanda:/bin/bash

I'm using joe as editor instead of vi.

crond is up and running, since other cronjobs of root are executed.
I'm using Linux RedHat 6.2. Is there any general setting who is
allowed to run cron jobs at all?

Thanks
Rainer
-- 
Chemisches Labor Dr. Merten GmbH
Röderstr. 8-10
79104 Freiburg
Tel: 0761 29648-0



restore to empty harddisk

2000-12-06 Thread Olaf Seidel

Hi,

sorry, if this is a little bit off-topic. I'd like to know a good strategy 
to restore from an amanda backup to an empty harddisk. Will the 
following strategy work?

1. Boot from rescue disk
2. Make partitions with fdisk (Do the partitions have to have the 
same size like they had before (on the crashed disk) or is it only 
important, that the data from the backup tape fit onto the new disk?)
3. mkfs
4. Install Amanda
5. amrestore

Thank you... :-)

Greetings
Olaf




Re: software compression disabled?

2000-12-06 Thread Christoph Scheeder

Hi,
this gzip processes are compressing the indizes, not the data.
Christoph 

Olaf Seidel schrieb:
> 
> Hi,
> 
> now I run my first tests, Amanda backing up all the servers. I've
> used the two dumptypes "nocomp-user" and "nocomp-root" (I
> changed nothing in these dumptypes) with no compression. When
> I watch the processes on the Amanda-Server, there are processes
> "/bin/gzip --best" owned by the Amanda-User. Where do they
> come from? Aren't the dumptypes without software compression?
> 
> A big thanks in advance...
> 
> Greetings
> Olaf