Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21984C43334 for ; Sun, 17 Jul 2022 06:14:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231742AbiGQGNZ convert rfc822-to-8bit (ORCPT ); Sun, 17 Jul 2022 02:13:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229980AbiGQGNY (ORCPT ); Sun, 17 Jul 2022 02:13:24 -0400 Received: from ste-pvt-msa1.bahnhof.se (ste-pvt-msa1.bahnhof.se [213.80.101.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7049183B2 for ; Sat, 16 Jul 2022 23:13:19 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by ste-pvt-msa1.bahnhof.se (Postfix) with ESMTP id BF50D3F6D0; Sun, 17 Jul 2022 08:13:16 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at bahnhof.se Received: from ste-pvt-msa1.bahnhof.se ([127.0.0.1]) by localhost (ste-pvt-msa1.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gMd-cvm5fZ0L; Sun, 17 Jul 2022 08:13:16 +0200 (CEST) Received: by ste-pvt-msa1.bahnhof.se (Postfix) with ESMTPA id D2DFE3F42D; Sun, 17 Jul 2022 08:13:15 +0200 (CEST) Received: from [192.168.0.119] (port=39792) by tnonline.net with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1oCxWh-000O40-IY; Sun, 17 Jul 2022 08:13:14 +0200 Date: Sun, 17 Jul 2022 08:13:10 +0200 (GMT+02:00) From: Forza To: "David C. Partridge" , linux-btrfs@vger.kernel.org Message-ID: In-Reply-To: <001701d89970$ca0965b0$5e1c3110$@perdrix.co.uk> References: <004c01d8994d$f5677800$e0366800$@perdrix.co.uk> <001701d89970$ca0965b0$5e1c3110$@perdrix.co.uk> Subject: RE: Oh dear - some new problems MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8BIT X-Mailer: R2Mail2 Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org ---- From: "David C. Partridge" -- Sent: 2022-07-17 - 02:04 ---- > Adaptec ASR-8885 raid card. As you found out, a hardware RAID card does not protect against corruption. If you instead let Btrfs handle RAID, it would have been able to self-heal by using one of the mirrors. Many RAID cards can be configured in HBA or IT mode. If not, you can create simple volumes on each drive and use them with Btrfs. Note that Btrfs supports RAID 0,1,10 and RAID 1c34 modes. RAID 5/6 isn't considered complete/stable for general use yet. > > Will delete/reDL the suspect files > > Thank you > David > > -----Original Message----- > From: Forza > Sent: 16 July 2022 22:09 > To: David C. Partridge ; > linux-btrfs@vger.kernel.org > Subject: Re: Oh dear - some new problems > > > > ---- From: "David C. Partridge" -- Sent: > 2022-07-16 - 21:55 ---- > >> I get an error log from a weekly btrfs scrub: >> >> Scrub started: Sat Jul 16 07:45:26 2022 >> Status: finished >> Duration: 6:12:24 >> Total to scrub: 9.99TiB >> Rate: 455.57MiB/s >> Error summary: csum=36 >> Corrected: 0 >> Uncorrectable: 36 >> Unverified: 0 >> >> Have now run the scrub again and it's showing errors even though it isn't >> yet complete. >> >> Please see attached journalctl log file >> >> The raid array detected an error on one of the drives which I have now >> replaced and the raid is now rebuilding ... > > What kind of raid device are you using? > >> >> What should I do at this juncture. > > The errors are uncorrectable because Btrfs doesn't have a good copy to > repair from. You have to replace the damaged files. Since they are torrents > it should not be too bad since the torrent protocol can repair/re-download > individual blocks in files. > > >> >> Thanks, David >> > >