Difference between revisions of "Bad Block Howto"

From BITPlan Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
At this time i have four different hard disks that are giving me trouble.  
 
At this time i have four different hard disks that are giving me trouble.  
 
All broken harddisks have been taken out of the system and I am analyzing the problem using a virtual machine and a USB-SATA bridge.
 
All broken harddisks have been taken out of the system and I am analyzing the problem using a virtual machine and a USB-SATA bridge.
= First step: remove harddisk from system =
+
= First step: remove harddisk from system and put into SATA USB docking station =
 
Hopefully your disk is not needed to boot or fully operate your system. In that case you might want to boot of a USB stick or other media. In any case my procedure is to remove
 
Hopefully your disk is not needed to boot or fully operate your system. In that case you might want to boot of a USB stick or other media. In any case my procedure is to remove
 
the disk from the original system and use a different system for analysis. In my case i am using an Ubuntu based virtual machine and connect the drive via a USB-SATA bridge.
 
the disk from the original system and use a different system for analysis. In my case i am using an Ubuntu based virtual machine and connect the drive via a USB-SATA bridge.
 
With USB 2 devices the performance is poor. I am not using my old Logilink QP002  Sata Docking Station anymore for this reason.
 
With USB 2 devices the performance is poor. I am not using my old Logilink QP002  Sata Docking Station anymore for this reason.
  
The USB 3 device i bought in 2015:
+
The [https://www.amazon.de/gp/product/B00IJ68U36 USB 3 device i bought in 2015]:
 
https://images-na.ssl-images-amazon.com/images/I/611EMR%2BPqWL._AC_SL1001_.jpg
 
https://images-na.ssl-images-amazon.com/images/I/611EMR%2BPqWL._AC_SL1001_.jpg
 
still serves me well.
 
still serves me well.

Revision as of 10:46, 5 October 2020

Your hard disk fails on Linux - now what?

I happened to me a few times in the last few weeks. A filesystem check for a hard disk would take for ever - my system won't boot. One of the harddisk was reporting errors. At this time i have four different hard disks that are giving me trouble. All broken harddisks have been taken out of the system and I am analyzing the problem using a virtual machine and a USB-SATA bridge.

First step: remove harddisk from system and put into SATA USB docking station

Hopefully your disk is not needed to boot or fully operate your system. In that case you might want to boot of a USB stick or other media. In any case my procedure is to remove the disk from the original system and use a different system for analysis. In my case i am using an Ubuntu based virtual machine and connect the drive via a USB-SATA bridge. With USB 2 devices the performance is poor. I am not using my old Logilink QP002 Sata Docking Station anymore for this reason.

The USB 3 device i bought in 2015: 611EMR%2BPqWL._AC_SL1001_.jpg still serves me well.

Links

fixbad script