Amanda-Users

Re: Amanda tape error

2004-02-03 06:37:14
Subject: Re: Amanda tape error
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: aditya AT translogicsys DOT com
Date: Tue, 03 Feb 2004 12:33:23 +0100
B V S S ADITYA wrote:

It also started behaving funnily. I identified four problems with Amanda, don't know how come suddenly Amanda started working strangely.
My problems with Amanda are:
1.
...
Avg Tp Write Rate (k/s)     --         --         --


Just when becoming interesting, you cut the report :-)


2.
I ran amflush to write data in holding disk to the tape. Here I ran ' ps-auxwww | grep "amanda" ' command. Result is:

-bash-2.05b$ ps -auxwww | grep "amanda"
root      3770  0.0  0.0  4096    4 pts/0    S    Feb02   0:00 su -l amanda
amanda    3771  0.0  0.0  4384    0 pts/0    SW   Feb02   0:00 -bash
amanda 5306 98.7 0.0 2128 140 ? R 11:13 61:08 ./amflush DailySet1

Strange, your amflush took already 61 minutes CPU time...
Mine doesn't even take a few minutes CPU time when flushing 20 Gbyte.
(The wall-clock time is much more of course.)
And the start-time seems to indicate it's spinning in some tight cpu-
intensive loop.
Anything strange in the syslog or messages file?

3.
I tried amcleanup to stop flushing, It's result is

First you have to kill the processes, and then amcleanup cleans up
the mess it left behind.
If you just run amcleanup, the process is still running (and will
still create more mess :-) .

4.
Here I ran the amcheck command it is giving error saying

-bash-2.05b$ ./amcheck DailySet1
Amanda Tape Server Host Check
-----------------------------
Holding disk /backup: 851940 KB disk space available, using 851940 KB
WARNING: skipping tape test because amdump or amflush seem to be running
WARNING: if they are not, you must run amcleanup

amcheck sees the  logfile, left behind by amflush, and not yet cleaned
up by amcleanup.  First kill the processes, then run amcleanup.


--
Paul Bijnens, Xplanation                            Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* 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          *
***********************************************************************


<Prev in Thread] Current Thread [Next in Thread>