File system corruption

Pat Wendorf dungeons at gmail.com
Tue May 12 18:40:06 UTC 2009


I have a co-lo server I've been maintaining for a few years now running IDE
drives on a mostly terrible UPS.  A few months ago, when it returned from a
power outage (running 6.2-R) I started noticing the following in my daily
security email:

Checking setuid files and devices:
find: /var/db/portsnap/files/2dc95ddff37a8091239e83bf7e3ce5a2c285b027891ced1919d76c9947c5b7db.gz:
Bad file descriptor
find:
/var/db/portsnap/files/52abe8c91385b12272f13f4d20896067d9ba70bdec1fa2575025858bd3e93718.gz:
Bad file descriptor
find: /var/lost+found/#238237: Bad file descriptor

I verified that these files return the same result when trying to do any
operation on them (including ls in the directory).

I've managed to ignore the problem for a while now, and even upgraded to
7.2, but I'm not sure if it will cause problems later on.  So the question
is, without access to the console, how would I fix this?

- Pat


More information about the freebsd-stable mailing list