Date: Thu, 17 Aug 2006 09:40:36 -0500 From: Brooks Davis <brooks@one-eyed-alien.net> To: Antony Mawer <fbsd-stable@mawer.org> Cc: freebsd-stable@freebsd.org Subject: Re: The need for initialising disks before use? Message-ID: <20060817144036.GE89359@lor.one-eyed-alien.net> In-Reply-To: <44E47092.7050104@mawer.org> References: <44E47092.7050104@mawer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Thu, Aug 17, 2006 at 03:35:14AM -1000, Antony Mawer wrote: > Hi list, > > A quick question - is it recommended to initialise disks before using > them to allow the disks to map out any "bad spots" early on? I've seen > some "uninitialised" disks (ie. new disks, thrown into a machine, > newfs'd) start to show read errors within a few months of deployment, > which I thought one or two might seem okay, but on a number of machines > is more than a coincidence... > > Is it recommended/required to do something like: > > dd if=/dev/zero of=/dev/ad0 bs=1m > > before use to ensure the drive's sector remappings are all in place, > before then doing a newfs? > > FWIW, I've been seeing this on more 6.0 systems that I would have > 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFE5H/jXY6L6fI4GtQRAqgzAJ4mUNYF+g0xpxS72Rk7MbG0zMZEKgCfep1/ mndlt3FTNwhzCO0CqJ9hjpo= =YdyP -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060817144036.GE89359>
