From owner-FreeBSD-users-jp@jp.freebsd.org  Mon Aug 18 08:54:14 1997
Received: by jaz.jp.freebsd.org (8.8.7+2.7Wbeta5/8.7.3) id IAA24562
	Mon, 18 Aug 1997 08:54:14 +0900 (JST)
Received: by jaz.jp.freebsd.org (8.8.7+2.7Wbeta5/8.7.3) with ESMTP id IAA24557
	for <FreeBSD-users-jp@jp.freebsd.org>; Mon, 18 Aug 1997 08:54:12 +0900 (JST)
Received: from smicec-smtp.smicec.co.jp ([172.20.48.128]) by smicecgw1.smicec.co.jp (8.8.5/3.5Wpl7-smicecgw1-970804) with ESMTP id IAA07699 for <FreeBSD-users-jp@jp.freebsd.org>; Mon, 18 Aug 1997 08:53:33 +0900 (JST)
Received: from bm ([172.20.48.250]) by smicec-smtp.smicec.co.jp (8.8.5/3.5Wpl7-smicec-smtp-970804) with SMTP id IAA10052 for <FreeBSD-users-jp@jp.freebsd.org>; Mon, 18 Aug 1997 08:54:27 +0900 (JST)
Date: Mon, 18 Aug 1997 08:54:27 +0900 (JST)
Message-Id: <199708172354.IAA10052@smicec-smtp.smicec.co.jp>
X-Sender: bm@172.20.48.128
X-Mailer:  Macintosh Eudora Pro Version 3.0.2Jr2
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-2022-JP"
Content-Transfer-Encoding: 7bit
To: FreeBSD-users-jp@jp.freebsd.org
From: Bunpei Matoba <bm@partner.smicec.co.jp>
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=20]
X-Sequence: FreeBSD-users-jp 17012
Subject: [FreeBSD-users-jp 17012] Re: HDD backup by dd
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org

