oops, i recovered right over my good hard drive

View: New views
6 Messages — Rating Filter:   Alert me  

oops, i recovered right over my good hard drive

by MiJaMu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In desparation, i used ddrescue (successfully!) to save a failed hard
drive.  Unfortunately, i didn't read the instructions carefully enough.
The failing HD is 40 GB (/dev/sdc)
I decided to put the rescued data on 500 GB misc. drive (/dev/sdb)

stupidly, i typed:
ddrescue -n /dev/sdc1 /dev/sdb1
Instead of creating an image, like i intended, I just overwrote the
entire partition on sdb1!  I got the rescued data off that i needed, now
i need to
get /dev/sdb1 back because now all the system sees is a 40GB partition.  
Any ideas?
thanks



_______________________________________________
Bug-ddrescue mailing list
Bug-ddrescue@...
http://lists.gnu.org/mailman/listinfo/bug-ddrescue

Re: oops, i recovered right over my good hard drive

by David Liana :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Unless I'm completely missing something, you will never be able to fully get back your data on /dev/sdb1, since you over wrote it with the contents of /dev/sdc


----- Original Message -----
From: "Michael Mullen" <MiJaMu@...>
To: bug-ddrescue@...
Sent: Tuesday, May 19, 2009 12:18:53 PM GMT -05:00 US/Canada Eastern
Subject: [Bug-ddrescue] oops, i recovered right over my good hard drive

In desparation, i used ddrescue (successfully!) to save a failed hard
drive.  Unfortunately, i didn't read the instructions carefully enough.
The failing HD is 40 GB (/dev/sdc)
I decided to put the rescued data on 500 GB misc. drive (/dev/sdb)

stupidly, i typed:
ddrescue -n /dev/sdc1 /dev/sdb1
Instead of creating an image, like i intended, I just overwrote the
entire partition on sdb1!  I got the rescued data off that i needed, now
i need to
get /dev/sdb1 back because now all the system sees is a 40GB partition.  
Any ideas?
thanks



_______________________________________________
Bug-ddrescue mailing list
Bug-ddrescue@...
http://lists.gnu.org/mailman/listinfo/bug-ddrescue


_______________________________________________
Bug-ddrescue mailing list
Bug-ddrescue@...
http://lists.gnu.org/mailman/listinfo/bug-ddrescue

Parent Message unknown Re: oops, i recovered right over my good hard drive

by andrew zajac-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Was there anything useful on that partition before your "Oops"?

Because the filesystem that was once there is not recoverable.  However, you may be able to use file-carving to recover some files from what you currently have.  You only overwrote 40 gigs out of a possible 500 gigs.

Look into Photorec or Foremost to recover your data.

If the problem is that you just want to be able to "see" the other 460 Gigs that was once there, reformat the partition.  You currently have a 500 gig partition with a 40 gig filesystem on it.  That's why it only appears as a 40 gig drive.

Good luck!

Andrew


--- On Tue, 5/19/09, Michael Mullen <MiJaMu@...> wrote:

From: Michael Mullen <MiJaMu@...>
Subject: [Bug-ddrescue] oops, i recovered right over my good hard drive
To: bug-ddrescue@...
Received: Tuesday, May 19, 2009, 12:18 PM

In desparation, i used ddrescue (successfully!) to save a failed hard drive.  Unfortunately, i didn't read the instructions carefully enough.
The failing HD is 40 GB (/dev/sdc)
I decided to put the rescued data on 500 GB misc. drive (/dev/sdb)

stupidly, i typed:
ddrescue -n /dev/sdc1 /dev/sdb1
Instead of creating an image, like i intended, I just overwrote the entire partition on sdb1!  I got the rescued data off that i needed, now i need to
get /dev/sdb1 back because now all the system sees is a 40GB partition.  Any ideas?
thanks



_______________________________________________
Bug-ddrescue mailing list
Bug-ddrescue@...
http://lists.gnu.org/mailman/listinfo/bug-ddrescue


Get the name you've always wanted ! @ymail.com or @rocketmail.com.
_______________________________________________
Bug-ddrescue mailing list
Bug-ddrescue@...
http://lists.gnu.org/mailman/listinfo/bug-ddrescue

Re: oops, i recovered right over my good hard drive

by David Favro-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Michael,

You're not completely clear on whether you're trying to recover the
*data* that was on /dev/sdb, or just get back a blank 500GB partition.

The latter is easy, just format a blank filesystem, e.g. using "mke2fs
-j /dev/sdb1".  (I assume you didn't overwrite the partition table since
the command-line you quoted would not do so.)

The former is more difficult, and as already has been noted, you
probably won't recover 100% of what was there.

I would use a tool such as photorec to retrieve the files.  Photorec is
my preferred tool, but you could also try scalpel and perhaps some others.

Good luck,
David

Michael Mullen wrote:

