Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #13416
| Date | 2015-01-12 22:44 -0800 |
|---|---|
| From | Ant <ant@zimage.comANT> |
| Newsgroups | comp.os.linux.misc, comp.os.linux.help, comp.os.linux.setup, comp.os.linux.hardware |
| Subject | Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? |
| References | (8 earlier) <ZqKdnVdvz4021CzJnZ2dnUU7-QednZ2d@earthlink.com> <m8tvte$679$1@omega-3a.local> <ZrGdnYsSWdAAIC_JnZ2dnUU7-QOdnZ2d@earthlink.com> <HeudndgXhPt6Iy_JnZ2dnUU7-V-dnZ2d@earthlink.com> <m8v7mi$ff4$1@omega-3a.local> |
| Message-ID | <kcadnYBoDOVYIynJnZ2dnUU7-bGdnZ2d@earthlink.com> (permalink) |
Cross-posted to 4 groups.
On 1/11/2015 5:23 PM, Robert Nichols wrote:
...
>> It failed quickly when I tried it:
>>
>> # time ddrescue -r -1 /dev/sda5 /dev/sdg1/CopiedDyingSDA5 ImageFileLog
>> ddrescue: Can't open output file: Not a directory
>
> You want just
>
> time ddrescue -r -1 /dev/sda5 /dev/sdg1 ImageFileLog
>
> You don't get to add a name. When it's done, sdg1 will be a mountable
> filesystem identical to however much of sda5 could be recovered. Even the
> filesystem label (if any) and the UUID will be the same, so you might
> want to use /tune2fs/ to change those afterward. There should be enough
> space, as sdg1 is slightly larger than sda5.
Ah. Well, I ended up with a brand new 2 TB WD HDD (partitioned in half
with EXT4 FS) and my hardware friend replaced the dying HDD in my PC.
Dying HDD is my sdg(5 is the one I want to copy) and the new HDD
partition I am making an image is in /media/Storage2b/CopiedDyingStorage
and 1 TB better be enough. I hope I am doing this correctly for over a
day so far:
# time ddrescue /dev/sdg5 /media/Storage2b/CopiedDyingStorage ImageFileLog
GNU ddrescue 1.16
Press Ctrl-C to interrupt
Initial status (read from logfile)
rescued: 8641 MB, errsize: 29099 MB, errors: 42
Current status
rescued: 8641 MB, errsize: 29099 MB, current rate: 0 B/s
rescued: 8718 MB, errsize: 71006 MB, current rate: 16384 B/s
ipos: 18350 kB, errors: 56, average rate: 1041 B/s
opos: 18350 kB, time since last successful read: 0 s
Splitting failed blocks...
I saw "-rwxrwxrwx 1 root root 8.2G Jan 12 22:34 CopiedDyingStorage". It
is still going.
$ df
Filesystem 1K-blocks
Used Available Use% Mounted on
rootfs 960504
733704 178008 81% /
udev 10240
0 10240 0% /dev
tmpfs 206056
5936 200120 3% /run
/dev/disk/by-uuid/242d81f2-8a0d-48e1-a144-22ab4d2b9407 960504
733704 178008 81% /
tmpfs 5120
8 5112 1% /run/lock
tmpfs 1193200
80 1193120 1% /run/shm
/dev/sda9 50013916
2123204 45350120 5% /home
/dev/sda5 960504
24568 887144 3% /tmp
/dev/sda8 49982172
6442520 41000644 14% /usr
/dev/sda6 4804736
1801296 2759372 40% /var
/dev/sdb2 961428808
23414852 889176120 3% /media/Storage2b
/dev/sdb1 961428808
351230000 561360972 39% /media/Storage2a
I am surprised the dying HDD still works ever since it went crazy. :P
--
"Is it for pleasure you were made? Not for doing, and for action? Look
at the plants, the sparrows, the ants, spiders, bees, all doing their
business, helping to weld the order of the world. And will you refuse
man's part? And not run the way of nature's ordering?" --Marcus Aurelius
/\___/\ Ant(Dude) @ http://antfarm.ma.cx (Personal Web Site)
/ /\ /\ \ Ant's Quality Foraged Links: http://aqfl.net
| |o o| |
\ _ / If crediting, then use Ant nickname and AQFL URL/link.
( ) If e-mailing, then axe ANT from its address if needed.
Ant is currently not listening to any songs on this computer.
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to force copy retries until finally copied all due to a dying old HDD in Linux? Ant <ant@zimage.comANT> - 2015-01-04 06:55 -0800
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Robert Heller <heller@deepsoft.com> - 2015-01-04 09:23 -0600
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Ant <ant@zimage.comANT> - 2015-01-04 09:19 -0800
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Rich <rich@example.invalid> - 2015-01-04 18:27 +0000
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Robert Heller <heller@deepsoft.com> - 2015-01-04 13:54 -0600
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? ebenZEROONE@verizon.net (Hactar) - 2015-02-19 19:00 -0500
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Marc Haber <mh+usenetspam1118@zugschl.us> - 2015-01-05 14:10 +0100
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Lusotec <nomail@nomail.not> - 2015-01-04 15:39 +0000
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Ant <ant@zimage.comANT> - 2015-01-04 09:25 -0800
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Lusotec <nomail@nomail.not> - 2015-01-04 17:49 +0000
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Ant <ant@zimage.comANT> - 2015-01-04 13:07 -0800
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? William Unruh <unruh@invalid.ca> - 2015-01-04 21:57 +0000
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Ant <ant@zimage.comANT> - 2015-01-09 18:32 -0800
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Gernot Fink <g.fink@gmx.net> - 2015-01-10 08:42 +0100
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Ant <ant@zimage.comANT> - 2015-01-10 07:51 -0800
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Gernot Fink <g.fink@gmx.net> - 2015-01-10 20:38 +0100
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Ant <ant@zimage.comANT> - 2015-01-10 17:24 -0800
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Rich <rich@example.invalid> - 2015-01-10 03:35 +0000
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? William Unruh <unruh@invalid.ca> - 2015-01-10 03:54 +0000
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? William Unruh <unruh@invalid.ca> - 2015-01-04 18:12 +0000
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Robert Heller <heller@deepsoft.com> - 2015-01-04 12:26 -0600
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? The Natural Philosopher <tnp@invalid.invalid> - 2015-01-04 23:23 +0000
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Marc Haber <mh+usenetspam1118@zugschl.us> - 2015-01-05 14:11 +0100
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? William Unruh <unruh@invalid.ca> - 2015-01-04 18:07 +0000
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Ant <ant@zimage.comANT> - 2015-01-04 13:10 -0800
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? William Unruh <unruh@invalid.ca> - 2015-01-04 22:09 +0000
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Ant <ant@zimage.comANT> - 2015-01-04 15:25 -0800
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Chris Davies <chris-usenet@roaima.co.uk> - 2015-01-06 20:25 +0000
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Rich <rich@example.invalid> - 2015-01-04 22:12 +0000
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Ant <ant@zimage.comANT> - 2015-01-04 15:26 -0800
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Rich <rich@example.invalid> - 2015-01-05 00:21 +0000
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Ant <ant@zimage.comANT> - 2015-01-04 18:32 -0800
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Ant <ant@zimage.comANT> - 2015-01-04 19:36 -0800
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> - 2015-01-06 08:58 -0600
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Ant <ant@zimage.comANT> - 2015-01-09 18:33 -0800
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> - 2015-01-10 08:21 -0600
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Ant <ant@zimage.comANT> - 2015-01-10 07:47 -0800
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Gernot Fink <g.fink@gmx.net> - 2015-01-10 20:45 +0100
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> - 2015-01-11 08:04 -0600
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Ant <ant@zimage.comANT> - 2015-01-11 10:14 -0800
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Ant <ant@zimage.comANT> - 2015-01-11 10:20 -0800
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> - 2015-01-11 19:23 -0600
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Ant <ant@zimage.comANT> - 2015-01-12 22:44 -0800
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> - 2015-01-13 08:39 -0600
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Ant <ant@zimage.comANT> - 2015-01-14 08:33 -0800
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? William Unruh <unruh@invalid.ca> - 2015-01-14 17:20 +0000
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Ant <ant@zimage.comANT> - 2015-01-15 00:46 -0800
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Ant <ant@zimage.comANT> - 2015-01-17 17:59 -0800
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> - 2015-01-18 08:45 -0600
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Ant <ant@zimage.comANT> - 2015-01-18 14:04 -0800
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? ebenZEROONE@verizon.net (Hactar) - 2015-02-19 22:15 -0500
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Ant <ant@zimage.comANT> - 2015-02-20 22:47 -0800
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid> - 2015-01-14 23:05 -0600
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Ant <ant@zimage.comANT> - 2015-01-15 00:43 -0800
Re: How to force copy retries until finally copied all due to a dying old HDD in Linux? Marc Haber <mh+usenetspam1118@zugschl.us> - 2015-01-05 14:13 +0100
csiph-web