From owner-freebsd-stable@FreeBSD.ORG Tue May 12 18:40:05 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60E561065672 for ; Tue, 12 May 2009 18:40:05 +0000 (UTC) (envelope-from dungeons@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.226]) by mx1.freebsd.org (Postfix) with ESMTP id 36BF18FC1D for ; Tue, 12 May 2009 18:40:05 +0000 (UTC) (envelope-from dungeons@gmail.com) Received: by rv-out-0506.google.com with SMTP id k40so118088rvb.43 for ; Tue, 12 May 2009 11:40:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=OP56wEOFDjzh+GCE9PlEAf1M1ytsl5z3J7EIlQc+vSo=; b=oCzai+5mVE2ywze+aqsT2Jp+obvByGcptsVmMgC1gOujgVwNETYfzAq3FyW5l7J5jn AxKLBsU9yZI0R78+hIiMaE1fAARga/n+C2qPG64rqW3DnnEN5uZrgcuF5dVD3bpd9bkp VuEuEwE8LlkeC19Mw9gfQUxhDXHHCszu1ZYGY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=HQ9zoOj8JJ9P4sVu/kS97+RxemeCaFxcMEhw8JHgddU4AsImdGMSP3JE0OLCdfsB+u ohIO5L1poWlu049Cc9ESlSWDpsZ04qt3V92SbzWQszrPHZFaGHrrUSM7NlaLRzxSCTO+ G/U6fh9z4p5dcou0iB3b0WYX5H25CG8tjCpDE= MIME-Version: 1.0 Received: by 10.140.132.4 with SMTP id f4mr1466894rvd.118.1242151857714; Tue, 12 May 2009 11:10:57 -0700 (PDT) Date: Tue, 12 May 2009 14:10:57 -0400 Message-ID: <2c2c47aa0905121110i6355930bwce3a9c6afb117d4d@mail.gmail.com> From: Pat Wendorf To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: File system corruption X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 May 2009 18:40:06 -0000 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