Advertisement
Hashim

Untitled

Dec 3rd, 2019
444
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.99 KB | None | 0 0
  1. $ dd if=/dev/zero of=/dev/sda status=progress count=1 seek=1953525120
  2. 1+0 records in
  3. 1+0 records out
  4. 512 bytes copied, 0.00405196 s, 126 kB/s
  5.  
  6. $ dd if=/dev/zero of=/dev/sda status=progress count=1 seek=1953525119
  7. 1+0 records in
  8. 1+0 records out
  9. 512 bytes copied, 0.00397515 s, 129 kB/s
  10.  
  11. $ dd if=/dev/zero of=/dev/sda status=progress count=1 seek=1953525121
  12. 1+0 records in
  13. 1+0 records out
  14. 512 bytes copied, 0.00398078 s, 129 kB/s
  15.  
  16. $ badblocks -b 512 -vws /dev/sda 1953525120 1953525120
  17. Checking for bad blocks in read-write mode
  18. From block 1953525120 to 1953525120
  19. Testing with pattern 0xaa: done
  20. Reading and comparing: done
  21. Testing with pattern 0x55: done
  22. Reading and comparing: done
  23. Testing with pattern 0xff: done
  24. Reading and comparing: done
  25. Testing with pattern 0x00: done
  26. Reading and comparing: done
  27. Pass completed, 0 bad blocks found. (0/0/0 errors)
  28.  
  29. $ badblocks -b 512 -vws /dev/sda 1953525119 1953525119
  30. Checking for bad blocks in read-write mode
  31. From block 1953525119 to 1953525119
  32. Testing with pattern 0xaa: done
  33. Reading and comparing: done
  34. Testing with pattern 0x55: done
  35. Reading and comparing: done
  36. Testing with pattern 0xff: done
  37. Reading and comparing: done
  38. Testing with pattern 0x00: done
  39. Reading and comparing: done
  40. Pass completed, 0 bad blocks found. (0/0/0 errors)
  41.  
  42. $ badblocks -b 512 -vws /dev/sda 1953525121 1953525121
  43. Checking for bad blocks in read-write mode
  44. From block 1953525121 to 1953525121
  45. Testing with pattern 0xaa: done
  46. Reading and comparing: done
  47. Testing with pattern 0x55: done
  48. Reading and comparing: done
  49. Testing with pattern 0xff: done
  50. Reading and comparing: done
  51. Testing with pattern 0x00: done
  52. Reading and comparing: done
  53. Pass completed, 0 bad blocks found. (0/0/0 errors)
  54.  
  55. $ dd if=/dev/zero of=/dev/sda bs=4M status=progress
  56. 1000144371712 bytes (1.0 TB, 931 GiB) copied, 8290.05 s, 121 MB/s
  57. dd: error writing '/dev/sda': Input/output error
  58. 238468+0 records in
  59. 238467+0 records out
  60. 1004499828735 bytes (1.0 TB, 936 GiB) copied, 8291.49 s, 121 MB/s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement