Re: How can I specify the correct tape device to amrecover for vtpaes?

2006-05-01 Thread Stefan G. Weichinger
stan schrieb:

 But when I run amecover disk_only, it defaults to the compiled in 
 /dev/nst0
 
 Make sense?

Use the option -d of amrecover.

Stefan





Re: How can I specify the correct tape device to amrecover for vtpaes?

2006-05-01 Thread stan
On Mon, May 01, 2006 at 11:36:58AM +0200, Stefan G. Weichinger wrote:
 stan schrieb:
 
  But when I run amecover disk_only, it defaults to the compiled in 
  /dev/nst0
  
  Make sense?
 
 Use the option -d of amrecover.

Right, but what tape device should I specify?

-- 
U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong 
Terror 
- New York Times 9/3/1967


More problems with 2.5.0p1

2006-05-01 Thread McGraw, Robert P.
I am running Amanda 2.5.0p1 on a Solaris 10 sparc.


QUESTION 1
These are errors from the email report. What do they mean. 

FAILURE AND STRANGE DUMP SUMMARY:
  zorn  /export/users:wilkerlev 0  FAILED [missing result for
/export/users:wilker in zorn response]
  zorn  /export/users:santoslev 0  FAILED [missing result for
/export/users:santos in zorn response]
  zorn  /export/users:phillips  lev 0  FAILED [missing result for 

  zorn  /export/users:pkeskar   lev 0  FAILED [cannot read header: got 0
instead of 32768]
  zorn  /export/users:pkeskar   lev 0  FAILED [data timeout]
  zorn  /export/users:bfrigyik  lev 0  FAILED [cannot read header: got 0
instead of 32768]
  zorn  /export/users:bfrigyik  lev 0  FAILED [data timeout]
  zorn  /export/users:aedquist  lev 0  FAILED [cannot read header: got 0
instead of 32768]


FAILED AND STRANGE DUMP DETAILS:

/--  zorn /export/users:pkeskar lev 0 FAILED [data timeout]
? dumper: strange [missing size line from sendbackup]
\

/--  zorn /export/users:bfrigyik lev 0 FAILED [data timeout]
? dumper: strange [missing size line from sendbackup]
\

/--  zorn /export/users:aedquist lev 0 FAILED [data timeout]
? dumper: strange [missing size line from sendbackup]
\

QUESTION 2

The following is a ps  of running amanda jobs. 

1) I see a gzip --best entry. I have compress none. Why would this be
running?

2) I get a lot of the defunct processes. What causes this?

amanda 21622 19420   0 12:53:22 pts/5   0:00 chunker0 daily
  amanda 19431 19420   0 12:43:57 pts/5   0:00 dumper5 daily
  amanda   717   703   0 16:08:16 pts/1   0:02 tcsh
  amanda 19479   621   0 12:43:57 ?   0:01
/local/Amanda/amanda/libexec/amandad
  amanda 19426 19420  11 12:43:57 pts/5   0:14 dumper1 daily
  amanda 21472 19428   0 12:52:38 pts/5   0:00 /bin/gzip --best
  amanda 19801 19479   0- ?   0:00 defunct
  amanda 21684 19479   3 12:53:51 ?   0:01
/local/Amanda/amanda-2.5.0p1/libexec/sendbackup
  amanda   703 5   0 16:08:15 pts/1   0:00 -sh



Thanks

Robert


_
Robert P. McGraw, Jr.
Manager, Computer System EMAIL: [EMAIL PROTECTED]
Purdue University ROOM: MATH-807
Department of MathematicsPHONE: (765) 494-6055
150 N. University Street   FAX: (419) 821-0540
West Lafayette, IN 47907-2067




smime.p7s
Description: S/MIME cryptographic signature


Re: More problems with 2.5.0p1

2006-05-01 Thread Paul Bijnens

McGraw, Robert P. schreef:

I am running Amanda 2.5.0p1 on a Solaris 10 sparc.


QUESTION 1
These are errors from the email report. What do they mean. 


FAILURE AND STRANGE DUMP SUMMARY:
  zorn  /export/users:wilkerlev 0  FAILED [missing result for
/export/users:wilker in zorn response]


Different causes.  Did you go throught the list here:

http://wiki.zmanda.com/index.php/Amdump:_results_missing



1) I see a gzip --best entry. I have compress none. Why would this be
running?


The index-files are compressed with this command.




2) I get a lot of the defunct processes. What causes this?

