LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 11-10-2005, 11:11 AM   #1
glt
Member
 
Registered: Aug 2003
Distribution: RedHat
Posts: 39

Rep: Reputation: 15
Unhappy Hard disk failing? write error: Bad file descriptor


Hi,

I have a Linux Redhat 9 mail server. I am starting to see the following
error sometimes in the maillog:

SYSERR(root): putbody: write error: Bad file descriptor: 1 Time(s)

Does this indicate a failing file system?

I have checked lost+found on the both the system's partitions and
they are empty.

Can someone explain what this error might mean and what, if anything I
should do about it?


System Info:
Redhat 9 on Dell PE2450 with RAID5 array.

Thanks,
Geoff
 
Old 11-10-2005, 12:22 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,476

Rep: Reputation: 156Reputation: 156
"Does this indicate a failing file system?"

No. You probably have a corrupt block on the disk which is possibly fixable.

"I have checked lost+found on the both the system's partitions and
they are empty."

fsck places orphan files in lost+found. If you have not run fsck then there will be nothing in lost+found.

"Can someone explain what this error might mean and what, if anything I
should do about it?"

You can diagnose and probably fix the error by running fsck. fsck has to be run against a umounted file system so you would probably have to take the server down to run fsck. You have to balance how badly you want to fix the error versus how badly you want to avoid down time.


----------------------------------
Steve Stites
 
Old 11-10-2005, 02:14 PM   #3
glt
Member
 
Registered: Aug 2003
Distribution: RedHat
Posts: 39

Original Poster
Rep: Reputation: 15
Hi Steve,

Thanks for the response. I did do an fsck recently. It failed with an error,
but I was not able to investigate that further at the time (it was raining
in the server room, so that was the least of troubles!).

I'm trying to get permission to take the server down to try fsck again.
If I can't do fsck soon, is that error likely to result in further corruption?

Cheers,
Geoff
 
Old 11-10-2005, 04:44 PM   #4
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,476

Rep: Reputation: 156Reputation: 156
"If I can't do fsck soon, is that error likely to result in further corruption?"


Probably not. An error in a file system does not generally have a cascading effect.

---------------------------
Steve Stites
 
Old 12-14-2005, 10:41 AM   #5
glt
Member
 
Registered: Aug 2003
Distribution: RedHat
Posts: 39

Original Poster
Rep: Reputation: 15
Hi Again,
fsck seemed to do the trick. All has been well
with this machine for some time now.

...Except now we have another error on the same
machine:

Dec 12 12:39:42 igor kernel: aacraid:ID(0:01:0); Error Event [command:0x2a]
Dec 12 12:39:42 igor kernel: aacraid:ID(0:01:0); Hardware Error [k:0x4,c:0x19,q:0x0]
Dec 12 12:39:42 igor kernel: aacraid:ID(0:01:0); Defect List Error

Can anyone explain what these mean?
What should be done about this?

Thanks again,
Geoff
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does duplicating a file descriptor in C allow you to write to both at once? lowpro2k3 Programming 4 10-20-2005 12:20 PM
Bad File Descriptor tech_user Linux - Hardware 0 10-14-2005 03:21 PM
apt-file returns nothing; 'bad file descriptor' overbored Debian 3 10-03-2004 09:13 PM
Evolution: bad file descriptor bfibandit Mandriva 2 04-11-2004 03:00 PM
SIOCSIFADDR: Bad file descriptor egon Linux - Networking 0 02-13-2001 08:41 PM


All times are GMT -5. The time now is 06:54 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration