Amanda-Users

Amanda tape error

2004-02-03 05:23:53
Subject: Amanda tape error
From: B V S S ADITYA <aditya AT translogicsys DOT com>
To: amanda <amanda-users AT amanda DOT org>
Date: 03 Feb 2004 15:46:53 +0530

Hi,

I'm using Amanda 2.4.3. I scheduled Amanda to backup every weeknight, it was working fine but from the last three days, it is not able to backup. 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.
The scheduled Amanda backup program is giving errors, pasted below.

*** THE DUMPS DID NOT FINISH PROPERLY!

The dumps were flushed to tape Set-1-03.
The next tape Amanda expects to use is:Set-1-04.



STATISTICS:
                          Total       Full      Daily
                        --------   --------   --------
Estimate Time (hrs:min)    0:00
Run Time (hrs:min)         0:00
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: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)     --         --         --


This has been the story for the last three days.

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
amanda    5307  0.0  0.0  2128   12 ?        S    11:13   0:00 driver DailySet1
nodump
amanda    5308  0.0  0.0  2780    4 ?        S    11:13   0:00 taper DailySet1
amanda    5309  0.0  0.0  2804    4 ?        S    11:13   0:00 taper DailySet1

amanda    6881  0.0  0.7  6796 2000 ?        S    12:14   0:00 /usr/sbin/sshd
amanda    6882  0.0  0.5  4396 1492 pts/4    S    12:14   0:00 -bash
amanda    6940  0.0  0.3  2748  800 pts/4    R    12:15   0:00 ps -auxwww
amanda    6941  0.0  0.2  3576  644 pts/4    S    12:15   0:00 grep amanda

Above result says amflush is running but the green light on the HP sure store dat 24 taper which blinks when read/write operation is done is glowing, not blinking. This means no writing activity  is going on.

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

-bash-2.05b$ ./amcleanup DailySet1
amcleanup: processing outstanding log file.

Here I ran ' ps -auxwww | grep "amanda" ' command again to check whether amcleanup command's result. It gave

-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
amanda    5307  0.0  0.0  2128   12 ?        S    11:13   0:00 driver DailySet1
nodump
amanda    5308  0.0  0.0  2780    4 ?        S    11:13   0:00 taper DailySet1
amanda    5309  0.0  0.0  2804    4 ?        S    11:13   0:00 taper DailySet1
amanda    6881  0.0  0.7  6796 2000 ?        S    12:14   0:00 /usr/sbin/sshd
amanda    6882  0.0  0.5  4396 1492 pts/4    S    12:14   0:00 -bash
amanda    6940  0.0  0.3  2748  800 pts/4    R    12:15   0:00 ps -auxwww
amanda    6941  0.0  0.2  3576  644 pts/4    S    12:15   0:00 grep amanda

This means the amflush operation is not been stopped by amcleanup. I killed the amflush operation manually.

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

Server check took 3.344 seconds

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

(brought to you by Amanda 2.4.3)

I did kill the amflush command because ps -auxwww  | grep "amanda" gave

-bash-2.05b$ ps -auxwww | grep "amanda"
amanda    9129  0.0  0.1  6796  464 ?        S    13:10   0:00 /usr/sbin/sshd
amanda    9130  0.0  0.3  4400  880 pts/2    S    13:10   0:00 -bash
amanda   14517  0.0  0.3  2740  788 pts/2    R    15:30   0:00 ps -auxwww
amanda   14518  0.0  0.2  3576  640 pts/2    S    15:30   0:00 grep amanda

I don't understand why amcheck is saying amdump or amflush is running when no process related to amanda is running

Can anybody suggest me what to do?

Regards,
Aditya

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