From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E77F4138334 for ; Tue, 18 Dec 2018 18:58:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 68FF0E0C5E; Tue, 18 Dec 2018 18:58:22 +0000 (UTC) Received: from tncsrv06.tnetconsulting.net (tncsrv06.tnetconsulting.net [IPv6:2600:3c00:e000:1e9::8849]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EE475E0A93 for ; Tue, 18 Dec 2018 18:58:21 +0000 (UTC) Received: from Contact-TNet-Consulting-Abuse-for-assistance by tncsrv06.tnetconsulting.net (8.15.2/8.15.2/Debian-3) with ESMTPSA id wBIIwJ46020835 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Tue, 18 Dec 2018 12:58:20 -0600 Subject: Re: [gentoo-user] data recovery advice needed To: gentoo-user@lists.gentoo.org References: <16801031.VxoPS861Co@peak> <1693425.EMckClofS5@dell_xps> From: Grant Taylor Organization: TNet Consulting Message-ID: Date: Tue, 18 Dec 2018 11:58:19 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Archives-Salt: 07feb0ab-0f50-4325-bd9d-07483226fd6b X-Archives-Hash: e347111752eed34e20c7bb4f7adef777 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