I need tool to read each sector(block) from HDD and write it back to same HDD. Disk is big and so it is not possible to use image creation tools (backup/restore).
Purpose of it - to avoid/resolve Silent Data Degradation (bit rot, decay of storage media,UNC sectors).
Single UNC sector (soft-bad error) could caused Read Instability and as result whole HDD disconnected from OS. I am personally experienced such issue and it disappears when I write zeroes to that UNC sector. Question is - how to solve this problem on regular bases.
Answer
You can do a "non-destructive read-write test" using "badblocks", which has exactly this effect. It transparently backups the data, tests the sectors and then writes it back:
badblocks -nsv /dev/sdx
No comments:
Post a Comment