From owner-freebsd-questions Mon Apr 16 16: 3:29 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id B1A6937B422 for ; Mon, 16 Apr 2001 16:03:25 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 70509 invoked by uid 100); 16 Apr 2001 23:03:24 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15067.31292.118757.73035@guru.mired.org> Date: Mon, 16 Apr 2001 18:03:24 -0500 To: Thomas David Rivers Cc: questions@freebsd.org Subject: Re: 4.2-Release & bad IDE blocks... In-Reply-To: <85532652@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thomas David Rivers types: > My 4.2-release system suddenly crashed with bad blocks on the > ATA drive.... > > Fsck simply indicates it can't read 3 blocks - but, as I understand > it - bad block mapping is now "gone"... (the assumption being that > any reasonable ATA/IDE drive isn't going to have this problem.) > > So - I'd like to at least get the file system mounted so I can > recover what is recoverable... but, fsck will never succeed to > mark the file mountable... (I could simply force the mount, but > that would likely result in a crash again... stifling my recovery > efforts.) > > If anyone has pointers to how to go about this - I'd appreciate it! Read the man page for mount, looking for the "force" option. Be warned that mounting a bad file system can cause your kernel to crash. The safer alternative - if you have the disk space - is to use dd to copy the file system (conv=noerror,sync) to a file, use vn to access it as a disk, then fsck and mount that. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message