> In desparation, i used ddrescue (successfully!) to save a failed hard
> drive.  Unfortunately, i didn't read the instructions carefully enough.
> The failing HD is 40 GB (/dev/sdc)
> I decided to put the rescued data on 500 GB misc. drive (/dev/sdb)
>
> stupidly, i typed:
> ddrescue -n /dev/sdc1 /dev/sdb1
> Instead of creating an image, like i intended, I just overwrote the
> entire partition on sdb1!  I got the rescued data off that i needed,
> now i need to
> get /dev/sdb1 back because now all the system sees is a 40GB
> partition.  Any ideas?
> thanks


_______________________________________________
Bug-ddrescue mailing list
Bug-ddrescue@...
http://lists.gnu.org/mailman/listinfo/bug-ddrescue

Parent Message unknown Re: oops, i recovered right over my good hard drive

by MiJaMu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I knew i could always reformat the 500 GB drive, but i am now running photorec (6 hours remaining, yea!)  and putting the results on a spare USB hard drive.  So is there a way, using something like mk2fs, to create/reset the partition to the full 500 GB but have the new partition keep whatever data was on there before?
thanks
~ Mike

bug-ddrescue-request@... wrote:
Send Bug-ddrescue mailing list submissions to
	bug-ddrescue@...

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.gnu.org/mailman/listinfo/bug-ddrescue
or, via email, send a message with subject or body 'help' to
	bug-ddrescue-request@...

You can reach the person managing the list at
	bug-ddrescue-owner@...

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bug-ddrescue digest..."


Today's Topics:

   1. oops, i recovered right over my good hard drive (Michael Mullen)
   2. Re: oops, i recovered right over my good hard drive (David Liana)
   3. Re: oops, i recovered right over my good hard drive (andrew zajac)
   4. Re: oops, i recovered right over my good hard drive (David Favro)


----------------------------------------------------------------------

Message: 1
Date: Tue, 19 May 2009 11:18:53 -0500
From: Michael Mullen MiJaMu@...
Subject: [Bug-ddrescue] oops, i recovered right over my good hard
	drive
To: bug-ddrescue@...
Message-ID: 4A12DBED.3010601@...
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

In desparation, i used ddrescue (successfully!) to save a failed hard 
drive.  Unfortunately, i didn't read the instructions carefully enough.
The failing HD is 40 GB (/dev/sdc)
I decided to put the rescued data on 500 GB misc. drive (/dev/sdb)

stupidly, i typed:
ddrescue -n /dev/sdc1 /dev/sdb1
Instead of creating an image, like i intended, I just overwrote the 
entire partition on sdb1!  I got the rescued data off that i needed, now 
i need to
get /dev/sdb1 back because now all the system sees is a 40GB partition.  
Any ideas?
thanks





------------------------------

Message: 2
Date: Tue, 19 May 2009 17:17:10 +0000 (UTC)
From: David Liana dliana@...
Subject: Re: [Bug-ddrescue] oops, i recovered right over my good hard
	drive
To: bug-ddrescue@...
Message-ID:
	1173533666.1802371242753430673.JavaMail.root@...
	
Content-Type: text/plain; charset=utf-8

Unless I'm completely missing something, you will never be able to fully get back your data on /dev/sdb1, since you over wrote it with the contents of /dev/sdc


----- Original Message -----
From: "Michael Mullen" MiJaMu@...
To: bug-ddrescue@...
Sent: Tuesday, May 19, 2009 12:18:53 PM GMT -05:00 US/Canada Eastern
Subject: [Bug-ddrescue] oops, i recovered right over my good hard drive

In desparation, i used ddrescue (successfully!) to save a failed hard 
drive.  Unfortunately, i didn't read the instructions carefully enough.
The failing HD is 40 GB (/dev/sdc)
I decided to put the rescued data on 500 GB misc. drive (/dev/sdb)

stupidly, i typed:
ddrescue -n /dev/sdc1 /dev/sdb1
Instead of creating an image, like i intended, I just overwrote the 
entire partition on sdb1!  I got the rescued data off that i needed, now 
i need to
get /dev/sdb1 back because now all the system sees is a 40GB partition.  
Any ideas?
thanks



_______________________________________________
Bug-ddrescue mailing list
Bug-ddrescue@...
http://lists.gnu.org/mailman/listinfo/bug-ddrescue




------------------------------

Message: 3
Date: Tue, 19 May 2009 11:00:02 -0700 (PDT)
From: andrew zajac arzajac@...
Subject: Re: [Bug-ddrescue] oops, i recovered right over my good hard
	drive
To: bug-ddrescue@..., Michael Mullen MiJaMu@...
Message-ID: 98949.72279.qm@...
Content-Type: text/plain; charset="iso-8859-1"

Was there anything useful on that partition before your "Oops"?

Because the filesystem that was once there is not recoverable.  However, you may be able to use file-carving to recover some files from what you currently have.  You only overwrote 40 gigs out of a possible 500 gigs.

