bad blocks, the best way to find it

Status
Not open for further replies.

BenGonGon

Dabbler
Joined
Jun 23, 2011
Messages
38
Hello,

I want to know the best way to find any bad block on HDD without stopping to use service?

I have read many posts and I cannot determine the good one.

Thank you for help and best regards,
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
To actually fully test each block generally required destructive writes. This means erasing the entire hard drive. You can also run a smart long test that will read all of the disk and monitor for read errors only.
 

BenGonGon

Dabbler
Joined
Jun 23, 2011
Messages
38
I am in RAID Z2
if I perform a destructive on 1 disk, i cannot reconstruct it after?
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
I am in RAID Z2
if I perform a destructive on 1 disk, i cannot reconstruct it after?
You can but unless you suspect a bad disk, I would not take the chance.
 

BenGonGon

Dabbler
Joined
Jun 23, 2011
Messages
38
Ok, it is a bad idea to use
Code:
badblocks
command

For have a full report do i use ?

Code:
smartctl -x -t long /dev/ada<x>
 
Last edited:
Status
Not open for further replies.
Top