Amanda-Users

RE: Bad file descriptor ??

2003-01-14 20:48:57
Subject: RE: Bad file descriptor ??
From: "Marcel Welschbillig" <Marcel AT comdek.net DOT au>
To: <amanda-users AT amanda DOT org>
Date: Wed, 15 Jan 2003 09:10:16 +0800
Thnaks for the response. Sorry, will post in Plain text.

This is the file /tmp/amanda/sendbackup.debug

sendbackup: debug 1 pid 10346 ruid 530 euid 530 start time Tue Jan 14 
11:28:54 2003
/usr/lib/amanda/sendbackup: got input request: DUMP sda5 0
1970:1:1:0:0:0 
OPTIONS |;bsd-auth;compress-fast;
  parsed request as: program `DUMP' disk `sda5' lev 0 since
1970:1:1:0:0:0 
opt `|;bsd-auth;compress-fast;'
  waiting for connect on 2340, then 2341
  got all connections
sendbackup: spawning "/bin/gzip" in pipeline
sendbackup: argument list: "/bin/gzip" "--fast"
sendbackup: spawning "/sbin/dump" in pipeline
sendbackup: argument list: "dump" "0usf" "1048576" "-" "/dev/sda5"

Still gives me no clue whats going wrong though, any ideas ??


Also below are some things that may be relevent from the rest of the
backup report, dosent tell me which file is failing though.

STATISTICS:
                          Total       Full      Daily
                        --------   --------   --------
Dump Time (hrs:min)       34:19       3:09       0:00   (0:09 start,
31:01 idle)
Output Size (meg)        3910.5     3910.5        0.0
Original Size (meg)      9391.7     9391.7        0.0
Avg Compressed Size (%)    41.6       41.6        -- 
Tape Used (%)              32.6       32.6        0.0
Filesystems Dumped           40         40          0
Avg Dump Rate (k/s)       355.5      355.5        -- 
Avg Tp Write Rate (k/s)   353.4      353.4        -- 



NOTES:
  planner: Last full dump of barley:sda1 on tape Comdek1 overwritten on
this run.
  planner: Last full dump of barley:sda5 on tape Comdek1 overwritten on
this run.
  planner: Last full dump of barley:sda6 on tape Comdek1 overwritten on
this run.
  planner: Last full dump of barley:sda7 on tape Comdek1 overwritten on
this run.
  planner: Last full dump of barley:sda8 on tape Comdek1 overwritten on
this run.
  planner: Last full dump of eth0.yeast:sda2 on tape Comdek1 overwritten
on this run.
 n this run.
  planner: Last full dump of barley:sda1 on tape Comdek1 overwritten on
this run.
  planner: Last full dump of barley:sda5 on tape Comdek1 overwritten on
this run.
  planner: Last full dump of barley:sda6 on tape Comdek1 overwritten on
this run.
  planner: Last full dump of barley:sda7 on tape Comdek1 overwritten on
this run.
  planner: Last full dump of barley:sda8 on tape Comdek1 overwritten on
this run.
  planner: Last full dump of eth0.yeast:sda2 on tape Comdek1 overwritten
on this run.
 
  taper: tape Comdek1 kb 2136096 fm 21 writing file: Input/output error
  taper: tape Comdek1 kb 2136096 fm 21 writing filemark: Bad file
descriptor
  taper: tape Comdek1 kb 2136096 fm 21 writing filemark: Bad file
descriptor
  taper: tape Comdek1 kb 2136096 fm 21 [OK]



DUMP SUMMARY:
                                      DUMPER STATS
TAPER STATS
HOSTNAME  DISK           L  ORIG-KB   OUT-KB COMP%  MMM:SS   KB/s
MMM:SS   KB/s
-------------------------- --------------------------------------
--------------
barley    sda1           0    39434    13440  34.1    0:34  399.6
0:35  383.2
barley    sda5           0   FAILED
--------------------------------------------
barley    sda6           0   393225   151968  38.6    4:34  553.8
4:35  553.0
barley    sda7           0     2831      992  35.0    0:05  208.8
0:05  202.9
barley    sda8           0   499372   204032  40.9    6:47  500.9
6:48  499.6
comdek-ra hda2           0   286333   104032  36.3    4:24  393.9
4:25  393.0
comdek-ra hda3           0   108785    86048  79.1    2:49  510.3
2:49  509.0
eth0.yeas sda2           0   FAILED
--------------------------------------------
eth0.yeas sda3           0   FAILED
--------------------------------------------
hops      sda1           0    37785    13120  34.7    0:22  584.2
0:23  564.6
hops      sda5           0   687518   489984  71.3   41:26  197.1
41:27  197.0
hops      sda6           0     2608      960  36.8    0:05  197.7
0:15   66.6
hops      sda8           0   375362   143552  38.2    4:37  519.0
4:38  516.8
hops      sda9           0   164251    21280  13.0    2:17  155.1
2:18  154.5
localhost hda2           0   228927    91936  40.2    8:05  189.4
8:06  189.2
localhost hda3           0   184376    29920  16.2    6:04   82.3
6:04   82.2
malt      sda1           0   270261   202112  74.8    6:20  531.5
6:22  529.3
malt      sda5           0   410510   157056  38.3    5:50  448.9
5:51  447.0
malt      sda7           0   296149    41664  14.1    2:07  327.5
2:08  324.7
malt      sda8           0      143       32  22.4    0:12    2.6
0:14    4.6
proxy.con hda1           0   295008   112960  38.3    4:16  442.0
4:16  440.8
proxy.con hda2           0    99167    48768  49.2    1:50  441.3
1:51  438.2
sugar     sda2           0   426504   186240  43.7    9:40  321.2
9:43  319.6

(brought to you by Amanda version 2.4.0)

Marcel


-----Original Message-----
From: Joshua Baker-LePain [mailto:jlb17 AT duke DOT edu] 
Sent: Tuesday, 14 January 2003 7:54 PM
To: Marcel Welschbillig
Cc: amanda-users AT amanda DOT org
Subject: Re: Bad file descriptor ??

On Tue, 14 Jan 2003 at 12:22pm, Marcel Welschbillig wrote

> Hi all,

Hi.  Please don't send HTML as well as plain text -- there's really no 
point to it.  Just use plain text.

> I've been using Amanda to backup some Linux systems for quite some
time.
> Recently I am getting the following errors.
>  
> FAILURE AND STRANGE DUMP SUMMARY:
>   eth0.yeast sda3 lev 0 FAILED [closing tape: Input/output error]
>   eth0.yeast sda3 lev 0 FAILED [dump to tape failed]
>   eth0.yeast sda2 lev 0 FAILED [closing tape: Bad file descriptor]
>   eth0.yeast sda2 lev 0 FAILED [dump to tape failed]
>   barley     sda5 lev 0 FAILED [closing tape: Bad file descriptor]
>   barley     sda5 lev 0 FAILED [dump to tape failed]
>  
> On Barley it has no problem backing up other partitions only sda5
which
> is the /home directory. It backs up many other servers with no
problems,
> only has problems on barley and yeast. I'm assuming there are some
> corrupt files that can not be read on these partitions, how do I find
> them and repair/delete them??

There should be details of the FAILED dumps further down in the email.  
Also, look in /tmp/amanda/sendbackup*debug on eth0 and barley.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University


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