Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Apr 2017 13:44:17 +0100
From:      Dave <freebsd01@dgmm.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: hopefully simple query regarding dd
Message-ID:  <124362403.VE01vY07d0@amd.asgard.uk>
In-Reply-To: <33df8ac0-3d45-2945-fd4f-f4068ce60f8c@zyxst.net>
References:  <7ed0944d-56d0-fc10-629b-b90067f48651@zyxst.net> <20170413103601.ae71e4fa9a2b5d9b024a71fc@sohara.org> <33df8ac0-3d45-2945-fd4f-f4068ce60f8c@zyxst.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 13 April 2017 11:08:23 tech-lists wrote:
>   5 Reallocated_Sector_Ct   PO--CK   183   183   140    -    143
> 197 Current_Pending_Sector  -O--CK   001   001   000    -    65216
> 198 Offline_Uncorrectable   ----CK   100   253   000    -    0
> 196 Reallocated_Event_Count -O--CK   196   196   000    -    4

Reallocated sectors are sectors where the HDD firmware was unable
to reliably read the data repeatedly and so has used the one or
more successful reads to move the data to a spare track.

Pending sectors are sectors where there has been one or more 
unsuccessful reads followed by a successful read.  This will
remain pending unless and until the HDD gets a successful
first time read, in which case it goes back to ok, or fails
again and it gets remapped.

Basically, it all means the HDD is almost certainly on it's
way out and should be replaced if you value your data.

For testing an HDD, personally I'd use either the manufacturers
diags tools or HDAT2 (booted from FreeDOS).  Both Seagate and WD
have DOS bootable tools on their websites, Seatools (Seagate)
and Dlgdiags (WD).  Others probably do too, but HDAT2 is universal
and also does various surface scans including read/write/verify
which will "refresh" your data with error checking, unlike the
more dangerous dd.  HDAT2 may require you to manually switch the
HDD mode to IDE from AHCI because on some BIOS it fails to perform
the switch itself.  Another option to HDAT2 is MHDD.  Similar
features but less menu oriented like HDAT2.



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