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 2DCC0C4321E for ; Sun, 27 Nov 2022 11:52:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229612AbiK0Lwh (ORCPT ); Sun, 27 Nov 2022 06:52:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229622AbiK0Lwg (ORCPT ); Sun, 27 Nov 2022 06:52:36 -0500 Received: from smtp.hosts.co.uk (smtp.hosts.co.uk [85.233.160.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD42AB2D for ; Sun, 27 Nov 2022 03:52:32 -0800 (PST) Received: from host86-138-24-20.range86-138.btcentralplus.com ([86.138.24.20] helo=[192.168.1.218]) by smtp.hosts.co.uk with esmtpa (Exim) (envelope-from ) id 1ozGD1-0006qH-9i; Sun, 27 Nov 2022 11:52:31 +0000 Message-ID: <62b72b4e-8461-e616-1227-4dcef8853143@youngman.org.uk> Date: Sun, 27 Nov 2022 11:52:30 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: how do i fix these RAID5 arrays? Content-Language: en-GB To: Reindl Harald , John Stoffel Cc: David T-G , Linux RAID list References: <20221123220736.GD19721@jpo> <20221124032821.628cd042@nvm> <20221124211019.GE19721@jpo> <25474.28874.952381.412636@quad.stoffel.home> From: Wols Lists In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-raid@vger.kernel.org On 27/11/2022 11:46, Reindl Harald wrote: > > > Am 26.11.22 um 21:02 schrieb John Stoffel: >> I call it a failure of the layering model.  If you want RAID, use MD. >> If you want logical volumes, then put LVM on top.  Then put >> filesystems into logical volumes. >> >> So much simpler... > > have you ever replaced a 6 TB drive and waited for the resync of mdadm > in the hope in all that hours no other drive goes down? > > when your array is 10% used it's braindead > when your array is new and empty it's braindead > > ZFS/BTRFS don't neeed to mirror/restore 90% nulls This is why you have trim. Although I don't know if raid supports that - I hope it does I suspect it doesn't. Cheers, Wol