amanda 21622 19420   0 12:53:22 pts/5   0:00 chunker0 daily
  amanda 19431 19420   0 12:43:57 pts/5   0:00 dumper5 daily
  amanda   717   703   0 16:08:16 pts/1   0:02 tcsh
  amanda 19479   621   0 12:43:57 ?   0:01
/local/Amanda/amanda/libexec/amandad
  amanda 19426 19420  11 12:43:57 pts/5   0:14 dumper1 daily
  amanda 21472 19428   0 12:52:38 pts/5   0:00 /bin/gzip --best
  amanda 19801 19479   0- ?   0:00 defunct
  amanda 21684 19479   3 12:53:51 ?   0:01
/local/Amanda/amanda-2.5.0p1/libexec/sendbackup
  amanda   703 5   0 16:08:15 pts/1   0:00 -sh


defunct means that the parent process did not yet collect
the exit status of this child process.


--
Paul Bijnens, XplanationTel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +32 16 397.512
http://www.xplanation.com/  email:  [EMAIL PROTECTED]
***
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...*
* ...  Are you sure?  ...   YES   ...   Phew ...   I'm out  *
***


Re: C2 Jukebox with LTO3 drive

2006-05-01 Thread Brian Cuttler

Jon,

I want to thank you for your reply. The information is correct, and
I'm not at all suprised that the Amanda list and contributers have
extensive knowledge of specific operating systems. Unfortunately I
didn't see the message until this morning (it arrived saturday), I
had already sent a follow-up myself, I hope it arrived at the list
as I don't recall seeing my own posting.

I have access to the C2 robot now, the tape drive is available but
I haven't yet been able to perform any real testing. I am waiting for
v31 of the firmware as v30 has known issues (it arrived with v12) and
I have some ongoing issues with the loading and movement of the tapes.

thank you,

Brian

On Sat, Apr 29, 2006 at 10:56:18AM -0400, Jon LaBadie wrote:
 On Wed, Apr 26, 2006 at 03:22:04PM -0400, Brian Cuttler wrote:
  
  Hi y'all,
  
  I'm running Solaris 9 with Amanda 2.4.4 (hoping to find the time
  to upgrade soon, but its working great), MTX is v 1.2.17rel
  
  We have been running the data to a StorEdge L9 jukebox with LTO tapes.
  
  We are in process of installing a StorEdge C2 jukebox with an LTO3 tape.
  
  We see the new tape drive at /dev/rmt/2, but do not have a device
  file for the jukebox. Quantum says that its just offset by the LUN
  number, SUN says to install Legato or Netbackup or something so I
  have a passthrough driver.
  
  Have any of you installed this jukebox ? Do I need the additional
  software in order to create a proper device file for the jukebox ?
  
  The StorEdge L9 jukebox has a sepate scsi id from its tape drive
  and I'm able to see a device in directory /dev/scsi/changer/ but
  this is not the case with the C2. I'm uncertain how the L9 changer
  device was created.
 
 
 Check out two files in /kernel/drv, st.conf and sgen.conf.
 The st.conf file as supplied does not look at lun's  0.
 I think the end of the st.conf file looks like this as supplied.
 
 #---
 
 name=st class=scsi target=0 lun=0;
 name=st class=scsi target=1 lun=0;
 name=st class=scsi target=2 lun=0;
 name=st class=scsi target=3 lun=0;
 name=st class=scsi target=4 lun=0;
 name=st class=scsi target=5 lun=0;
 name=st class=scsi target=6 lun=0;
 
 #
 #   In case there are wide tape drives, one can use these targets
 #
 #name=st class=scsi target=8 lun=0;
 #name=st class=scsi target=9 lun=0;
 #name=st class=scsi target=10 lun=0;
 #name=st class=scsi target=11 lun=0;
 #name=st class=scsi target=12 lun=0;
 #name=st class=scsi target=13 lun=0;
 #name=st class=scsi target=14 lun=0;
 #name=st class=scsi target=15 lun=0;
 
 
 Note, even the higher numbered scsi targets are not looked at.
 If you know your scsi target, say 5 like mine, add a line like:
 
 name=st class=scsi target=5 lun=1;
 
 I think the only problem with adding more lines or uncommenting
 existing lines is slightly slower boot times.
 
 The sgen.conf file has similar lines that may need
 uncommenting or editing.  And you may need to add
 something like this from my edited sgen.conf:
 
 #
 # Added by jhl
 #
 
 device-type-config-list=changer;
 inquiry-config-list=HP,   HP DDS-3 4mm DAT loader,
 HP,   C1557A;
 
 The strings are what is identified during boot and
 can be seen with a prtconf -??? sorry, forget the
 options.
 
 This would give you devices under /dev/scsi/???,
 where ??? might be changer or sequential.
 
 After the changes, you will need to do a reconfigure
 reboot.  Or, devfsadm might work without the reboot.
 
 HTH
 jon
 -- 
 Jon H. LaBadie  [EMAIL PROTECTED]
  JG Computing
  4455 Province Line Road(609) 252-0159
  Princeton, NJ  08540-4322  (609) 683-7220 (fax)
