Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 180.282 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 540.297 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 900.309 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 1080.31 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 1260.32 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 1440.33 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 1620.33 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 1800.34 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 1980.35 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 2160.35 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 2340.36 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 2520.36 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 2700.37 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 2880.37 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 3060.38 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 3240.38 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 3420.39 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 3600.39 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 3780.4 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 3960.41 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 4140.41 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 4320.42 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 4500.43 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 4680.43 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 4860.44 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 5040.45 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 5220.45 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 5400.46 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 5580.46 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 5760.47 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 5940.47 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 6120.48 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 6300.48 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 6480.49 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 6660.49 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 6840.49 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 7020.5 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 7200.51 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 7380.51 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 7560.51 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 7740.52 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 7920.52 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 8100.53 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 8280.53 s, 0.0 kB/s
dd: error reading ‘/dev/sde’: Input/output error
0+0 records in
0+0 records out
And after sometime the size of output file was 0 byte. I used "ddrescue" too :
Just let ddrescue run, at least until there have been no successful reads for at least an hour or two. That may take several days, but it will do the best it can. If the drive supports it, you might speed up the scan by using the "-l scterc" option in smartctl to restrict the time the drive spends trying to do its own error recovery. See the smartctl manpage for details.
Just let ddrescue run, at least until there have been no successful reads for at least an hour or two. That may take several days, but it will do the best it can. If the drive supports it, you might speed up the scan by using the "-l scterc" option in smartctl to restrict the time the drive spends trying to do its own error recovery. See the smartctl manpage for details.
Can you show me the full command?
I used "sudo smartctl -l scterc /dev/sdc" and I got:
Code:
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.16.0-4-amd64] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
Read Device Identity failed: scsi error unknown error (unexpected sense key)
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
I used "sudo smartctl -l scterc /dev/sdc" and I got:
Code:
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.16.0-4-amd64] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
Read Device Identity failed: scsi error unknown error (unexpected sense key)
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
Is this drive connected via USB? It appears that the external enclosure has a USB bridge chip that does not support the needed commands for SMART. There is no workaround for that other than removing the drive from the enclosure and connecting it directly via SATA. (That's assuming that the bare drive actually has an SATA interface. In particular, some WD external drives get rid of the bridge by having the USB interface on the drive itself, so there is no alternative there.)
Is this drive connected via USB? It appears that the external enclosure has a USB bridge chip that does not support the needed commands for SMART. There is no workaround for that other than removing the drive from the enclosure and connecting it directly via SATA. (That's assuming that the bare drive actually has an SATA interface. In particular, some WD external drives get rid of the bridge by having the USB interface on the drive itself, so there is no alternative there.)
never mind, try to take out the hdd and use a sata cable to connect it to your PC.
Before doing that, you might want to see whether the drive supports Error Recovery Control at all. Run "hdparm -I /dev/sdc" and see whether "SCT Error Recovery Control (AC3)" is listed as a supported feature.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.