Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #13409

Re: How to force copy retries until finally copied all due to a dying old HDD in Linux?

From Robert Nichols <SEE_SIGNATURE@localhost.localdomain.invalid>
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?
Date 2015-01-11 19:23 -0600
Organization Exiguous
Message-ID <m8v7mi$ff4$1@omega-3a.local> (permalink)
References (7 earlier) <m8rcgt$3um$1@omega-3a.local> <ZqKdnVdvz4021CzJnZ2dnUU7-QednZ2d@earthlink.com> <m8tvte$679$1@omega-3a.local> <ZrGdnYsSWdAAIC_JnZ2dnUU7-QOdnZ2d@earthlink.com> <HeudndgXhPt6Iy_JnZ2dnUU7-V-dnZ2d@earthlink.com>

Cross-posted to 4 groups.

Show all headers | View raw


On 01/11/2015 12:20 PM, Ant wrote:
> On 1/11/2015 10:14 AM, Ant wrote:
>>     Device Boot      Start         End      Blocks   Id  System
>> /dev/sda2          578340   156296384    77859022+   5  Extended
>> /dev/sda5          581632   156295167    77856768   83  Linux
>>
>> Disk /dev/sdg: 80.0 GB, 80026361856 bytes
>> 255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
>> Units = sectors of 1 * 512 = 512 bytes
>> Sector size (logical/physical): 512 bytes / 512 bytes
>> I/O size (minimum/optimal): 512 bytes / 512 bytes
>> Disk identifier: 0x1c7391d2
>>
>>     Device Boot      Start         End      Blocks   Id  System
>> /dev/sdg1            2048   156301311    78149632   83  Linux
>>
>>
>> As for ummounted sdg1, I think I did that when I tried to copy sda5
>> partition into it (was an ext4, but turned into ext3), but not as an
>> image. It failed as shown in
>> http://pastie.org/pastes/9813433/text?key=y5rqiou5fsukcgvngnamw ... I'll
>> try again as an image file this time and follow-up. :)
>
> 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.

-- 
Bob Nichols         AT comcast.net I am "RNichols42"

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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