FreeBSD 5.x and "Bad File Descriptor" errors. Why?

Kris Kennaway kris at obsecurity.org
Wed Dec 3 06:20:01 PST 2003


On Wed, Dec 03, 2003 at 01:43:57PM +0200, Dan Naumov wrote:
> Hello
> 
> What follows is a description of a problem I used to have when running 
> FreeBSD 5.0 and 5.1. I am not running FreeBSD right now, but I am 
> considering going back to it but I need to figure out how to prevent 
> this issue from happening again. My system has 2 harddrives, a 16 GB 
> Seagate that I use for backups and mount it under /mnt/backup and a 40 
> GB Maxtor that I am using for everything else. After the installation of 
> the OS (usually about 8-12 days of running non-stop) I start getting 
> "Bad File Descriptor" errors on random files all around the Maxtor drive 
> and I have to go to single-user mode in order to run a full fsck on the 
> system. After that, the system works, until in 8-12 days time even more 
> files get "corrupted" this way and the process has to be repeated. 
> Eventually, so many files are damaged that a full OS reinstall is required.

You get that error from what command(s)?  Have you tried with 5.2,
which has a new ATA driver?

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20031203/1cfe7d33/attachment.bin


More information about the freebsd-current mailing list