---
   Brian R Cuttler [EMAIL PROTECTED]
   Computer Systems Support(v) 518 486-1697
   Wadsworth Center(f) 518 473-6384
   NYS Department of HealthHelp Desk 518 473-0773



Re: How can I specify the correct tape device to amrecover for vtpaes?

2006-05-01 Thread Paul Bijnens

On 2006-05-01 14:12, stan wrote:

On Mon, May 01, 2006 at 11:36:58AM +0200, Stefan G. Weichinger wrote:

stan schrieb:

But when I run amecover disk_only, it defaults to the compiled in 
/dev/nst0


Make sense?


It has always been like that.  Yes, I would like too less compiled
in defaults.  Patches welcome :-)



Use the option -d of amrecover.


Right, but what tape device should I specify?



In pre 2.5.0 you can use the changer if you specify a config
option amrecover_changer and use that string there.

Since 2.5.0 you may use the changer specified in tpchanger as
argument to the -d or the settape command too.


--
Paul Bijnens, xplanation Technology ServicesTel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +32 16 397.512
http://www.xplanation.com/  email:  [EMAIL PROTECTED]
***
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ...  Are you sure?  ...   YES   ...   Phew ...   I'm out  *
***



Delaying tape flushing ?

2006-05-01 Thread Guy Dallaire
Is there a way to tell amanda to wait until x% of the backups have been dumped on the holding disk before it starts to put the files to tape ?Right now, my tape drive seems to start/stop often and I don't think it's good for the tapes/the motors/the performance.



Re: Delaying tape flushing ?

2006-05-01 Thread Paul Bijnens

On 2006-05-01 16:20, Guy Dallaire wrote:
Is there a way to tell amanda to wait until x% of the backups have been 
dumped on the holding disk before it starts to put the files to tape ?


Not implemented (yet?).




Right now, my tape drive seems to start/stop often and I don't think 
it's good for the tapes/the motors/the performance.



You can work around it a little bit by changing the dumporder to:

dumperorder   # as many as inparallel parameter



--
Paul Bijnens, xplanation Technology ServicesTel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +32 16 397.512
http://www.xplanation.com/  email:  [EMAIL PROTECTED]
***
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ...  Are you sure?  ...   YES   ...   Phew ...   I'm out  *
***



Re: Delaying tape flushing ?

2006-05-01 Thread Guy Dallaire
2006/5/1, Paul Bijnens [EMAIL PROTECTED]:
On 2006-05-01 16:20, Guy Dallaire wrote: Is there a way to tell amanda to wait until x% of the backups have been dumped on the holding disk before it starts to put the files to tape ?Not implemented (yet?).
 Right now, my tape drive seems to start/stop often and I don't think it's good for the tapes/the motors/the performance.You can work around it a little bit by changing the dumporder to:
dumperorder # as many as inparallel parameterOK thanks


Re: Delaying tape flushing ?

2006-05-01 Thread Jon LaBadie
On Mon, May 01, 2006 at 10:20:13AM -0400, Guy Dallaire wrote:
 Is there a way to tell amanda to wait until x% of the backups have been
 dumped on the holding disk before it starts to put the files to tape ?
 
 Right now, my tape drive seems to start/stop often and I don't think it's
 good for the tapes/the motors/the performance.

I can think of three scenarios for causing this:
 a) one or more DLE's bypassing the holding disk and the combination
of dumping, network, and feeding the drive is too slow
 b) your tape is really high speed relative to your computer and
interface (I just had this with an lto drive and old scsi card)
 c) you have a lot of small DLE's

For c, I don't think waiting for X% to complete would help.  Amanda doesn't
tape from holding disk until a DLE is complete and I think there would
always be a pause between DLEs.

For b it is a hardware issue and for a, unless compounded by b, you have
to get the DLEs to the holding disk rather than direct.


