Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Question

Is badblocks in read-write mode as effective with a solid state hybrid drive (SSHD) as with a hard disk drive (HDD)?

More specifically:

  • if all blocks of the device are written in that mode, will it allow the controller to identify any bad blocks?

Background

Ubuntu Manpage: badblocks - search a device for bad blocks

I assume that a non-destructive read-only test of blocks of an SSHD:

  • would read some blocks from the SSD level alone
  • and so, might produce a misleading overview of the state of things at the HDD level.

I expect a read-write test to be more effective. This assumes that all writes will eventually flush to HDD.

Example

With option -n for non-destructive read-write mode:

ubuntu@ubuntu:/dev$ sudo badblocks -n -s -v /dev/sda
Checking for bad blocks in non-destructive read-write mode
From block 0 to 732574583
Checking for bad blocks (non-destructive read-write test)
Testing with random pattern:   0.23% done, 1:47 elapsed
                               0.92% done, 7:09 elapsed
                               1.00% done, 7:46 elapsed
                              25.13% done, 3:49:32 elapsed
                              25.13% done, 3:49:33 elapsed
                              25.13% done, 3:49:34 elapsed
                              25.13% done, 3:49:35 elapsed

Related

In Ask Different:

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.