How can I check whether there are any bad sectors on an externally connected USB hard disk drive?
Answer
- Fix bad blocks on Mac hard disk – includes some non-free and closed source software
- What free or open source software can I use with Mac hardware to verify integrity of every block of a disk …?
It's sometimes inappropriate to use the automatic sector relocation capabilities of a drive, so the question raised by ohho becomes distinctive:
- it's about discovery.
Essentially
If there's a defective sector, then you'll either:
- care about data within that sector; or
- not care
– consider this before performing any action that may cause relocation (or remapping or sparing, or whatever you call it).
Why care?
Whilst SpinRite 6 is not for Macs, a 2003 page for version 5 is enlightening:
Note the section about auto-relocation and the associated risk of dataloss.
SpinRite aside, fast forward a decade from 2003 to 2013:
To the question here …
For Mac – for OS X – I don't know of anything as capable and careful as SpinRite (nothing to disable auto-relocation).
So, as things stand: to verify the sectors of a disk on USB with OS X, we're probably limited to using utilities that may cause relocation. I can't estimate the degree of risk of associated dataloss, but if that risk is acceptable then I should steer first towards:
- the utilities that are up-voted or recommended in related questions (1) and (2) above.
Hint: what's under related question (1) is more immediately user-friendly.
S.M.A.R.T.
The OS alone can not use S.M.A.R.T. technologies on drives that are external on buses such as USB 2.0 and FireWire.
Elsewhere there's a wealth of information ( and misunderstanding ;) so I'll focus this part of the answer on just one point:
- getting Apple's OS to work with S.M.A.R.T. technology with external USB and FireWire drives.
OS X SAT SMART Driver
kasbert / OS-X-SAT-SMART-Driver on GitHub:
… a kernel driver for Mac OS X external USB or FireWire drives. It extends the standard driver behaviour by providing access to drive SMART data. The interface to SMART data is same as with ATA family driver, so most existing applications should work. The driver requires a SAT (SCSI ATA Translation) capable external drive enclosure. …
If you try this KEXT with Lion then – as with any third party kernel extension – proceed with caution.
No comments:
Post a Comment