As to a direct answer to your question, there was a taperwait patch
posted to the hackers list.  You could find that and see if it fits
your needs.  The patch was not incorporated as further discussion on
the list suggested an alternative design which is awaiting development.

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)


Re: Delaying tape flushing ?

2006-05-01 Thread Brian Cuttler

Guy,

I'm not sure I caught the start of this thread... but I can add
that I've found amplot very valuable for helping me understand
what is occuring, bottle necks, scheduling and such.

Brian

On Mon, May 01, 2006 at 11:08:57AM -0400, Jon LaBadie wrote:
 On Mon, May 01, 2006 at 10:20:13AM -0400, Guy Dallaire wrote:
  Is there a way to tell amanda to wait until x% of the backups have been
  dumped on the holding disk before it starts to put the files to tape ?
  
  Right now, my tape drive seems to start/stop often and I don't think it's
  good for the tapes/the motors/the performance.
 
 I can think of three scenarios for causing this:
  a) one or more DLE's bypassing the holding disk and the combination
 of dumping, network, and feeding the drive is too slow
  b) your tape is really high speed relative to your computer and
 interface (I just had this with an lto drive and old scsi card)
  c) you have a lot of small DLE's
 
 For c, I don't think waiting for X% to complete would help.  Amanda doesn't
 tape from holding disk until a DLE is complete and I think there would
 always be a pause between DLEs.
 
 For b it is a hardware issue and for a, unless compounded by b, you have
 to get the DLEs to the holding disk rather than direct.
 
 
 As to a direct answer to your question, there was a taperwait patch
 posted to the hackers list.  You could find that and see if it fits
 your needs.  The patch was not incorporated as further discussion on
 the list suggested an alternative design which is awaiting development.
 
 -- 
 Jon H. LaBadie  [EMAIL PROTECTED]
  JG Computing
  4455 Province Line Road(609) 252-0159
  Princeton, NJ  08540-4322  (609) 683-7220 (fax)
---
   Brian R Cuttler [EMAIL PROTECTED]
   Computer Systems Support(v) 518 486-1697
   Wadsworth Center(f) 518 473-6384
   NYS Department of HealthHelp Desk 518 473-0773



Errors Restoring From tars

2006-05-01 Thread Steven Backus
  I am having problems restoring using 2.5 and now 2.5p1, amrecover
says:

Restoring files into directory /tmp
Continue [?/Y/n]? 

Extracting from file  
/home1/dumps/amanda/20060429150001/ambiance.med.utah.edu._.0
./root/.amandahosts
tar: Read 1088 bytes from -
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
amrecover: Extractor child exited with status 2

extract_list - child returned non-zero status: 1
Continue [?/Y/n/r]? n

amindexd debug says:

amindexd: time 10.041:  200  Opaque list of /tmp
amindexd: time 35.786: ? unexpected EOF

I've had to drop back to 2.4.5p1 and everything is ok there but
would like to stay current.  Any suggestions?

Steve
-- 
Steven J. BackusComputer Specialist
University of Utah  E-Mail:  [EMAIL PROTECTED]
Biomedical Informatics  Alternate:  [EMAIL PROTECTED]
391 Chipeta Way -- Suite D150   Office:  801.587.9308
Salt Lake City, UT 84108-1266   http://www.math.utah.edu/~backus


Re: amstatus problem

2006-05-01 Thread Jean-Francois Malouin
* Jean-Louis Martineau [EMAIL PROTECTED] [20060501 13:34]:
 amstatus doesn't like ':' in diskname because we use at as separator 
 between the hostname and diskname.
 
 Anyone know if ':' is a valid character in a hostname?
 What are the valid characters of a hostname?

RFC 952 says:

   1. A name (Net, Host, Gateway, or Domain name) is a text string up
   to 24 characters drawn from the alphabet (A-Z), digits (0-9), minus
   sign (-), and period (.).  Note that periods are only allowed when
   they serve to delimit components of domain style names. (See
   RFC-921, Domain Name System Implementation Schedule, for
   background).

