User Tools

Site Tools


computing:storage:disk_prep_test

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
computing:storage:disk_prep_test [2015/03/28 13:09]
gcooper
computing:storage:disk_prep_test [2018/01/17 10:32] (current)
gcooper
Line 44: Line 44:
 ==== Badblocks ==== ==== Badblocks ====
  
-:!: Badblocks can be hazardous to your data.  Make a backup first!+:!: Badblocks can be hazardous to your data.  **Make a backup first!** 
 + 
 +:!: Running ''badblocks'' on **SSDs** may **reduce lifespans**.
  
 There are some valid circumstances where you have to use the '-f' switch to force the testing.  Be careful when doing so to make sure you 'do no harm'. There are some valid circumstances where you have to use the '-f' switch to force the testing.  Be careful when doing so to make sure you 'do no harm'.
Line 65: Line 67:
 === Destructive Test === === Destructive Test ===
  
-This is the best test and uses 4096K blocks for improved speed and saves a log file of bad blocks:+This is the best test and uses 4096K blocks for improved speed and saves a log file of bad blocks (add f to -wvs to force if drive reports in use):
  
 <file> <file>
Line 101: Line 103:
 Note: the syslinux package also includes a mbr.bin file: Note: the syslinux package also includes a mbr.bin file:
 <file> <file>
-sudo dd if=/usr/lib/syslinux/mbr.bin of=/dev/sdf+sudo dd if=/usr/lib/syslinux/mbr.bin of=/dev/sdX
 </file> </file>
  
computing/storage/disk_prep_test.1427569799.txt.gz · Last modified: 2015/03/28 13:09 by gcooper