Amanda-Users

Re: problem with amflush?

2008-08-07 08:03:54
Subject: Re: problem with amflush?
From: Chris Hoogendyk <hoogendyk AT bio.umass DOT edu>
To: Andre Brandt <brandt AT decoit DOT de>
Date: Thu, 07 Aug 2008 07:58:36 -0400


Andre Brandt wrote:
At the moment, I've 3 backups that has been flushed. At all three of
them, amanda show me "*** THE DUMPS DID NOT FINISH PROPERLY!". But all
logfiles seems to be okay:

DISK amflush test.mynet /data
DISK amflush srv1.mynet /data
DISK amflush srv1.mynet /etc
DISK amflush srv1.mynet /var
START amflush date 20080807082315
START driver date 20080807082315
STATS driver startup time 0.012
START taper datestamp 20080807082315 label DailySet1-001 tape 0
SUCCESS taper test.mynet /data 20080729 1 [sec 6.938 kb 2944 kps 424.3
{wr: writers 92 rdwait 0.000 wrwait 0.036 filemark 6.901}]
SUCCESS taper srv1.mynet /data 20080729 2 [sec 34.533 kb 641856 kps
18586.6 {wr: writers 20058 rdwait 0.743 wrwait 29.223 filemark 4.506}]
SUCCESS taper srv1.mynet /var 20080729 2 [sec 27.319 kb 517664 kps
18948.8 {wr: writers 16177 rdwait 0.691 wrwait 24.682 filemark 1.895}]
SUCCESS taper srv1.mynet /etc 20080729 1 [sec 1.909 kb 96 kps 50.3 {wr:
writers 3 rdwait 0.000 wrwait 0.004 filemark 1.905}]
INFO taper tape DailySet1-001 kb 1162560 fm 4 [OK]

Well, I'm confused....

Well, I'm somewhat confused too.

When you first posted this, I thought the mail report looked fine. You weren't doing any dumps, so those statistics in the report showed 0. The flushes and writes to tape looked like they worked. But then there is that message at the top in all caps saying the dumps did not finish properly. hmm.

Do you have the reports from when the dumps were run? Is it possible that they were incomplete? And that amanda is reporting on that? I wouldn't think that Amanda would be complaining about dumps not finishing properly when it wasn't doing any dumps. But it does have statistics about those dumps that are now being flushed to tape.

If someone on the list who is closer to the code could comment on this, it might help resolve the confusion. The question is really, Why is that all caps line about dumps at the top of the mail message? (below)

I typically have autoflush set so that if anything is ever left on the holding disk it will just go out with the next dump. So I'm not in the habit of just running amflush by itself.


---------------

Chris Hoogendyk

-
  O__  ---- Systems Administrator
 c/ /'_ --- Biology & Geology Departments
(*) \(*) -- 140 Morrill Science Center
~~~~~~~~~~ - University of Massachusetts, Amherst
<hoogendyk AT bio.umass DOT edu>

---------------
Erdös 4



Paul Yeatman schrieb:
Hi, I'm not often running amflush but I would still expect a log file
to be generated in your log directory with more info.  How many backups
on holding disk were you expecting this to have been flushing?

Paul

->>In response to your message<<-
  --received from Andre Brandt--
Hi List!

I've setup my amanda backup server and everything seems to be fine -
running for some weeks without any problem. (Using amanda 2.5.p1 with a
HP tape library - 8 tapes). Well, because of a mistake - I've done - one
tape was missing an so, amanda wrote all dumps to the holding disk.
(like it should do)

After starting amflush, I got the following email:

    *** THE DUMPS DID NOT FINISH PROPERLY!

    The dumps were flushed to tape DailySet1-005.
    The next tape Amanda expects to use is: DailySet1-001.


    STATISTICS:
                              Total       Full      Incr.
                            --------   --------   --------
    Estimate Time (hrs:min)    0:00
    Run Time (hrs:min)         0:01
    Dump Time (hrs:min)        0:00       0:00       0:00
    Output Size (meg)           0.0        0.0        0.0
    Original Size (meg)         0.0        0.0        0.0
Avg Compressed Size (%) -- -- -- Filesystems Dumped 0 0 0 Avg Dump Rate (k/s) -- -- --
    Tape Time (hrs:min)        0:01       0:00       0:01
    Tape Size (meg)           568.2        0.0      568.2
    Tape Used (%)               0.3        0.0        0.3   (level:#disks ...)
    Filesystems Taped             4          0          4   (1:2 2:2)

    Chunks Taped                  0          0          0
    Avg Tp Write Rate (k/s) 12663.8        --     12663.8

    USAGE BY TAPE:
      Label                      Time      Size      %    Nb    Nc
      DailySet1-005       0:01   581888k    0.3     4     0

    NOTES:
      taper: tape DailySet1-005 kb 581888 fm 4 [OK]


    DUMP SUMMARY:
DUMPER STATS TAPER STATS HOSTNAME DISK L ORIG-kB OUT-kB COMP% MMM:SS KB/s MMM:SS KB/s
    -------------------------- ------------------------------------- 
-------------
    test.mynet /data       1     N/A    2944    --     N/A    N/A    0:07  425.6
    srv1.mynet /data       2     N/A   97600    --     N/A    N/A    0:11 8652.0
    srv1.mynet /etc        1     N/A      96    --     N/A    N/A    0:02   50.3
    srv1.mynet /var        2     N/A  481248    --     N/A    N/A    0:26 
18620.1

    (brought to you by Amanda version 2.5.1p1)


Well, what is wrong? I don't understand, what amanda want's to tell me :(

Thx!

Andre

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