jf

 
 Jean-Louis
 
 McGraw, Robert P. wrote:
 I am running build: VERSION=Amanda-2.5.1b1-20060424 on a Solaris 10
 hosts compile on a Solaris 9 host.
 
 
 When I run amstatus I get the following messages. I get many of these
 messages. 
 
  
 zorn-[246]  ./sbin/amstatus --config daily --date
 
 Using /var/amanda/daily/amdump from Fri Apr 28 16:36:07 EDT 2006
 Use of uninitialized value in substitution (s///) at ./sbin/amstatus
 line 250, AMDUMP line 1613.
 Use of uninitialized value in string eq at ./sbin/amstatus line 254,
 AMDUMP line 1613.
 Use of uninitialized value in substitution (s///) at ./sbin/amstatus
 line 250, AMDUMP line 1901.
 Use of uninitialized value in string eq at ./sbin/amstatus line 254,
 AMDUMP line 1901.
 Use of uninitialized value in substitution (s///) at ./sbin/amstatus
 line 250, AMDUMP line 1902.
 Use of uninitialized value in string eq at ./sbin/amstatus line 254,
 AMDUMP line 1902.
 Use of uninitialized value in substitution (s///) at ./sbin/amstatus
 line 250, AMDUMP line 2333.
 
 
 From the amdump file the
 
 1611 planner: time 14.327: got partial result for host zorn disk
 /export/users:sega: 0 - -2K, -1 - -2K, -1 - -2K
 1612 planner: time 14.327: got partial result for host zorn disk
 /export/users:sdouthit: 0 - -2K, -1 - -2K, -1 - -2K
 1613 planner: time 14.327: got partial result for host zorn disk
 /export/users:sdong: 0 - 20K, -1 - -2K, -1 - -2K
 1614 planner: time 14.327: got partial result for host zorn disk
 /export/users:sdeleeuw: 0 - -2K, -1 - -2K, -1 - -2K
 1615 planner: time 14.327: got partial result for host zorn disk
 /export/users:scolbert: 0 - -2K, -1 - -2K, -1 - -2K
 
 1901 planner: time 14.573: got partial result for host zorn disk
 /export/users:sdong: 0 - 20K, -1 - -2K, -1 - -2K
 1902 planner: time 14.573: got partial result for host zorn disk
 /export/users:sdeleeuw: 0 - 20K, -1 - -2K, -1 - -2K
 1903planner: time 14.573: got partial result for host zorn disk
 /export/users:scolbert: 0 - -2K, -1 - -2K, -1 - -2K
 
 2332 planner: time 14.890: got partial result for host zorn disk
 /export/users:sfchang: 0 - -2K, -1 - -2K, -1 - -2K
 2333 planner: time 14.890: got partial result for host zorn disk
 /export/users:sega: 0 - 12460K, -1 - -2K, -1 - -2K
 2334 planner: time 14.890: got partial result for host zorn disk
 /export/users:sdouthit: 0 - -2K, -1 - -2K, -1 - -2K
 
 
 Any idea what is causing this? 
 _
 Robert P. McGraw, Jr.
 Manager, Computer System EMAIL: [EMAIL PROTECTED]
 Purdue University ROOM: MATH-807
 Department of MathematicsPHONE: (765) 494-6055
 150 N. University Street   FAX: (419) 821-0540
 West Lafayette, IN 47907-2067
 
 
 
   

-- 
° 


Re: amstatus problem

2006-05-01 Thread Jean-Louis Martineau

Jean-Francois,

Thanks for pointing me to the right RFC.

The attached should fix the problem.

Jean-Louis

Jean-Francois Malouin wrote:

* Jean-Louis Martineau [EMAIL PROTECTED] [20060501 13:34]:
  
amstatus doesn't like ':' in diskname because we use at as separator 
between the hostname and diskname.


Anyone know if ':' is a valid character in a hostname?
What are the valid characters of a hostname?



RFC 952 says:

   1. A name (Net, Host, Gateway, or Domain name) is a text string up
   to 24 characters drawn from the alphabet (A-Z), digits (0-9), minus
   sign (-), and period (.).  Note that periods are only allowed when
   they serve to delimit components of domain style names. (See
   RFC-921, Domain Name System Implementation Schedule, for
   background).

jf

  

Jean-Loui
Only in amanda-2.5.1b1.new: oldrecover-src
diff -u -r --show-c-function --exclude-from=amanda.diff amanda-2.5.1b1.orig/server-src/amstatus.pl.in amanda-2.5.1b1.new/server-src/amstatus.pl.in
--- amanda-2.5.1b1.orig/server-src/amstatus.pl.in	2006-04-05 09:05:36.0 -0400
+++ amanda-2.5.1b1.new/server-src/amstatus.pl.in	2006-05-01 13:36:46.0 -0400
@@ -186,7 +186,7 @@ while(AMDUMP) {
 			push @datestamp, $gdatestamp;
 		}
 	}
-	elsif(/setup_estimate: (\S+):(\S+): command .*, options: *(\S+) *last_level -?\d+ next_level0 -?\d+ level_days \d+ *getting estimates (-?\d) \(-2\) (-?\d) \(-2\) (-?\d) \(-2\)/) {
+	elsif(/setup_estimate: ([\-\d\.A-Za-z]*):(\S+): command .*, options: *(\S+) *last_level -?\d+ next_level0 -?\d+ level_days \d+ *getting estimates (-?\d) \(-2\) (-?\d) \(-2\) (-?\d) \(-2\)/) {
 		$host=$1;
 		$partition=$2;
 		$hostpart=make_hostpart($host,$partition,$gdatestamp);


Problem with chg-scsi

2006-05-01 Thread Carl Holzhauer



I seem to be 
having an awful time with configuring chg-scsi:

-bash-3.00$ 
amlabel dailyset dailyset0 slot 0changer: got exit: 2 str: error 
error could not read result from "/usr/local/libexec/chg-scsi" (got 
signal 11)amlabel: could not load slot "0": error could not read 
result from "/usr/local/libexec/chg-scsi" (got signal 11)amlabel: could not 
load slot "0": error could not read result from 
"/usr/local/libexec/chg-scsi" (got signal 11)amlabel: pid 731 finish time 
Mon May 1 13:47:55 2006-bash-3.00$ 
-bash-3.00$ chg-scsi -infoSegmentation Fault 
(core dumped)-bash-3.00$ 

-bash-3.00$ cat chg-scsi.conf

number_configs 
1eject 
1 # Tapedrives need an eject 
commandsleep15 # Seconds 
to wait until the tape gets 
readycleanmax 
10 # How many times could a cleaning tape get 
used#changerdev 
/dev/rmt/0cbn##config 
0drivenum 
0dev 
/dev/nrst36 # the device that is used for the tapedrive 
0startuse 
0 # The slots associated with the drive 
0enduse 
17 # 
statfile 
/usr/local/etc/amanda/tape5-slot # The file where the actual slot is 
storedcleancart 
18 # the slot where the cleaningcartridge for 
drive 0 is locatedcleanfile 
/usr/local/etc/amanda/tape0-clean # The file where the cleanings are 
recordedusagecount 
/usr/local/etc/amanda/backup/totaltime






Message transport securityby 
GatewayDefender2:49:37 PM ET - 5/1/2006



Re: Problem with chg-scsi

2006-05-01 Thread Ian Turner
Use chg-zd-mtx. Chg-scsi seems to work well on some systems, and crash and die 
horribly on others.

On Monday 01 May 2006 14:49, Carl Holzhauer wrote:
 I seem to be having an awful time with configuring chg-scsi:

 -bash-3.00$ amlabel dailyset dailyset0 slot 0
 changer: got exit: 2 str: error error could not read result from
 /usr/local/libexec/chg-scsi (got signal 11)
 amlabel: could not load slot 0: error could not read result from
 /usr/local/libexec/chg-scsi (got signal 11)
 amlabel: could not load slot 0: error could not read result from
 /usr/local/libexec/chg-scsi (got signal 11)
 amlabel: pid 731 finish time Mon May  1 13:47:55 2006
 -bash-3.00$

 -bash-3.00$ chg-scsi -info
 Segmentation Fault (core dumped)
 -bash-3.00$

 -bash-3.00$ cat chg-scsi.conf

 number_configs  1
 eject   1   # Tapedrives need an eject command
 sleep   15   # Seconds to wait until the tape gets ready
 cleanmax10  # How many times could a cleaning tape get used
 #changerdev /dev/rmt/0cbn
 #
 #
 config  0
 drivenum0
 dev /dev/nrst36 # the device that is used for the
 tapedrive 0
 startuse0   # The slots associated with the drive 0
 enduse  17  #
 statfile/usr/local/etc/amanda/tape5-slot  # The file where the
 actual slot is stored
 cleancart   18  # the slot where the cleaningcartridge for drive
 0 is located
 cleanfile   /usr/local/etc/amanda/tape0-clean # The file where the
 cleanings are recorded
 usagecount  /usr/local/etc/amanda/backup/totaltime




 __
 Message transport security by GatewayDefender.com
 2:49:37 PM ET - 5/1/2006

-- 
Zmanda: Open Source Data Protection and Archiving.
http://www.zmanda.com


Re: Problem with chg-scsi

2006-05-01 Thread Jon LaBadie
On Mon, May 01, 2006 at 02:49:35PM -0400, Carl Holzhauer wrote:
 I seem to be having an awful time with configuring chg-scsi:
  
 -bash-3.00$ amlabel dailyset dailyset0 slot 0
 changer: got exit: 2 str: error error could not read result from
 /usr/local/libexec/chg-scsi (got signal 11)
 amlabel: could not load slot 0: error could not read result from
 /usr/local/libexec/chg-scsi (got signal 11)
 amlabel: could not load slot 0: error could not read result from
 /usr/local/libexec/chg-scsi (got signal 11)
 amlabel: pid 731 finish time Mon May  1 13:47:55 2006
 -bash-3.00$ 

A segmentation violation doesn't seem to be a user configuration problem.
It may be a defect triggered by a configuration error,
but I suspect the error is probably in the C code.

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)


selfcheck problems with 2.5.0p1

2006-05-01 Thread Steven Sweet
I have just compiled amanda-2.5.0p1 on two systems.  When I run amcheck 
on the server system the server checks out fine, but I get this for the 
client check:


Amanda Backup Client Hosts Check

ERROR: SystemA.local:/ does not support DUMPER-API.
ERROR: SystemA.local: [BOGUS REQUEST PACKET]
Client check: 1 host checked in 0.014 seconds, 1 problem found

I can't find any reference to this problem except one indicating a 
mismatch between Amanda versions, which I know isn't the problem in this 
case.  Does anyone know where I should start looking?  Is this a 
configuration problem or a missing requirements problem?


I've used Amanda for quite a while, but its always been the rpm version.
The systems are both up-to-date Centos 4.3 systems.  I made sure there 
were no existing rpm installations of amanda and then downloaded the 
same tarball to both systems.  I extracted, configured, and ran make 
as an unprivileged user and then make install'd as root.  I used a 
pretty straightforward configuration

./configure --with-user=amanda --with-group=disk

Thanks for any ideas.


RE: amstatus problem

2006-05-01 Thread McGraw, Robert P.
Thanks to everyone who responded to my email.

As indicated it was the : in the disklist diskname that was the problem. 

It was causing major problems with my amdump which affected amstatus when it
ran.

I changed the names from /export/users:username to /export/users-username.
With this change the backup runs like it use to, the amstatus runs with out
the errors.

I went to from ^%#*^ to ah with one simple change. Thanks very much for
all your answers to this problem.

Thanks

Robert

_
Robert P. McGraw, Jr.
Manager, Computer System EMAIL: [EMAIL PROTECTED]
Purdue University ROOM: MATH-807
Department of MathematicsPHONE: (765) 494-6055
150 N. University Street   FAX: (419) 821-0540
West Lafayette, IN 47907-2067


 -Original Message-
 From: Jean-Louis Martineau [mailto:[EMAIL PROTECTED]
 Sent: Monday, May 01, 2006 1:34 PM
 To: McGraw, Robert P.
 Cc: [EMAIL PROTECTED]
 Subject: Re: amstatus problem
 
 
 amstatus doesn't like ':' in diskname because we use at as separator
 between the hostname and diskname.
 
 Anyone know if ':' is a valid character in a hostname?
 What are the valid characters of a hostname?
 
 Jean-Louis
 
 McGraw, Robert P. wrote:
  I am running build: VERSION=Amanda-2.5.1b1-20060424 on a Solaris 10
  hosts compile on a Solaris 9 host.
 
 
  When I run amstatus I get the following messages. I get many of these
  messages.
 
 
  zorn-[246]  ./sbin/amstatus --config daily --date
 
  Using /var/amanda/daily/amdump from Fri Apr 28 16:36:07 EDT 2006
  Use of uninitialized value in substitution (s///) at ./sbin/amstatus
  line 250, AMDUMP line 1613.
  Use of uninitialized value in string eq at ./sbin/amstatus line 254,
  AMDUMP line 1613.
  Use of uninitialized value in substitution (s///) at ./sbin/amstatus
  line 250, AMDUMP line 1901.
  Use of uninitialized value in string eq at ./sbin/amstatus line 254,
  AMDUMP line 1901.
  Use of uninitialized value in substitution (s///) at ./sbin/amstatus
  line 250, AMDUMP line 1902.
  Use of uninitialized value in string eq at ./sbin/amstatus line 254,
  AMDUMP line 1902.
  Use of uninitialized value in substitution (s///) at ./sbin/amstatus
  line 250, AMDUMP line 2333.
 
 
  From the amdump file the
 
  1611 planner: time 14.327: got partial result for host zorn disk
  /export/users:sega: 0 - -2K, -1 - -2K, -1 - -2K
  1612 planner: time 14.327: got partial result for host zorn disk
  /export/users:sdouthit: 0 - -2K, -1 - -2K, -1 - -2K
  1613 planner: time 14.327: got partial result for host zorn disk
  /export/users:sdong: 0 - 20K, -1 - -2K, -1 - -2K
  1614 planner: time 14.327: got partial result for host zorn disk
  /export/users:sdeleeuw: 0 - -2K, -1 - -2K, -1 - -2K
  1615 planner: time 14.327: got partial result for host zorn disk
  /export/users:scolbert: 0 - -2K, -1 - -2K, -1 - -2K
 
  1901 planner: time 14.573: got partial result for host zorn disk
  /export/users:sdong: 0 - 20K, -1 - -2K, -1 - -2K
  1902 planner: time 14.573: got partial result for host zorn disk
  /export/users:sdeleeuw: 0 - 20K, -1 - -2K, -1 - -2K
  1903planner: time 14.573: got partial result for host zorn disk
  /export/users:scolbert: 0 - -2K, -1 - -2K, -1 - -2K
 
  2332 planner: time 14.890: got partial result for host zorn disk
  /export/users:sfchang: 0 - -2K, -1 - -2K, -1 - -2K
  2333 planner: time 14.890: got partial result for host zorn disk
  /export/users:sega: 0 - 12460K, -1 - -2K, -1 - -2K
  2334 planner: time 14.890: got partial result for host zorn disk
  /export/users:sdouthit: 0 - -2K, -1 - -2K, -1 - -2K
 
 
  Any idea what is causing this?
  _
  Robert P. McGraw, Jr.
  Manager, Computer System EMAIL: [EMAIL PROTECTED]
  Purdue University ROOM: MATH-807
  Department of MathematicsPHONE: (765) 494-6055
  150 N. University Street   FAX: (419) 821-0540
  West Lafayette, IN 47907-2067
 
 
 
 



smime.p7s
Description: S/MIME cryptographic signature


Re: FreeBSD client

2006-05-01 Thread Olivier Nicole
 Some of you might remember I'm piecing together a previous, non-working,
 installation of amanda.  The help I've received off here has been great,
 so thanks again!  The next piece in this puzzle is a FreeBSD (5.4)
 machine that appears to have amanda already installed.

First question is how was it installed? From the ports or from the
source?

If it si from the ports, it should be reported by pkg_info|grep amanda

 I can't find any documentation on getting the client working on BSD so
 started going by all the information I've gleened troubleshooting the
 Linux machines here.  I can't find a .amandahosts file, do I need to
 create this and if so where?  Or should this information go somewhere
 else?

Cleints are working the same way on Linux or on FreeBSD (that is if
you know how to install a cleint by hand).

Assuming that amanda has been build with user amanda and group
amanda...

.amandahosts should go in the home directory of the user amanda on the
client. It should be chown'ed to amanda:amanda and contains a line
saying something like

server.you.domain.com amanda

banyanroot: ls -l .amandahosts
-rw-r--r--  1 amanda  amanda  31 Oct 31  2005 .amandahosts

if amanda on your server was compiled for the user amanda.

In /etc you need to create an empty file called amandadates

banyanroot: ls -l /etc/amandates 
-rw-r--r--  1 amanda  amanda  494 May  2 01:29 /etc/amandates
 
It should belongs to amanda:amanda

In /etc/inetd.conf you must have a line saying

amanda  dgram   udp waitamanda  /usr/local/libexec/amanda/amandad 
amandad

with the correct path to amandad.

You must make sure inetd is running (disabled by default on some
security models, re-enable it in /etc/rc.conf)

In /usr/local/var create amanda directory and in /usr/local/var/amanda
create gnu-tar directory. Everything chown'ed to amanda:amanda

 I assume /tmp/amanda should exist on the machine and be writable and
 ownder by operator:operator (operator being the default username the
 client seems to install by, and operator being BSD's equiv of 'disk'
 group), is this so?

/tmp/amanda is created automatically by the first run of amanda.

That's all IO can think about right now.

Bests,

olivier