si-ghan-bi wrote:… What is the best way to check bad blocks?…
I'd like to keep this topic focused on the badblocks approach alone.
There's a question in Ask Different:
What free or open source software can I use with Mac hardware to verify integrity of every block of a disk where Core Storage is used?My primary reason for asking about
precautions – in relation to the badblocks command – was for
this case, where questions surround both (a) goodness of hardware/media and (b) the cause of a kernel panic.
There, I hesitate to recommend badblocks (or any commercial alternative) … might effects of the command make future debugging/diagnosis more difficult?
Maybe I'm unnecessarily cautious. (I simply haven't tested badblocks with my own MacBookPro5,2 where CoreStorage is used to encrypt ZFS)