From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8D0ADC33C9E for ; Tue, 14 Jan 2020 21:25:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5D70924656 for ; Tue, 14 Jan 2020 21:25:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728808AbgANVZ5 (ORCPT ); Tue, 14 Jan 2020 16:25:57 -0500 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:48254 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727102AbgANVZ4 (ORCPT ); Tue, 14 Jan 2020 16:25:56 -0500 Received: from callcc.thunk.org (guestnat-104-133-0-108.corp.google.com [104.133.0.108] (may be forged)) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 00ELPpBN020765 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Jan 2020 16:25:53 -0500 Received: by callcc.thunk.org (Postfix, from userid 15806) id 2FB824207DF; Tue, 14 Jan 2020 16:25:51 -0500 (EST) Date: Tue, 14 Jan 2020 16:25:51 -0500 From: "Theodore Y. Ts'o" To: James Courtier-Dutton Cc: linux-ext4 Subject: Re: ext4 recovery Message-ID: <20200114212551.GE140865@mit.edu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Tue, Jan 14, 2020 at 04:03:53PM +0000, James Courtier-Dutton wrote: > > Say I started with 1 disk using LVM with an ext4 partition. > I then added another disk. Added it to the LVM group, expanded the > ext4 partition to then fill 2 disks. > I then added another disk. Added it to the LVM group, expanded the > ext4 partition to then fill 3 disks. Where you using RAID 0, or some more advanced RAID level? > One of the disk has now failed. How has it failed? It is dead dead dead? Or are there a large number of sector errors? > Are there any tools available for ext4 that could help recover this? > Note, I am a single user, not a company, so there is no money to give > to a data recovery company, so I wish to try myself. How valuable is your data? The first thing I would recommend, if your data is worth it (and only you can make that decision) is to create a new RAID set (using larger disks if that helps reduce the price) so you can make an block-level image backup using the dd_rescue program. If you can, then run e2fsck on the backup copy, and then see what you can recover from that image set. This will save time (how much is your time worth?) and perhaps increase the amount of data you can recover (how much is your data worth?). - Ted