From owner-freebsd-stable Thu Oct 24 23: 5:18 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 7CE8937B401 for ; Thu, 24 Oct 2002 23:05:16 -0700 (PDT) Received: from root.com (nexus.root.com [209.102.106.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0E9443E6E for ; Thu, 24 Oct 2002 23:05:15 -0700 (PDT) (envelope-from dg@nexus.root.com) Received: from nexus.root.com (localhost [127.0.0.1]) by root.com (8.12.6/8.12.3) with ESMTP id g9P64MYf088035; Thu, 24 Oct 2002 23:04:22 -0700 (PDT) (envelope-from dg@nexus.root.com) Received: (from dg@localhost) by nexus.root.com (8.12.6/8.12.3/Submit) id g9P64LfG088034; Thu, 24 Oct 2002 23:04:21 -0700 (PDT) Date: Thu, 24 Oct 2002 23:04:21 -0700 From: "D. G. Lawrence" To: "Vladislav V. Zhuk" Cc: Andreas Ntaflos , freebsd-stable@freebsd.org Subject: Re: fsck lasting several hours (and then forever) after crash Message-ID: <20021025060420.GV49215@nexus.root.com> References: <3DB8228B.90203@vpop.net> <20021024201833.GA259@Deadcell.ant> <20021025044650.GA46167@dru.dn.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021025044650.GA46167@dru.dn.ua> 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 >> > We had a problem like this when an ATA disk went bad--the kernel would >> > seem to hang while trying to read the bad part of the disk. Try booting >> > into single-user mode (boot -s) and then try reading all the disk's >> > blocks. If it hangs doing this, then you know it's not fsck's fault: >> > >> > dd if=/dev/ad0s1c of=/dev/null bs=64k >> > >> >> 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. >Why under other OS it's a no problem?? (one week ago I recover FreeBSD data >under M$ DOS. FreeBSD can't do anything with partition with bad blocks, >fsck even can't finish check). >Why other OS has tools for test surface HDD ?? > >I like FreeBSD, but this OS absolutely don't ready for problem with disks, >that will come soon or late with every HDD !! > >(I know about backup, RAID and other. I troubled by problem discovered >above). > >Sorry for my english. It's apparantly a problem with the ATA driver, and not a problem with fsck. fsck actually does deal with bad blocks and can normally get past them if they are reported properly by the driver. -DG D.G.Lawrence Download Technologies, Inc. - http://www.downloadtech.com - (866) 399 8500 TeraSolutions, Inc. - http://www.terasolutions.com - (888) 346 7175 The FreeBSD Project - http://www.freebsd.org Pave the road of life with opportunities. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message