1. # badblocks -vw /dev/sda
  2. Checking for bad blocks in read-write mode
  3. From block 0 to 976762583
  4. Testing with pattern 0xaa: done
  5. Reading and comparing: done
  6. Testing with pattern 0x55: done
  7. Reading and comparing: 56455760
  8. done
  9. Testing with pattern 0xff: done
  10. Reading and comparing: done
  11. Testing with pattern 0x00: done
  12. Reading and comparing: done
  13. Pass completed, 1 bad blocks found. (1/0/0 errors)
  14. #