Trying to figure out a rational setup

2004-05-17 Thread Bret McKee
Greetings:

I am setting up Amanda and am trying to get the configuration mostly
right the first time.  I like to understand what I'm doing, and not
ask really obvious questions.  To that end, I've read the chapter in
the backup book, read most of the man pages, most of the files in
doc/*, a bunch of entries in the Faq-O-Matic, and a couple hundred
posts in the archive for this mailing list.  Hopefully that gets me
started, but please accept my apologies if this still seems obvious.

I a couple servers and about a dozen PCs to backup.  Based upon my
current backup, it seems that only a few GB changes every day.  I have
a 20 tape DLT 80 autochanger, which should back everything up for a
long time.  My tape machine also has "plenty" of holding disk space
(something like 3 tapes worth/120 GB).  The servers have quite a bit
of disk space on them, but the vast majority of it never changes (1
server has maybe 100 GB total space that needs to be backed up, but 80
GB of it is basically static).

My configuration is therefore one which will waste a lot of tape if I
let Amanda write a tape every night (and more importantly, it will run
out of tapes and pester me in 3 weeks instead of 6 months...)

According to the FAQ-O-Matic:
-
This can be wasteful, specially if you have a small amount of data to
back up, but expensive large-capacity tapes. One possible approach is
to run amdump with tapes only, say once a week, to perform full
backups, and run it without tape on the other days, so that it
performs incremental backups and stores them in the holding disk. Once
or twice a week, you flush all backups in the holding disk to a single
tape. 
-

Inspired by what I think that is telling me, I would like to do is
something like this:

- Run compressed backups to the holding disk
- while the holding disk has > 1 tape worth of data (40 GB), write a
tape.

It isn't clear to me how to set it up to get this behavior.  It seems
like I might be able to get it by having two configurations, but then
it isn't clear of the tape tracking database features will work like I
would like (i.e. if one configuration writes to the disk only, and
another sometimes pushes the disk to a tape, will the database know
which tape the files from the disk only configuration are on?)

It almost seems like I should mess with tape changer scripts so that
requests for tapes are automatically failed if there is less than 1
tapes worth of information on the holding disk.  Once there is, it
could give Amanda 1 tape, and things might proceed the way I want.

Have I missed something obvious, or am I on the right track?

I appreciate any opinions, pointers to documentation, etc. that anyone
might provide...

Thanks,

Bret




Re: location of amandahosts

2004-05-17 Thread Jonathan Dill
On Mon, 2004-05-17 at 16:01, Eric Siegerman wrote:
> On Mon, May 17, 2004 at 03:40:16PM -0400, Joe Konecny wrote:
> > First install of amanda...  Freebsd 5.2.1, Amanda 2.4.4p2.
> > I used bin and operator when compiling.
> 
> I much prefer to create a new userid just for Amanda.  If it runs
> as bin, then it can write to a large part of the system (no

For compatibility with pre-compiled RPMs for Linux, I like to use amanda
UID 33 and disk GID 6 that just keeps everything consistent across all
of the platforms that I back up.  GID 6 has read but not write access to
the disk devices for "dump" style backups (xfsdump, ufsdump, dump etc.)
and no users are members of that group.

-- 
Jonathan Dill <[EMAIL PROTECTED]>



Re: Max File Size

2004-05-17 Thread Jonathan Dill
The limitation could be that the login shell is not compiled with
LARGEFILE enabled--that was a bug that plagued tcsh in various distros
for awhile, though I haven't seen that bug lately.  In the past, I ended
up getting the Mandrake SRPM for tcsh and porting it into Red Hat to fix
the problem, or just using bash.

I think there's a way to use "strace" or "strings" to see if LARGEFILE
was enabled when the shell was compiled, but it's been so long I don't
remember--maybe someone else can chime in with the answer, or you could
dredge it up from the list archives.

On Fri, 2004-05-14 at 17:53, Josh Welch wrote:
> I am thinking that things are dying as a result of this friggin huge file, I
> am able to restore just fine from a smaller backup on a different machine. I

-- 
Jonathan Dill <[EMAIL PROTECTED]>



Re: location of amandahosts

2004-05-17 Thread Eric Siegerman
On Mon, May 17, 2004 at 03:40:16PM -0400, Joe Konecny wrote:
> First install of amanda...  Freebsd 5.2.1, Amanda 2.4.4p2.
> I used bin and operator when compiling.

I much prefer to create a new userid just for Amanda.  If it runs
as bin, then it can write to a large part of the system (no
special privileges kernel-wise, but typically a *lot* of stuff is
owned by bin).  The principle of "least privilege" says that's an
unsafe idea -- if an attacker gets in, it gives them a(nother)
possible way to escalate privilege, plant trojans, etc.  But if
you're determined to let Amanda run as bin...

> 1. Where does .amandahosts go for the bin user?  /bin?

.amandahosts goes in the bin user's home directory, as specified
in /etc/passwd.

> I get an error "ERROR: r4p17: [access as bin not allowed
> from [EMAIL PROTECTED] open of //.amandahosts failed.

Looks like that's /.amandahosts on your box (the extra "/" has no
significance; it probably comes from the code's doing the C
equivalent of:
homedir="/" # Actually, looking it up in /etc/passwd
file="${homedir}/.amandahosts"
).

--

|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.[EMAIL PROTECTED]
|  |  /
It must be said that they would have sounded better if the singer
wouldn't throw his fellow band members to the ground and toss the
drum kit around during songs.
- Patrick Lenneau


location of amandahosts

2004-05-17 Thread Joe Konecny
First install of amanda...  Freebsd 5.2.1, Amanda 2.4.4p2.
I used bin and operator when compiling.  I only will
back up the server that amanda is running on.  I have
configured the client per the instructions.  I restarted
inetd.
1. Where does .amandahosts go for the bin user?  /bin?
2. Is bin ok to leave nologin?
using... su -m bin -c "./amcheck -m DailySet1"
I get an error "ERROR: r4p17: [access as bin not allowed
from [EMAIL PROTECTED] open of //.amandahosts failed.
Any tips?


Re: Connection refused

2004-05-17 Thread Gene Heskett
On Wednesday 12 May 2004 08:22, Tony van der Hoff wrote:
>Frank Smith <[EMAIL PROTECTED]> wrote in message
><[EMAIL PROTECTED]>
>
>> --On Tuesday, May 11, 2004 17:22:28 +0100 Tony van der Hoff
>
><[EMAIL PROTECTED]> wrote:
>> > Hi,
>> >
>> > I have successfully installed and configured Amanda, and amcheck
>> > runs successfully, as does amdump.
>> >
>> > However, amrecover (running as root) fails, with the message
>> > "cannot connect to tony-lx.magpieway.net: connection refused"
>> >
>> > .amandahosts contains tony-lx.magpieway.net, which is the
>> > localhost, as well as the tape server, which user amanda can
>> > happily access to do the backups.
>> >
>> > Evidently this is a permissions problem with root, but can
>> > anyone point me in the right direction to fix it? Runnig
>> > Mandrake 9.1.
>>
>> Do you have amindexd and amidxtaped configured in (x)inetd on the
>> tape server? They aren't needed for backups, but are for restores.
>> 'connection refused' usually indicates a service isn't running, or
>> possibly firewall problems, .amandahosts problems generally give
>> you an 'access as foo not allowed..' message.
>
>Thanks, Frank, for the suggestion. I didn't have them configured, so
> I have done so. Have you any reference to these services in the
> documentation? I have assumed they are datagram services.
>
>Unfortunately, it has not had the desired effect :-(
>
>Cheers,

Compare your /etc/xinetd.d/amanda file with this one and see where 
things differ:
---
# default = off
#
# description: Part of the Amanda server package
# This is the list of daemons & such it needs
service amanda
{
disable = no
socket_type = dgram
protocol= udp
wait= yes
user= amanda
group   = disk
groups  = yes
server  = /usr/local/libexec/amandad
}
service amandaidx
{
disable = no
socket_type = stream
protocol= tcp
wait= no
user= amanda
group   = disk
groups  = yes
server  = /usr/local/libexec/amindexd
}
service amidxtape
{
disable = no
socket_type = stream
protocol= tcp
wait= no
user= amanda
group   = disk
groups  = yes
server  = /usr/local/libexec/amidxtaped
}

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.22% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.


Max File Size

2004-05-17 Thread Josh Welch
I've got a redhat 8.0 box running amanda 2.4.4, backing up a redhat 7.3 box
also running 2.4.4. Both  boxes are using ext3 as the filesystem, and both
have tar 1.13-25. I am using the file drive to perform backups to disk. The
backup for the 7.3 box has become very large, approx 30GB. Now, after some
time not testing that backup, I need a restore. I tried using amrecover, and
things go along all right until I descend into the file system to where I
wanted to restore from and then things just stop, eventually I quit out of
it, I pasted the tail end of the amindexd below.

I am thinking that things are dying as a result of this friggin huge file, I
am able to restore just fine from a smaller backup on a different machine. I
am currently trying to just get at things using tar, not having great
results. Part of the probably may be the hardware I'm running on, the amanda
box is an old PII 400 with IDE drives, gzip beats it up pretty hard. Anyway,
to make a long story longer, is it realistic for me to be able to get a
recovery from a backup file +30GB?

Please CC me on any replies as I seem to have gotten unsubscribed and I'm
having issues getting resubscribed.

Thanks,

Josh Welch Buffalo Wild Wings Inc.
Systems Administrator 1600 Utica Ave S
  Buffalo Wild WingsMinneapolis, MN 55416
  [EMAIL PROTECTED] (P)952.593.9943
952.278.9557  (F)952.593.9787



amindexd: time 281.208: f
/usr/adm/amanda/index/mplslx1.buffalowildwings.com/_/20040513_0
amindexd: time 281.829: < 200 "/var/samba/marketing/USER NAME/New Store
Opening" is a valid directory
amindexd: time 281.829: > OLSD /var/samba/marketing/USER NAME/New Store
Opening
amindexd: time 283.164: < 200- Opaque list of /var/samba/marketing/USER
NAME/New Store Opening
amindexd: time 283.164: < 201- 2004-05-13 0 Tape01   7
/var/samba/marketing/USER NAME/New Store Opening/
amindexd: time 283.164: < 201- 2004-05-13 0 Tape01   7
/var/samba/marketing/USER NAME/New Store Opening/CONSOLIDATION/
amindexd: time 283.164: < 201- 2004-05-13 0 Tape01   7
/var/samba/marketing/USER NAME/New Store Opening/Donation Press Release.doc
amindexd: time 283.164: < 201- 2004-05-13 0 Tape01   7
/var/samba/marketing/USER NAME/New Store Opening/Flyer- Color- Grand
Opening.doc
amindexd: time 283.164: < 201- 2004-05-13 0 Tape01   7
/var/samba/marketing/USER NAME/New Store Opening/Fulfillment Set Up Form.doc
amindexd: time 283.165: < 201- 2004-05-13 0 Tape01   7
/var/samba/marketing/USER NAME/New Store Opening/G O Kit/
amindexd: time 283.165: < 201- 2004-05-13 0 Tape01   7
/var/samba/marketing/USER NAME/New Store Opening/Grand Opening Guide 2003/
amindexd: time 283.165: < 201- 2004-05-13 0 Tape01   7
/var/samba/marketing/USER NAME/New Store Opening/Memo to New Franchise
Stores.doc
amindexd: time 283.165: < 201- 2004-05-13 0 Tape01   7
/var/samba/marketing/USER NAME/New Store Opening/Memo to New Stores.doc
amindexd: time 283.165: < 201- 2004-05-13 0 Tape01   7
/var/samba/marketing/USER NAME/New Store Opening/NEW RESTAURANT SUMMARY
2004.xls
amindexd: time 283.165: < 201- 2004-05-13 0 Tape01   7
/var/samba/marketing/USER NAME/New Store Opening/NRO Press Release.doc
amindexd: time 283.165: < 201- 2004-05-13 0 Tape01   7
/var/samba/marketing/USER NAME/New Store Opening/NRO Process/
amindexd: time 283.165: < 201- 2004-05-13 0 Tape01   7
/var/samba/marketing/USER NAME/New Store Opening/NSQ/
amindexd: time 283.165: < 201- 2004-05-13 0 Tape01   7
/var/samba/marketing/USER NAME/New Store Opening/New Store Snapshot.xls
amindexd: time 283.165: < 201- 2004-05-13 0 Tape01   7
/var/samba/marketing/USER NAME/New Store Opening/Store File Labels.doc
amindexd: time 283.165: < 201- 2004-05-13 0 Tape01   7
/var/samba/marketing/USER NAME/New Store Opening/VIP/
amindexd: time 283.166: < 200  Opaque list of /var/samba/marketing/USER
NAME/New Store Opening
amindexd: time 471.700: > QUIT
amindexd: time 471.700: removing index file:
/usr/adm/amanda/index/mplslx1.buffalowildwings.com/_/20040513_0
amindexd: time 471.717: ! error 104 (Connection reset by peer) in fflush



Re: amrecover / amindexd problem

2004-05-17 Thread nejat onay erkose
Hello,
 I am using the same version as you do but my amandaidx file is 
different than yours. Maybe it is the reason

service amandaidx
{
   socket_type  = stream
   protocol= tcp
   wait  = no
   user  = amanda
   group   = disk
   server   = /usr/local/libexec/amindexd
   disable = no
}

This is my file named amindex
[EMAIL PROTECTED] wrote:
Hi,
i have successfully made a backup with amanda 2.4.4p2
(self-compiled). Great! But now i run into problems
recovering the data. Any hints would be greatly
appreciated... This is my file named amindex
kirk:/var/log/amanda # amrecover -C full
AMRECOVER Version 2.4.4p2. Contacting server on kirk ...
amrecover: Unexpected end of file, check amindexd*debug
on server kirk
The amindex debug file:
kirk:/var/log/amanda # cat amindexd.20040506172642.debug
amindexd: debug 1 pid 17865 ruid 37 euid 37: start at
Thu May  6 17:26:42 2004
amindexd: version 2.4.4p2
and the amrecover debug file:
kirk:/var/log/amanda # cat
amrecover.20040506172642.debug
amrecover: debug 1 pid 17864 ruid 0 euid 0: start at
Thu May  6 17:26:42 2004
amrecover: stream_client_privileged: connected to
192.168.1.74.10082
amrecover: stream_client_privileged: our side is
0.0.0.0.762
service amandaidx
{
   socket_type = stream
   protocol= tcp
   wait= no
   user= amanda
   group   = disk
   server  = /usr/local/libexec/amindexd
   disable = no
}
That's all. To me it seems like the amindex daemon is
making trouble, although the .amandahosts file is ok. 

This is my xinetd entry for amindex:
kirk:/var/log/amanda # cat /etc/xinetd.d/amandaidx
service amandaidxservice amandaidx
{
   socket_type = stream
   protocol= tcp
   wait= no
   user= amanda
   group   = disk
   server  = /usr/local/libexec/amindexd
   disable = no
}
{
   socket_type = stream
   protocol= tcp
   wait= no
   user= amanda
   server  = /usr/lib/amanda/amindexd
   groups  = yes
   server_args = amindexd
}
And here the amandahosts file:
[EMAIL PROTECTED]:/home/kai> cat ~/.amandahosts
kirk.bbaw.de amanda
kirk.bbaw.de root
kirk.bbaw.de
Any ideas?
thanks,
Kai 

 




Re: Connection refused

2004-05-17 Thread Tony van der Hoff
Tony van der Hoff <[EMAIL PROTECTED]> wrote in message
<[EMAIL PROTECTED]>

> Frank Smith <[EMAIL PROTECTED]> wrote in message
> <[EMAIL PROTECTED]>
> 
> > --On Tuesday, May 11, 2004 17:22:28 +0100 Tony van der Hoff
> <[EMAIL PROTECTED]> wrote:
> > 
> > > Hi,
> > > 
> > > I have successfully installed and configured Amanda, and amcheck runs
> > > successfully, as does amdump.
> > > 
> > > However, amrecover (running as root) fails, with the message "cannot
> > > connect to tony-lx.magpieway.net: connection refused"
> > > 
> > > .amandahosts contains tony-lx.magpieway.net, which is the localhost,
> > > as well as the tape server, which user amanda can happily access to do
> > > the backups.
> > > 
> > > Evidently this is a permissions problem with root, but can anyone
> > > point me in the right direction to fix it? Runnig Mandrake 9.1.
> > 
> > Do you have amindexd and amidxtaped configured in (x)inetd on the tape
> > server? They aren't needed for backups, but are for restores.
> >'connection refused' usually indicates a service isn't running, or
> > possibly firewall problems, .amandahosts problems generally give you an
> > 'access as foo not allowed..' message.
> > 
> 
> Thanks, Frank, for the suggestion. I didn't have them configured, so I
> have done so. Have you any reference to these services in the
> documentation? I have assumed they are datagram services.
> 
> Unfortunately, it has not had the desired effect :-(
> 
> Cheers,
> 
An update to that, FWIW. 

You were correct in your diagnosis of the problem; I hadn't got them
configured correctly. I found the instructions in the Using Amanda book from
Storge Moutain, and this time set it up correctly :-)

Thanks, once again, for your help.

-- 
Tony van der Hoff   | mailto:[EMAIL PROTECTED]
Buckinghamshire England


Getting empty schedule from planner.

2004-05-17 Thread jlm17
amandad emails me this:
NOTES:
  planner: Adding new disk cc501:/export/h4.
  driver: WARNING: got empty schedule from planner
  taper: tape cc501-002 kb 0 fm 0 [OK]
amandad successfully dumps my W2K boxes. I'm having problems configuring it to dump my 
Unix boxes now.
/tmp/amanda/amandad.somenum on the client gives me this:
amandad: time 1020.909: dgram_recv: timeout after 10 seconds
amandad: time 1020.909: waiting for ack: timeout, retrying
amandad: time 1030.909: dgram_recv: timeout after 10 seconds
amandad: time 1030.909: waiting for ack: timeout, retrying
amandad: time 1040.909: dgram_recv: timeout after 10 seconds
amandad: time 1040.909: waiting for ack: timeout, retrying
amandad: time 1050.909: dgram_recv: timeout after 10 seconds
amandad: time 1050.909: waiting for ack: timeout, retrying
amandad: time 1060.909: dgram_recv: timeout after 10 seconds
amandad: time 1060.909: waiting for ack: timeout, giving up!
amandad: time 1060.909: pid 20342 finish time Thu May 13 09:21:12 2004
/etc/services on the client:
#Amanda
amanda  10080/udp   # amanda backup services
amandaidx   10082/tcp
amidxtape   10083/tcp
/etc/inetd.conf on the client:
#Amanda
amanda dgram udp wait amanda /sontools/local/amanda/libexec/amandad amandad
amandaidx stream tcp nowait amanda /usr/libexec/amindexd amindexd
amidxtape stream tcp nowait amanda /usr/libexec/amidxtaped amidxtaped
amandahosts (same result on both client and server):
ypcat passwd | grep amanda
amanda::87:87:amanda backup user:/var/spool/amanda:/bin/false
# cat /var/spool/amanda/.amandahosts
royal.inse.lucent.com amanda
The server is running amanda 2.4.4 on Gentoo Linux. The hardware is a Sun Ultra 2. The client is 
also running amanda 2.4.4 on Solaris 6 with the hardware being a Sun Ultra 2.

amcheck -c cc501 reports no problems.
Thanks for any hints as to my misconfiguration.


[Fwd: BNCHMARK DLT1 tape Problem]

2004-05-17 Thread nejat onay erkose

--- Begin Message ---
Hello
  I have a problem with BNCHMARK DLT1 tape . May machine doesnt seem to 
see the tape properly.

The below message is given in the booting time :
"scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
 Vendor: BNCHMARK  Model: DLT1  Rev: 5032
st: Version 20030406, bufsize 32768, max init. bufs 4, s/g segs "
This as well...
"SCSI subsystem driver Revision: 1.00
st: Version 20030406, bufsize 32768, max init. bufs 4, s/g segs 16
Attached scsi tape st0 at scsi0, channel 0, id 5, lun 0
st0: Block limits 2 - 16777214 bytes.
scsi : 0 hosts left."
and when I  " mt -f dew/st0 rewind "
the response is  "dew/st0: No such file or directory"
I would be glad if someone has an idea about this since so far i couldnt 
find any good clue on the internet to solve the problem.
Thank you...


--- End Message ---


RE: Solaris 2.8 Bianry?

2004-05-17 Thread BAUMLER Julie L


> -Original Message-
> From: Paul Bijnens [mailto:[EMAIL PROTECTED] 
> Sent: Monday, May 10, 2004 7:26 AM
> To: stan
> Cc: amanda users list
> Subject: Re: Solaris 2.8 Bianry?
> 
> 
> stan wrote:
> 
> > We just had a vendr upgrade several systems, and now I hve 
> Saprc boxes with
> > Solaris 2.8 on them. A quick check of the SunFreeware site 
> doesn't seem to
> > show an Amanda package for these machines.
> 
> Packages from Solaris 2.6 run without problem on Solaris 7,8,9.
> (But I noticed the amanda version on sunfreeware is quiet old,
> 2.4.1p1.  The current version is 2.4.4p2; a lot of nice features have
> been added since...)

I've committed to providing a community provided version of a Solaris
amanda package with sunfreeware.  I currently have 2.4.4p1 packages
(client/server and client only).  I'm close to ready to roll a 2.4.4p2
package, but we keep making so many changes in our local configs that I
can't test them anyway.  My package start and finish scripts (the same
for both versions) also need more testing before they can be released.
If a few people would like the 2.4.4p1 version(s) in the meantime and
are willing to let me know whether the pre- and post-install scripts
work acceptably on their systems, I would greatly appreciate it and it
would help me in getting them ready for release to Sunfreeware as well.
Just send me an email with the version you would like.  (Currently, I
only have packages compiled on Solaris 8, I plan to do native Solaris 9
and possibly 7 for Sunfreeware once I have acceptable pre- and
post-install scripts.)

Julie

Julie L Baumler, CISSP
Sr Systems Administrator
Multnomah County IT
503-988-3749 x26909


Re: Connection refused

2004-05-17 Thread Tony van der Hoff
Frank Smith <[EMAIL PROTECTED]> wrote in message
<[EMAIL PROTECTED]>

> --On Tuesday, May 11, 2004 17:22:28 +0100 Tony van der Hoff
<[EMAIL PROTECTED]> wrote:
> 
> > Hi,
> > 
> > I have successfully installed and configured Amanda, and amcheck runs
> > successfully, as does amdump.
> > 
> > However, amrecover (running as root) fails, with the message "cannot
> > connect to tony-lx.magpieway.net: connection refused"
> > 
> > .amandahosts contains tony-lx.magpieway.net, which is the localhost, as
> > well as the tape server, which user amanda can happily access to do the
> > backups.
> > 
> > Evidently this is a permissions problem with root, but can anyone point
> > me in the right direction to fix it? Runnig Mandrake 9.1.
> 
> Do you have amindexd and amidxtaped configured in (x)inetd on the tape
> server? They aren't needed for backups, but are for restores.
>'connection refused' usually indicates a service isn't running, or
> possibly firewall problems, .amandahosts problems generally give you an
> 'access as foo not allowed..' message.
> 

Thanks, Frank, for the suggestion. I didn't have them configured, so I have
done so. Have you any reference to these services in the documentation? I
have assumed they are datagram services.

Unfortunately, it has not had the desired effect :-(

Cheers,

-- 
Tony van der Hoff   | mailto:[EMAIL PROTECTED]
Buckinghamshire England


Re: Tape shouldn't be active anymore, but is.

2004-05-17 Thread Alexander Jolk
Hans van Zijst wrote:
> 
> I don't seem to understand how to tell Amanda when to overwrite tapes. What
> I try to do is make regular backups from monday till thursday (I make a
> full dump every friday) and recycle those tapes after 2 weeks. So, I use 4
> tapes every week and one cycle takes 2 weeks, which means I use 8 tapes per
> cycle. I configured 2 spare tapes just in case. This is the relevant part
> in my amanda.conf:
> 
> dumpcycle   2 weeks
> runspercycle8 days
> tapecycle   10 tapes
> 
> But if I feed Amanda the first tape again, after two weeks, it complains
> that it cannot overwrite an active tape. What do I do wrong?

I think (without actually verifying things) that a tape is considered
active as long as at least  tapes haven't been used.  Which
means that you cannot give the first tape to amanda again before the
last two, even if two weeks have gone by.  Just put in a tapecycle of 8,
and she'll be fine; you can still use those two surplus tapes whenever
you feel like it, amanda will gladly accept them any time.

Alex

-- 
Alexander Jolk / BUF Compagnie
tel +33-1 42 68 18 28 /  fax +33-1 42 68 18 29


Re: BNCHMARK DLT1 tape Problem

2004-05-17 Thread Alexander Jolk
nejat onay erkose wrote:
> and when I  " mt -f dew/st0 rewind "
> the response is  "dew/st0: No such file or directory"

If that was copy/paste, that is your problem.

mt -f /dev/nst0 rewind

is the command to try.  (You seem to be on Linux, couldn't hurt to
specify when/if you send your next message to the list.)

Alex

-- 
Alexander Jolk / BUF Compagnie
tel +33-1 42 68 18 28 /  fax +33-1 42 68 18 29


Tape shouldn't be active anymore, but is.

2004-05-17 Thread Hans van Zijst
I don't seem to understand how to tell Amanda when to overwrite tapes. What 
I try to do is make regular backups from monday till thursday (I make a 
full dump every friday) and recycle those tapes after 2 weeks. So, I use 4 
tapes every week and one cycle takes 2 weeks, which means I use 8 tapes per 
cycle. I configured 2 spare tapes just in case. This is the relevant part 
in my amanda.conf:

dumpcycle   2 weeks
runspercycle8 days
tapecycle   10 tapes

But if I feed Amanda the first tape again, after two weeks, it complains 
that it cannot overwrite an active tape. What do I do wrong?

Hans


__

 This message has been checked for all known viruses
__
 De informatie verzonden met dit e-mailbericht is
 uitsluitend bestemd voor de geadresseerde.
 Openbaarmaking, vermenigvuldiging, verspreiding en/of
 verstrekking van deze informatie aan derden is 
 niet toegestaan. Wij aanvaarden geen aansprakelijkheid
 voor de juiste en volledige overbrenging van de inhoud
 van een verzonden e-mail bericht, noch voor tijdige
 ontvangst ervan.
__

  HTTP://WWW.Syncera.NL
__


Re: BNCHMARK DLT1 tape Problem

2004-05-17 Thread Martin Hepworth
that will be
mt -f /dev/st0 rewind...
note the leading / and v not w in the path name...
--
Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300
nejat onay erkose wrote:
Hello
  I have a problem with BNCHMARK DLT1 tape . May machine doesnt seem to 
see the tape properly.

The below message is given in the booting time :
"scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
 Vendor: BNCHMARK  Model: DLT1  Rev: 5032
st: Version 20030406, bufsize 32768, max init. bufs 4, s/g segs "
This as well...
"SCSI subsystem driver Revision: 1.00
st: Version 20030406, bufsize 32768, max init. bufs 4, s/g segs 16
Attached scsi tape st0 at scsi0, channel 0, id 5, lun 0
st0: Block limits 2 - 16777214 bytes.
scsi : 0 hosts left."
and when I  " mt -f dew/st0 rewind "
the response is  "dew/st0: No such file or directory"
I would be glad if someone has an idea about this since so far i couldnt 
find any good clue on the internet to solve the problem.
Thank you...

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.
**


BNCHMARK DLT1 tape Problem

2004-05-17 Thread nejat onay erkose
Hello
  I have a problem with BNCHMARK DLT1 tape . May machine doesnt seem to 
see the tape properly.

The below message is given in the booting time :
"scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
 Vendor: BNCHMARK  Model: DLT1  Rev: 5032
st: Version 20030406, bufsize 32768, max init. bufs 4, s/g segs "
This as well...
"SCSI subsystem driver Revision: 1.00
st: Version 20030406, bufsize 32768, max init. bufs 4, s/g segs 16
Attached scsi tape st0 at scsi0, channel 0, id 5, lun 0
st0: Block limits 2 - 16777214 bytes.
scsi : 0 hosts left."
and when I  " mt -f dew/st0 rewind "
the response is  "dew/st0: No such file or directory"
I would be glad if someone has an idea about this since so far i couldnt 
find any good clue on the internet to solve the problem.
Thank you...



Re: Tape error - how 'bad' is this?

2004-05-17 Thread Dave Ewart
On Tuesday, 11.05.2004 at 13:24 -0400, Gene Heskett wrote:

> Dave, when was the last time a cleaning tape was cycled thru that
> drive?

Happens pretty regularly ... and the drive is being prepared for a
warranty repair.

Now have a replacement drive in use.

Thanks everyone for comments/suggstions,

Dave.
-- 
Dave Ewart
[EMAIL PROTECTED]
Computing Manager, Epidemiology Unit, Oxford
Cancer Research UK
PGP: CC70 1883 BD92 E665 B840 118B 6E94 2CFD 694D E370



Re: snapshots newer than 20040423 fubar here

2004-05-17 Thread Alexander Jolk
Gene Heskett wrote:
> [EMAIL PROTECTED] amanda-2.4.5b1-20040510]$ amcheck DailySet1
> amcheck: error while loading shared libraries:
> libamserver-2.4.5b1-20040510.so: cannot open shared object file: No
> such file or directory
> 
> Unforch, ls -l sees the library just fine:[EMAIL PROTECTED]
> amanda-2.4.5b1-20040510]$ ls
> -l /usr/local/lib/libamserver-2.4.5b1-20040510.so
> -rwxr-xr-x  1 root root 392999 May 11
> 22:17 /usr/local/lib/libamserver-2.4.5b1-20040510.so

Just in case, have you run `ldconfig' as root after the installation? 
(Assuming that you are on Linux which I seem to recall you were, and
furthermore assuming that this isn't done automatically during install,
which I don't know.)

Alex

-- 
Alexander Jolk / BUF Compagnie
tel +33-1 42 68 18 28 /  fax +33-1 42 68 18 29


Re: Cant estimate and other planner problems

2004-05-17 Thread Pablo Quinta Vidal
Hi again.
More than likely. You should be using amcheck to debug, not amdump.
amcheck would catch this. What user and group did you compile amanda with
on the client, and what does 'ls -l /dev/hda2' say?
I get no errors with amcheck. The client responds correctly.
I compile with user= amanda with group=backup
ls -l /dev/hda2:
brw-rw1 root disk   3,   2 Nov 30  2000 /dev/hda2
Pablo
_
Apúntate al fenómeno de MSN Messenger. Obtén gratis la última versión aquí. 
http://www.msn.es/msnmessenger/



Re: shell issue?

2004-05-17 Thread Tom Brown
> Amanda compiles in the location of the tar that it finds first at
> configure time, so it must be finding that one.  You can override that
> with a command line option (to configure, I mean).

ah OK - In that case then i will recompile amanda

thanks




Re: shell issue?

2004-05-17 Thread Joshua Baker-LePain
On Mon, 17 May 2004 at 3:00pm, Tom Brown wrote


> 
> ERROR: xx: [can not execute /opt/CPshrd-R55/util/gtar: Permission
> denied]
> ERROR: xx: [can not execute /opt/CPshrd-R55/util/gzip: Permission
> denied]
> Client check: 21 hosts checked in 0.699 seconds, 2 problems found
> 
> Now the odd thing is that in my setups amanda runs as the operator user and
> on the xx client if i su - to the operator user and then see what gtar
> and gzip they use i get

Amanda compiles in the location of the tar that it finds first at 
configure time, so it must be finding that one.  You can override that 
with a command line option (to configure, I mean).

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University


Tape shouldn't be active anymore, but is.

2004-05-17 Thread Hans van Zijst
I don't seem to understand how to tell Amanda when to overwrite tapes. What 
I try to do is make regular backups from monday till thursday (I make a 
full dump every friday) and recycle those tapes after 2 weeks. So, I use 4 
tapes every week and one cycle takes 2 weeks, which means I use 8 tapes per 
cycle. I configured 2 spare tapes just in case. This is the relevant part 
in my amanda.conf:

dumpcycle   2 weeks
runspercycle8 days
tapecycle   10 tapes

But if I feed Amanda the first tape again, after two weeks, it complains 
that it cannot overwrite an active tape. What do I do wrong?

Hans


__

 This message has been checked for all known viruses
__
 De informatie verzonden met dit e-mailbericht is
 uitsluitend bestemd voor de geadresseerde.
 Openbaarmaking, vermenigvuldiging, verspreiding en/of
 verstrekking van deze informatie aan derden is 
 niet toegestaan. Wij aanvaarden geen aansprakelijkheid
 voor de juiste en volledige overbrenging van de inhoud
 van een verzonden e-mail bericht, noch voor tijdige
 ontvangst ervan.
__

  HTTP://WWW.Syncera.NL
__


shell issue?

2004-05-17 Thread Tom Brown
Hi,

2.4.4 server
2.4.4p2 client
Both on RedHat 7.3

I'm trying to get a new checkpoint firewall of mine backed up in the manner
i have many times before. I have installed Amanda server and client at least
50 times now with minimal fuss.
However i'm getting the following error and am wondering if anyone has seen
it before.

I'm usung tar to backup just a single directory

disklist on the server for this host looks like

# Firewall rulesset and onfiguration
xx   /opt/CPbackupscomp-ora-tar

and running an amcheck gives me

Amanda Backup Client Hosts Check

ERROR: xx: [can not execute /opt/CPshrd-R55/util/gtar: Permission
denied]
ERROR: xx: [can not execute /opt/CPshrd-R55/util/gzip: Permission
denied]
Client check: 21 hosts checked in 0.699 seconds, 2 problems found

Now the odd thing is that in my setups amanda runs as the operator user and
on the xx client if i su - to the operator user and then see what gtar
and gzip they use i get

$ which gtar
/bin/gtar

which is what i expect - so why am i getting the amanda client trying to use
the tar version that is installed when checkpoint gets installed?

the corresponding line in /etc/passwd has /bin/bash as their default shell

thanks

Tom




Re: snapshots newer than 20040423 fubar here

2004-05-17 Thread Gene Heskett
On Monday 17 May 2004 08:35, Alexander Jolk wrote:
>Gene Heskett wrote:
>> [EMAIL PROTECTED] amanda-2.4.5b1-20040510]$ amcheck DailySet1
>> amcheck: error while loading shared libraries:
>> libamserver-2.4.5b1-20040510.so: cannot open shared object file:
>> No such file or directory
>>
>> Unforch, ls -l sees the library just fine:[EMAIL PROTECTED]
>> amanda-2.4.5b1-20040510]$ ls
>> -l /usr/local/lib/libamserver-2.4.5b1-20040510.so
>> -rwxr-xr-x  1 root root 392999 May 11
>> 22:17 /usr/local/lib/libamserver-2.4.5b1-20040510.so
>
>Just in case, have you run `ldconfig' as root after the
> installation? (Assuming that you are on Linux which I seem to
> recall you were, and furthermore assuming that this isn't done
> automatically during install, which I don't know.)
>
>Alex

Thats a good thought Alex, and something I might try.  Bear in mind 
its also something I've not had to do prior to this. BRB.

Humm, that seems to have been the magic twanger 2.4.5b1-20040510's 
version of amcheck appears to be working.  Unforch, I didn't rewind 
the tape thats loaded prior to the launch, so I'll have to run it 
twice to restore the correct tape for the next run.

Does anyone know the diff between 2.4.5b1-20040510 and 
2.4.4p2-20040510?  I have the latter, but haven't unpacked it.

In the back of my mind, I'm wondering if that might fix my no rewind 
problem as it did work successfully for several years.  I *think* but 
cannot confirm, that the rewind problem started with my use of 2.6 
kernels starting last fall.  I suppose its worth a try since the 
build and install is so simple with my script.  Back in <5 minutes...

Sigh, didn't fix it.  2.4.4p2-20040510's amcheck also failed to read 
the first tape label, the one already in the drive and sitting at 
block 1 because the label has already been read once.  But at least 
that test run will restore the right tape in the drive :-)

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.22% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.


Re: Connection refused

2004-05-17 Thread Tony van der Hoff
"Rodrigo Pipoli" <[EMAIL PROTECTED]> wrote in message
<[EMAIL PROTECTED]>

> Hello,
> 
> Specify the user that will be requesting a recover in your .amandahosts
> file. In your example:
> 
>  tony-lx.magpieway.net root
> 
> Separate the host and the user with a blank space. It works for me. :)
> 
> Regards,
> Pipoli
> 
[snip]

Thanks, Pipoli, for the suggestion. I've done that, but it doesn't fix the
problem.

Cheers,
-- 
Tony van der Hoff   | mailto:[EMAIL PROTECTED]
Buckinghamshire England


snapshots newer than 20040423 fubar here

2004-05-17 Thread Gene Heskett
Greetings,
 
I saw that a new snapshot was available tonight, so I built it and 
installed it, but I'm getting the same error I've gotten from any 
snapshot newer than the 2.4.5b1-20040423, which I'll revert to a few 
seconds.

In one try at running 'amcheck DailySet1' this is returned instantly:

[EMAIL PROTECTED] amanda-2.4.5b1-20040510]$ amcheck DailySet1
amcheck: error while loading shared libraries: 
libamserver-2.4.5b1-20040510.so: cannot open shared object file: No 
such file or directory

Unforch, ls -l sees the library just fine:[EMAIL PROTECTED] 
amanda-2.4.5b1-20040510]$ ls 
-l /usr/local/lib/libamserver-2.4.5b1-20040510.so
-rwxr-xr-x  1 root root 392999 May 11 
22:17 /usr/local/lib/libamserver-2.4.5b1-20040510.so


Now I'll reinstall the 0423 snapshot and rerun 'amcheck DailySet1'
Bah, I forgot to use mt to rewind the tape loaded, so I'll have to run 
it twice to restore the right tape for tonights run.  Anyway:

Darn I can't get dd to quit, unkillable.  Seems like a poor excuse to 
reboot, but...
Suffice to say, tape 25 decided to become unreadable, so I replaced it 
and re-wrote the label with dd after editing the tape number.  But I 
issued another dd to confirm the label and its that process that 
locked itself up, holding a lock on /dev/st0.  That won't do at 
all...


-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.22% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.