From owner-freebsd-questions Mon Aug 17 12:56:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA04872 for freebsd-questions-outgoing; Mon, 17 Aug 1998 12:56:07 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA04799 for ; Mon, 17 Aug 1998 12:56:04 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.5/8.8.8) with SMTP id MAA04549; Mon, 17 Aug 1998 12:55:28 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Mon, 17 Aug 1998 12:55:27 -0700 (PDT) From: Doug White To: Luis Rios cc: freebsd-questions@FreeBSD.ORG Subject: Re: File Descriptors on 2.1.5 Machine In-Reply-To: <016301bdc959$6e6f4460$dd900fce@mothership> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 16 Aug 1998, Luis Rios wrote: > I recently had a 2.1.5 (upgrading to 2.2.7!) machine reboot due to > problems with a SCSI drive. When I tried to reboot the machine it > froze on fsck of dev sd2 and gave errors of bad file descriptors and > excessive blocks. I did a fsck -y and waited patiently after 20 > minutes for fsck to complete. Fsck managed to clear up lots of erros > and boot fine but I'm getting file descriptor errors when doing ls -la > or anything. What can I do to repair the descriptor tables if so > possible? Will dump and restore restore order to the descriptors? When you get fsck problems, run fsck until it comes back clean. Always. A restore would replace the busted files but you have to clear the busted files first. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message