From owner-freebsd-stable Fri Apr 21 10: 2: 2 2000 Delivered-To: freebsd-stable@freebsd.org Received: from orion.ac.hmc.edu (Orion.AC.HMC.Edu [134.173.32.20]) by hub.freebsd.org (Postfix) with ESMTP id 3CA6637B85D for ; Fri, 21 Apr 2000 10:01:59 -0700 (PDT) (envelope-from brdavis@orion.ac.hmc.edu) Received: (from brdavis@localhost) by orion.ac.hmc.edu (8.8.8/8.8.8) id KAA23846; Fri, 21 Apr 2000 10:00:24 -0700 (PDT) Date: Fri, 21 Apr 2000 10:00:24 -0700 From: Brooks Davis To: Grigoriy Strokin Cc: freebsd-stable@FreeBSD.ORG Subject: Re: bad144 missing? Message-ID: <20000421100024.A20588@orion.ac.hmc.edu> References: <20000421204946.A29420@isabase.philol.msu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre4i In-Reply-To: <20000421204946.A29420@isabase.philol.msu.ru>; from grg@philol.msu.ru on Fri, Apr 21, 2000 at 08:49:46PM +0400 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Apr 21, 2000 at 08:49:46PM +0400, Grigoriy Strokin wrote: > Accidentally, I've found out that /usr/sbin/bad144 in my fbsd 4.0 > is dated by December, and there is no bad144 in /usr/src. > So, has it disappeared? Yes it has been removed. Modern drives do it for you. By the time you actually see bad blocks your disk is about to die. IIRC, the code was suffering from bitrot and the drives that really needed it will (ESDI and MFM mostly) aren't supported in 5.0. > I have a HDD with bad blocks, how do I find all of them and mark them? > I've done newfs, then fsck, fsck reports > CANNOT READ: BLK 1114288 CONTINUE? [yn] > several times. Apparently, fsck won't mark the blocks it can't read as bad, > and therefore some data will be written there and then lost. > Am I missing something? How could I achieve functionality > that earlier was provided by bad144? Most likely the disk is dead. If it is even remotly modern it has lost so many blocks that it has run out of spares and thus is ready to toss. -- Brooks -- Any statement of the form "X is the one, true Y" is FALSE. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message