From owner-freebsd-stable Thu Oct 24 21:47:25 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 F2AFF37B401 for ; Thu, 24 Oct 2002 21:47:23 -0700 (PDT) Received: from relay2.skif.net (ns2.skif.net [195.58.224.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FC2843E65 for ; Thu, 24 Oct 2002 21:47:20 -0700 (PDT) (envelope-from admin@dru.dn.ua) Received: from dru.dn.ua (dru.dn.ua [195.5.21.149]) by relay2.skif.net (8.12.1/8.12.1) with ESMTP id g9P4l94O042632 for ; Fri, 25 Oct 2002 07:47:10 +0300 (EEST) Received: (from admin@localhost) by dru.dn.ua (8.12.3/8.12.3) id g9P4koAR047222; Fri, 25 Oct 2002 07:46:50 +0300 (EEST) (envelope-from admin) Date: Fri, 25 Oct 2002 07:46:50 +0300 From: "Vladislav V. Zhuk" To: Andreas Ntaflos Cc: freebsd-stable@freebsd.org Subject: Re: fsck lasting several hours (and then forever) after crash Message-ID: <20021025044650.GA46167@dru.dn.ua> References: <3DB8228B.90203@vpop.net> <20021024201833.GA259@Deadcell.ant> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20021024201833.GA259@Deadcell.ant> User-Agent: Mutt/1.5.1i 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. -- Vladislav V. Zhuk (06267)3-60-03 admin@dru.dn.ua 2:465/197@FidoNet.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message