Look into Photorec or Foremost to recover your data.

If the problem is that you just want to be able to "see" the other 460 Gigs that was once there, reformat the partition.  You currently have a 500 gig partition with a 40 gig filesystem on it.  That's why it only appears as a 40 gig drive.

Good luck!

Andrew


--- On Tue, 5/19/09, Michael Mullen MiJaMu@... wrote:

From: Michael Mullen MiJaMu@...
Subject: [Bug-ddrescue] oops, i recovered right over my good hard drive
To: bug-ddrescue@...
Received: Tuesday, May 19, 2009, 12:18 PM

In desparation, i used ddrescue (successfully!) to save a failed hard drive.  Unfortunately, i didn't read the instructions carefully enough.
The failing HD is 40 GB (/dev/sdc)
I decided to put the rescued data on 500 GB misc. drive (/dev/sdb)

stupidly, i typed:
ddrescue -n /dev/sdc1 /dev/sdb1
Instead of creating an image, like i intended, I just overwrote the entire partition on sdb1!  I got the rescued data off that i needed, now i need to
get /dev/sdb1 back because now all the system sees is a 40GB partition.  Any ideas?
thanks



_______________________________________________
Bug-ddrescue mailing list
Bug-ddrescue@...
http://lists.gnu.org/mailman/listinfo/bug-ddrescue



      __________________________________________________________________
Get the name you've always wanted @ymail.com or @rocketmail.com! Go to http://ca.promos.yahoo.com/jacko/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gnu.org/pipermail/bug-ddrescue/attachments/20090519/05a37895/attachment.html

------------------------------

Message: 4
Date: Tue, 19 May 2009 14:03:37 -0400
From: David Favro bug-ddrescue@...
Subject: Re: [Bug-ddrescue] oops, i recovered right over my good hard
	drive
To: Michael Mullen MiJaMu@...
Cc: bug-ddrescue@...
Message-ID: 4A12F479.60206@...
Content-Type: text/plain; charset=UTF-8

Hi Michael,

You're not completely clear on whether you're trying to recover the
*data* that was on /dev/sdb, or just get back a blank 500GB partition.

The latter is easy, just format a blank filesystem, e.g. using "mke2fs
-j /dev/sdb1".  (I assume you didn't overwrite the partition table since
the command-line you quoted would not do so.)

The former is more difficult, and as already has been noted, you
probably won't recover 100% of what was there.

I would use a tool such as photorec to retrieve the files.  Photorec is
my preferred tool, but you could also try scalpel and perhaps some others.

Good luck,
David

Michael Mullen wrote:
  
In desparation, i used ddrescue (successfully!) to save a failed hard
drive.  Unfortunately, i didn't read the instructions carefully enough.
The failing HD is 40 GB (/dev/sdc)
I decided to put the rescued data on 500 GB misc. drive (/dev/sdb)

stupidly, i typed:
ddrescue -n /dev/sdc1 /dev/sdb1
Instead of creating an image, like i intended, I just overwrote the
entire partition on sdb1!  I got the rescued data off that i needed,
now i need to
get /dev/sdb1 back because now all the system sees is a 40GB
partition.  Any ideas?
thanks
    




------------------------------

_______________________________________________
Bug-ddrescue mailing list
Bug-ddrescue@...
http://lists.gnu.org/mailman/listinfo/bug-ddrescue


End of Bug-ddrescue Digest, Vol 40, Issue 5
*******************************************

  

_______________________________________________
Bug-ddrescue mailing list
Bug-ddrescue@...
http://lists.gnu.org/mailman/listinfo/bug-ddrescue

Re: oops, i recovered right over my good hard drive

by David Favro-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Michael Mullen wrote:
> I knew i could always reformat the 500 GB drive, but i am now running
> photorec (6 hours remaining, yea!)  and putting the results on a spare
> USB hard drive.  So is there a way, using something like mk2fs, to
> create/reset the partition to the full 500 GB but have the new
> partition keep whatever data was on there before?
Not that I know of, and it's kind of hard to imagine that it's possible,
given that 40GB of it have been stomped on.  Just reformat it to a fresh
500GB filesystem with "mke2fs -j /dev/the_partition" and recopy whatever
you were able to save from the USB drive back to the new partition.
But, if you want to really get crazy with it, debugfs is probably where
you'll start.

That said, for next time, you could try using e2image on a periodic
basis to save just the metadata (before it gets corrupted), which
apparently can be used in conjunction with debugfs and other tools to do
something like what you describe, but I've no idea how.  Try reading up
on debugfs(8), dumpe2fs(8), e2image(8), e2fsck(8), and hang out on the
filesystem mailing-lists.  If you get far enough into it that you can
recover that kind of stuff, you might have a new career.

-- David
> thanks
> ~ Mike


_______________________________________________
Bug-ddrescue mailing list
Bug-ddrescue@...
http://lists.gnu.org/mailman/listinfo/bug-ddrescue