From owner-freebsd-questions Sun Sep 2 16:14:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web20408.mail.yahoo.com (web20408.mail.yahoo.com [216.136.226.127]) by hub.freebsd.org (Postfix) with SMTP id A105E37B409 for ; Sun, 2 Sep 2001 16:14:28 -0700 (PDT) Message-ID: <20010902231428.34513.qmail@web20408.mail.yahoo.com> Received: from [66.114.217.227] by web20408.mail.yahoo.com via HTTP; Sun, 02 Sep 2001 16:14:28 PDT Date: Sun, 2 Sep 2001 16:14:28 -0700 (PDT) From: Deryck Madarang Subject: FSCK fails to fix root file system To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bad sectors on SCSI caused some files on / to be corrupt. I ran fsck /dev/da0s1a (later on with -y option), but it did not fix the filesystem. I thought that -y forces queries to be answered with yes - but it does not seem to work. Any suggestions on getting this fs cleaned up? Thanks. ** /dev/da0s1a (NO WRITE) ** Last Mounted on / ** Root file system ** Phase 1 - Check Blocks and Sizes 67059046 BAD I=592 2012938240 BAD I=592 -1060862302 BAD I=592 -402128184 BAD I=592 -24604352 BAD I=592 1720377384 BAD I=592 1927297026 BAD I=592 -1075804158 BAD I=592 1589903365 BAD I=592 45371396 BAD I=592 1935348685 BAD I=592 EXCESSIVE BAD BLKS I=592 CONTINUE? [yn] ** Phase 2 - Check Pathnames DUP/BAD I=592 OWNER=2289500742 MODE=104023 SIZE=596317275083535423 MTIME=Sep 17 02:44 1906 FILE=/etc/named.conf REMOVE? no BAD TYPE VALUE I=587 OWNER=named MODE=40755 SIZE=512 MTIME=Sep 2 14:35 2001 DIR=/etc/ld.so.conf FIX? no .. etc ... __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message