I got an external drive that may need to be repaired.
When I try to mount it, I get the following error:
wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error.
I have issues to repair the disk. I wanted to make a image copy of the disk before attempting any fsck
repair. However making a image clone with dd
takes 111 days for 300GB, and this is not an option:
dd if=/dev/input/DEVICE-HERE of=/dev/OUTPUT/DEVICE-HERE bs=64K conv=noerror,sync
This is the output from the dd
command, and it is warning me that there is an error in the drive:
42598400 bytes (43 MB, 41 MiB) copied, 2035.41 s, 20.9 kB/s
42663936 bytes (43 MB, 41 MiB) copied, 2039 s, 20.9 kB/s
dd: error reading '/dev/sda1': Input/output error
437+214 records in
651+0 records out
42663936 bytes (43 MB, 41 MiB) copied, 2042.48 s, 20.9 kB/s
42991616 bytes (43 MB, 41 MiB) copied, 2048 s, 21.0 kB/s
dd: error reading '/dev/sda1': Input/output error
441+215 records in
656+0 records out
42991616 bytes (43 MB, 41 MiB) copied, 2051.39 s, 21.0 kB/s
43253760 bytes (43 MB, 41 MiB) copied, 2055 s, 21.0 kB/s
dd: error reading '/dev/sda1': Input/output error
444+216 records in
660+0 records out
43253760 bytes (43 MB, 41 MiB) copied, 2058.75 s, 21.0 kB/s
43581440 bytes (44 MB, 42 MiB) copied, 2062 s, 21.1 kB/s
Any suggestions?
dd
command is rather small. You can improve the performance by choosing a larger block size (although 300 GB is large, of course). – AdminBee Apr 21 '20 at 10:30