public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Grant Taylor <gtaylor@gentoo.tnetconsulting.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] data recovery advice needed
Date: Tue, 18 Dec 2018 11:58:19 -0700	[thread overview]
Message-ID: <a5522aab-d2ce-3c33-3b9a-4e176af3d4db@spamtrap.tnetconsulting.net> (raw)
In-Reply-To: <LGFV67KR.TOQWN6N6.4NGPFJKQ@LYMQ6JKB.ORDJQYR6.ZZBANBXS>

On 12/18/2018 10:49 AM, Jack wrote:
> I should be in good shape there.  The partition's new location should 
> have the first half intact, and since the overwriting was of the first 
> part of the old location, it's second half should be intact.  The files 
> should all be there - but I imagine I might have to play with any 
> directories which were successfully move, but not the stuff they point 
> to.  Of course, all of this depends on recovering from the read errors - 
> so ddrescue needs to finish first.

I feel like you have two ~½ partitions that you need to aggregate and 
try to access.  I half way expect that you need to image the drive, and 
then extract the two ½s and put them back together.

I don't know if losetup can ignore something in the middle or not.

I would then expect that your file system in the new spliced back 
together ""partition to be okay.

I /think/ that most modern file systems have addressing within the 
partition and not subject to physical location on the disk.  As such, 
you should be able to mount it fairly cleanly.  I would expect that 
files are no more corrupted than they were before the move.



-- 
Grant. . . .
unix || die


  parent reply	other threads:[~2018-12-18 18:58 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-15 23:33 [gentoo-user] data recovery advice needed Jack
2018-12-16  0:06 ` Grant Taylor
2018-12-16  0:19 ` Rich Freeman
2018-12-17 19:32   ` Jack
2018-12-17 19:42     ` Rich Freeman
2018-12-17 20:53       ` Grant Taylor
2018-12-17 20:45     ` Grant Taylor
2018-12-18 12:21     ` Wols Lists
2018-12-18 14:20       ` Dale
2018-12-18 15:56       ` Grant Taylor
2018-12-18 21:28         ` Marc Joliet
2018-12-19 11:51           ` Mick
2018-12-18 17:43       ` Jack
2018-12-17 22:32 ` Heiko Baums
2018-12-17 23:19   ` Jack
2018-12-18  9:43     ` Peter Humphrey
2018-12-18 17:11       ` Jack
2018-12-18 17:42         ` Mick
2018-12-18 17:49           ` Jack
2018-12-18 18:33             ` Mick
2018-12-18 18:58             ` Grant Taylor [this message]
2018-12-18 18:51           ` Grant Taylor
2018-12-19 11:43             ` Mick
2018-12-19 18:46               ` Grant Taylor
2018-12-19 22:16                 ` Mick
2018-12-19 23:02                   ` Grant Taylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a5522aab-d2ce-3c33-3b9a-4e176af3d4db@spamtrap.tnetconsulting.net \
    --to=gtaylor@gentoo.tnetconsulting.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox