Amanda-Users

Re: How to empty holding disk

2007-05-25 19:51:40
Subject: Re: How to empty holding disk
From: Peter Kunst <peter.kunst AT swissrisk DOT com>
To: dlynum AT youthuprising DOT org
Date: Sat, 26 May 2007 01:48:55 +0200
Hi David,

whenever i would get this message from amanda, i would:

1. put tape DailyBackup1-A0000003 into my changer
2. if DailyBackup1-A0000003 is offsite or unavailable, amlabel
   a new tape media and leave it in the changer
3. run "amflush <config>" to dump files left on holding disk
   onto tape, to be ready with an empty holding disk for the next
   amdump (which was your last question). Replace <config> with
   your local config name (i guess it's "DailyBackup1")
4. amanda tells you cleartext what to do. Read amanda's messages
   line for line, and you should be able to know what to do (well,
   in most cases)

 Peter

David Lynum wrote:
List,

I'm new to Amanda. It's running on a Fedora Core 2 server. Below is the message I receive from an amanda:

DailyBackup1 AMANDA PROBLEM: FIX BEFORE RUN, IF POSSIBLE

Amanda Tape Server Host Check
-----------------------------
WARNING: holding disk /AmandaBackup/HoldingDisk: only 476156 kB free (314572800 kB requested)
amcheck-server: slot 3: not an amanda tape
amcheck-server: slot 3: not an amanda tape
amcheck-server: slot 4: not an amanda tape
amcheck-server: slot 5: date 20070302 label DailyBackup1-A0000005 (active tape)
amcheck-server: slot 6: not an amanda tape
amcheck-server: slot 7: date 20070314 label DailyBackup1-A0000007 (active tape) amcheck-server: slot 8: date 20070316 label DailyBackup1-A0000008 (active tape)
amcheck-server: slot 9: not an amanda tape
amcheck-server: slot 1: date 20070323 label DailyBackup1-A0000001 (active tape)
amcheck-server: slot 2: not an amanda tape
ERROR: label DailyBackup1-A0000003 or new tape not found in rack
      (expecting tape DailyBackup1-A0000003 or a new tape)
NOTE: skipping tape-writable test
Server check took 2641.589 seconds

Amanda Backup Client Hosts Check
--------------------------------
Client check: 5 hosts checked in 10.302 seconds, 0 problems found

(brought to you by Amanda 2.4.5)


DailyBackup1 AMANDA MAIL REPORT FOR May 23, 2007

*** A TAPE ERROR OCCURRED: [label DailyBackup1-A0000003 or new tape not found in rack].
Some dumps may have been left in the holding disk.
Run amflush to flush them to tape.
The next 3 tapes Amanda expects to used are: DailyBackup1-A0000003, DailyBackup1-A0000004, DailyBackup1-A0000005.

FAILURE AND STRANGE DUMP SUMMARY:
 mail.insid /var/qmail lev 0 FAILED [no more holding disk space]
 file.insid /yu lev 6 FAILED [no more holding disk space]
 file.insid /yustaff lev 0 FAILED [no more holding disk space]


STATISTICS:
                         Total       Full      Incr.
                       --------   --------   --------
Estimate Time (hrs:min)    0:17
Run Time (hrs:min)         0:41
Dump Time (hrs:min)        0:01       0:01       0:00
Output Size (meg)          57.6       57.4        0.2
Original Size (meg)       250.4      248.9        1.5
Avg Compressed Size (%)    23.0       23.1       10.4   (level:#disks ...)
Filesystems Dumped            6          5          1   (1:1)
Avg Dump Rate (k/s)      1035.8     1042.5      311.1

Tape Time (hrs:min)        0:00       0:00       0:00
Tape Size (meg)             0.0        0.0        0.0
Tape Used (%)               0.0        0.0        0.0
Filesystems Taped             0          0          0
Avg Tp Write Rate (k/s)     --         --         --

NOTES:
planner: Last full dump of backup.inside.youthuprising.org:/etc on tape overwritten in 1 run. driver: WARNING: /AmandaBackup/HoldingDisk: 314572800 KB requested, but only 476196 KB available. planner: Last full dump of auth0.inside.youthuprising.org:/var/www on tape overwritten in 1 run. planner: Last full dump of auth1.inside.youthuprising.org:/etc on tape overwritten in 1 run. planner: Last full dump of mail.inside.youthuprising.org:/etc on tape overwritten in 1 run. planner: Last full dump of mail.inside.youthuprising.org:/var/qmail on tape overwritten in 1 run. planner: Last full dump of file.inside.youthuprising.org:/etc on tape overwritten in 1 run. planner: Last full dump of file.inside.youthuprising.org:/yu on tape overwritten in 1 run. planner: Last full dump of file.inside.youthuprising.org:/yustaff on tape overwritten in 1 run. planner: file.inside.youthuprising.org /yu 20070523 0 [dump larger than tape, 98334802 KB, full dump delayed]

It looks as though I need to empty the holding disk.  How do I do that?

Thanks






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