Date: Mon, 16 Apr 2001 18:03:24 -0500 From: Mike Meyer <mwm@mired.org> To: Thomas David Rivers <rivers@dignus.com> Cc: questions@freebsd.org Subject: Re: 4.2-Release & bad IDE blocks... Message-ID: <15067.31292.118757.73035@guru.mired.org> In-Reply-To: <85532652@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
Thomas David Rivers <rivers@dignus.com> 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. <mike -- Mike Meyer <mwm@mired.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15067.31292.118757.73035>