Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Feb 2010 06:22:59 -0800
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: one more load-cycle-count problem
Message-ID:  <20100208142259.GA3210@icarus.home.lan>
In-Reply-To: <cf9b1ee01002080556s4d6cc981sf17106692da701da@mail.gmail.com>
References:  <cf9b1ee01002080543m7a403a6ej1f25b88c47f18c68@mail.gmail.com> <20100208145504.762eaa7b.gerrit@pmp.uni-hannover.de> <cf9b1ee01002080556s4d6cc981sf17106692da701da@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 08, 2010 at 03:56:35PM +0200, Dan Naumov wrote:
> 2010/2/8 Gerrit Kühn <gerrit@pmp.uni-hannover.de>:
> > On Mon, 8 Feb 2010 15:43:46 +0200 Dan Naumov <dan.naumov@gmail.com> wrote
> > about RE: one more load-cycle-count problem:
> >
> > DN> >Any further ideas how to get rid of this "feature"?
> >
> > DN> 1) The most "clean" solution is probably using the WDIDLE3 utility on
> > DN> your drives to disable automatic parking or in cases where its not
> > DN> possible to complete disable it, you can adjust it to 5 minutes, which
> > DN> essentially solves the problem. Note that going this route will
> > DN> probably involve rebuilding your entire array from scratch, because
> > DN> applying WDIDLE3 to the disk is likely to very slightly affect disk
> > DN> geometry, but just enough for hardware raid or ZFS or whatever to bark
> > DN> at you and refuse to continue using the drive in an existing pool (the
> > DN> affected disk can become very slightly smaller in capacity). Backup
> > DN> data, apply WDIDLE3 to all disks. Recreate the pool, restore backups.
> > DN> This will also void your warranty if used on the new WD drives,
> > DN> although it will still work just fine.
> >
> > Thanks for the warning. How on earth can a tool to set the idle time
> > affect the disk geometry?!
> 
> WDIDLE3 changes the drive firmware. This is also how WD can detect
> you've used it on your disk and void your warranty accordingly :)

I have to assume WDIDLE3 is identical in implementation/style as WDTLER
is -- the firmware itself does not change but rather some tuning
settings in an EEPROM on the drive PCB (which may be embedded in the
on-PCB I/O controller -- yes this is possible, PIC chips offer this).

Last I remember, there *is not* a way to determine if someone has ever
adjusted these settings.  As long as you set them back to their factory
defaults (whatever those values are; the EXEs tell you what they were
before they change them), there's no accurate way to determine whether
or not the settings had been adjusted since the disk was shipped.

The DOS utilities submit custom ATA CMDs or data to all WD disks to
toggle or adjust these features.  If someone could figure out what the
command(s) were, the feature(s) could be implemented into atacontrol(8).
Of course, that would require reverse-engineering of the EXEs, which
would probably induce DMCA-related lawsuits (in the US).  Sad too, since
documentation of said feature(s) would improve customer satisfaction.
But hey, I'm just an engineer, what do I know.

-- 
| Jeremy Chadwick                                   jdc@parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100208142259.GA3210>