$B=;6b@)8f$NE*>l$G$9!%(J

$B$D$.$N!$$"$^$$$1$5$s$+$i$$$?$@$$$?%U%)%m!<$,$-$C$+$1$H$J$j!$(J
EIDE HDD$B$N(Jbad block$B=hM}5!G=$K$D$$$F!$(JNetNews$B$K<ALd$r=P$7!$(J
$B?.Mj$G$-$=$&$J?M$+$i%U%)%m!<$r$b$i$$$^$7$?$N$G!$(J
$B$4Js9p$7$^$9!%(J

At Tue, 15 Jul 1997 18:32:06 +0900, Takeshi Amaike wrote:
>
> > FreeBSD$B$N(JHDD$B$N4]$4$H%P%C%/%"%C%W$r(J
> > $B$b$&0lBf$NM=Hw$N(JHDD$B$KBP$7$F(Jdd$B%3%^%s%I$G<h$j$?$$$H(J
> > $B;W$C$F$*$j$^$9!%$=$N>l9g%P%C%I%V%m%C%/>pJs$O(J
> > $B$I$&$J$k$+$K$D$$$F$N<ALd$G$9!%(J
>
>   $BCN<1E*$J;v$@$1$K?($l$k$H!"(JSCSI$B$N(J HDD$B$J$i$P%I%i%$%VB&$N%3%s%H%m!<%i$,(J
> Bad Block $B$r8+$F$/$l$k$N$G5$$K$9$kI,MW$O$"$j$^$;$s!#(J
>
$B!JESCf>JN,!K(J
>
>   $B$s$,!":G6a$N(J E-IDE$B$N$h$&$J(J intelligent$B$J%I%i%$%V$G$O(J bad144 $B$H$+;H$C(J
> $B$?5-21$b$J$$$7!";H$o$J$$$G$b:$$C$?$3$H$J$$$N$G!"$b$7$+$9$k$H(J SCSI $B$HF1(J
> $BMM$+$C$F$K8+$F$/$l$F$k$N$+$b$7$l$^$;$s!#$3$N$"$?$j$OCN$i$J$$$G$9!#(J
>

comp.sys.ibm.pc.hardware.storage,comp.periphs.scsi$B$K(J
Bad block handling mechanism on EIDE and SCSI HDD disk drive
(Message-ID: <1997Aug12.125623.10824@osa.sumikin.co.jp>)
$B$H$$$&<ALd$r=P$7!$(JHDD$B$K$D$$$F$N$^$H$^$C$?(JFAQ
http://support.quantum.com/faq/idefaq.htm
http://support.quantum.com/faq/scsifaq.htm
http://thef-nym.sci.kun.nl/~pieterh/

$B$NJT<T$G$"$k!$(Jpieterh@sci.kun.nl$B$5$s$K0J2<$NJV;v$r$b$i$$$^$7$?!%(J
(Message-ID: <5t1n8h$639$1@lambda.sci.kun.nl>)

$B$3$l$K$h$k$H!$:G6a$N(J(E)IDE$B$O!$(JATA$B5,3J$KHO0O30$N(J
$B$H$3$m$G%a!<%+Kh$K0[$J$k$d$jJ}$G!$%I%i%$%V$,(J
$B:G=i$+$i3NJ]$7$F$$$k%9%Z%"%;%/%?!<$KBeBX$9$kJ}<0$N(J
$B%G%#%U%'%/%H=hM}$r9T$C$F!$=P2Y8e$KA}2C$7$?(Jbad block$B$r(J
$B1#$7$F$/$l$k$=$&$G$9!%(J

$B$7$?$,$C$F!$(JFreeBSD$B$N(Jbad144$B$r;H$&$N$H$OJL$N%l%Y%k$G!$(J
$BNc$($P(JWestern Digital$B$N(JIDE$B$^$?$O(JEIDE$B$N%G%#%9%/$r(J
$B;H$C$F$$$F(Jbad block$B$,A}2C$7$F$7$^$C$?>l9g$K$O!$(J
$B$=$N%G%#%9%/$r40$Z$-$K:F%U%)!<%^%C%H$7$F$7$^$C$F$b(J
$B$h$$$N$J$i$P!$(J
Western Digital$B$,G[I[$7$F$$$k(JDOS$B%W%m%0%i%`(J

ftp://ftp.wdc.com/drivers/hdutil/wdatide.exe

$B$r;H$C$?(Jbad block$B=hM}$,$G$-$^$9!%(J

bad144$B$O(J128$B8DJ,$N=hM}$7$+$G$-$^$;$s$,!$(J
$B$3$l$@$H$=$l0J>e$N8D?t$N=hM}$,4|BT$G$-$=$&$G$9!%(J
wdatide.exe$B$O(J9$B8D$N%G!<%?%Q%?!<%s$K$D$$$F(J3$B2s$:$D(J
$B%G%#%9%/$KBP$7$F=q9~$_FI=P$7$r9T$$!$(J
$BE0DlE*$K%G%#%9%/$r%A%'%C%/$7$F%P%C%I%V%m%C%/(J
$B$r8!=P$7$F$/$l$^$9!%(J

> bm@partner.smicec.co.jp (Bunpei Matoba) writes:
>
>  >Please tell me a difference of a bad block handling mechanism
>  >between on an EIDE HDD on a SCSI HDD.
>  >I hear that an IDE HDD has no bad block covering capability
>  >on its drive while a SCSI-2 HDD has the capability on it.
>  >How about EIDE?
>
> IDE has had a bad block handling mechanism for ages. It's the reason
> these drives ship off factory with NO bad sectors.
>
> Mapping out *grown* defects is another matter, however. (For other
> readers: each and every (E)IDE and SCSI drive has an error correction
> mechanism which allows it to recover damaged data to some extent. In
> principle, the drive can copy the data off a damaged sector to a spare
> one and use that fresh, spare sector instead of the damaged one. This
> prevents data loss).
>
> My understanding (which is not 100% reliable) is that older IDE drives
> did not attempt to hide grown defects, but newer (E)IDE ones do. When
> the transition was made, I don't know.
>
>  >People say "wdat_ide.exe" provided by Western Digital
>  >can hide growing bad sectors.
>
> Confirmed.
>
>  >How does the program deal with the bad sectors on an EIDE drive?
>
> It performs a surface scan with retries and error correction switched
> off (so that unreliable sectors can be detected) and uses vendor
> specific commands to update the drive's defect map. Since this is all
> well beyond the bounds of the ATA specification the program is vendor
> specific. Moreover, since it has to deal with the physical layout of the
> drive, it has to be updated with each and every new drive released.
>
>  - Peter
>

--
Bunpei Matoba
Computer System Division
Sumitomo Metal Industries Control & Engineering Corp.
Amagasaki Japan
Phone: +81-6-418-4707    fax. +81-6-418-4764
Nifty-Serve: JAE00767   CompuServe: 72300,3551
http://www.nerimadors.or.jp/~bunpei/index.html


