From owner-freebsd-stable Fri Oct 25 4:44:42 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5279037B401 for ; Fri, 25 Oct 2002 04:44:41 -0700 (PDT) Received: from atlantis.atlantis.dp.ua (atlantis.atlantis.dp.ua [193.108.46.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EE2F43E42 for ; Fri, 25 Oct 2002 04:44:37 -0700 (PDT) (envelope-from dmitry@atlantis.dp.ua) Received: from atlantis.atlantis.dp.ua (localhost [127.0.0.1]) by atlantis.atlantis.dp.ua (8.12.3/8.12.3) with ESMTP id g9PBiBiK050465 for ; Fri, 25 Oct 2002 14:44:12 +0300 (EEST) (envelope-from dmitry@atlantis.dp.ua) Received: from localhost (dmitry@localhost) by atlantis.atlantis.dp.ua (8.12.3/8.12.3/Submit) with ESMTP id g9PBi9Ns050462 for ; Fri, 25 Oct 2002 14:44:11 +0300 (EEST) X-Authentication-Warning: atlantis.atlantis.dp.ua: dmitry owned process doing -bs Newsgroups: lucky.freebsd.stable Date: Fri, 25 Oct 2002 14:43:34 +0300 From: Dmitry Pryanishnikov Subject: Re: fsck lasting several hours (and then forever) after crash In-Reply-To: <20021025044650.GA46167@dru.dn.ua.lucky.freebsd.stable> Message-ID: <20021025144132.S44766-100000@atlantis.atlantis.dp.ua> References: <3DB8228B.90203@vpop.net> <20021024201833.GA259@Deadcell.ant> <20021025044650.GA46167@dru.dn.ua.lucky.freebsd.stable> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII To: undisclosed-recipients: ; Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello! On Fri, 25 Oct 2002, Vladislav V. Zhuk wrote: > > Now that is a good idear! Thanks. I dropped to single user mode and did > > dd if=/dev/ad4s1h of=/dev/null bs=64k. It appears that fsck is not the problem > > but my disk is going bad. > > Every harddisk will be bad one day. fsck MUST be able to mark bad blocks > and recover residuary data on the disk. Or freebsd must have another tool > for recover data from harddisk with bad blocks. Actually, it has one, see badsect(8). Not to recover data (it's already lost when sector gone bad), but to mark sector as unusable. Sincerely, Dmitry Atlantis ISP, System Administrator e-mail: dmitry@atlantis.dp.ua nic-hdl: LYNX-RIPE To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message