From owner-freebsd-stable@FreeBSD.ORG Thu Aug 17 14:41:11 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org 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 085F816A4E2 for ; Thu, 17 Aug 2006 14:41:11 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from sccmmhc91.asp.att.net (sccmmhc91.asp.att.net [204.127.203.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id A740543D94 for ; Thu, 17 Aug 2006 14:41:01 +0000 (GMT) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net ([12.207.12.9]) by sccmmhc91.asp.att.net (sccmmhc91) with ESMTP id <20060817144050m9100864v0e>; Thu, 17 Aug 2006 14:41:00 +0000 Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.13.6/8.13.6) with ESMTP id k7HEelER090101; Thu, 17 Aug 2006 09:40:48 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.13.6/8.13.6/Submit) id k7HEeabW090100; Thu, 17 Aug 2006 09:40:36 -0500 (CDT) (envelope-from brooks) Date: Thu, 17 Aug 2006 09:40:36 -0500 From: Brooks Davis To: Antony Mawer Message-ID: <20060817144036.GE89359@lor.one-eyed-alien.net> References: <44E47092.7050104@mawer.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="10jrOL3x2xqLmOsH" Content-Disposition: inline In-Reply-To: <44E47092.7050104@mawer.org> User-Agent: Mutt/1.5.11 Cc: freebsd-stable@freebsd.org Subject: Re: The need for initialising disks before use? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Aug 2006 14:41:11 -0000 --10jrOL3x2xqLmOsH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 17, 2006 at 03:35:14AM -1000, Antony Mawer wrote: > Hi list, >=20 > A quick question - is it recommended to initialise disks before using=20 > them to allow the disks to map out any "bad spots" early on? I've seen=20 > some "uninitialised" disks (ie. new disks, thrown into a machine,=20 > newfs'd) start to show read errors within a few months of deployment,=20 > which I thought one or two might seem okay, but on a number of machines= =20 > is more than a coincidence... >=20 > Is it recommended/required to do something like: >=20 > dd if=3D/dev/zero of=3D/dev/ad0 bs=3D1m >=20 > before use to ensure the drive's sector remappings are all in place,=20 > before then doing a newfs? >=20 > FWIW, I've been seeing this on more 6.0 systems that I would have=20 > thought to be just chance... This probably isn't a bad idea in general. It might even be something we should add to sysinstall. -- Brooks --10jrOL3x2xqLmOsH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFE5H/jXY6L6fI4GtQRAqgzAJ4mUNYF+g0xpxS72Rk7MbG0zMZEKgCfep1/ mndlt3FTNwhzCO0CqJ9hjpo= =YdyP -----END PGP SIGNATURE----- --10jrOL3x2xqLmOsH--