From owner-cvs-all Fri Jul 6 0: 4:18 2001 Delivered-To: cvs-all@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id 7454037B405; Fri, 6 Jul 2001 00:04:12 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.3/8.11.3) with ESMTP id f6673sn15239; Fri, 6 Jul 2001 09:03:56 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Peter Jeremy Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/etc diskcheckd.conf In-Reply-To: Your message of "Fri, 06 Jul 2001 15:25:26 +1000." <20010706152526.C506@gsmx07.alcatel.com.au> Date: Fri, 06 Jul 2001 09:03:54 +0200 Message-ID: <15237.994403034@critter> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20010706152526.C506@gsmx07.alcatel.com.au>, Peter Jeremy writes: >On 2001-Jul-06 06:30:36 +0200, Poul-Henning Kamp wrote: >>diskcheckd is not designed or intended to do scrubbing, its goal has >>been reached if it does detection. > >The only problem is that soft errors won't be detected until they >become hard errors - which is too late for the data on the disk. >diskcheckd seems to be a slow (non I/O intensive) way to run >"dd if=/dev/foo of=/dev/null bs=64k". It would be useful if the >disk drivers could report soft errors so that something like >diskcheckd could detect that a disk was going bad whilst it was >still readable. Even if we only see them when they've become hard errors, I still consider it a good thing to notice as early as possible. Yes, if we can improve on diskcheckd I think we should, it may take the cooperation of the driver writers to get a "tell me about any soft errors too" ioctl implemented, but for now, just noticing that a disk is going south is a fair step forward. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message