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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 15D1D1580FD for ; Sun, 22 Dec 2024 12:08:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A0401E08BB; Sun, 22 Dec 2024 12:08:36 +0000 (UTC) Received: from smtp.hosts.co.uk (smtp.hosts.co.uk [85.233.160.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4BD59E08AB for ; Sun, 22 Dec 2024 12:08:36 +0000 (UTC) Received: from host81-152-157-204.range81-152.btcentralplus.com ([81.152.157.204] helo=[192.168.1.99]) by smtp.hosts.co.uk with esmtpa (Exim) (envelope-from ) id 1tPKl8-00000000CRw-6Dab for gentoo-user@lists.gentoo.org; Sun, 22 Dec 2024 12:08:35 +0000 Message-ID: <4ac4f9df-6b93-4ffd-b0c3-a2764e624500@youngman.org.uk> Date: Sun, 22 Dec 2024 12:08:34 +0000 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 User-Agent: Mozilla Thunderbird Subject: Re: [gentoo-user] Fun with mdadm (Software RAID) To: gentoo-user@lists.gentoo.org References: <20241220145053.B361C85A435A@turkos.aspodata.se> <20241220174453.4E33285A435A@turkos.aspodata.se> Content-Language: en-GB From: Wols Lists In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Archives-Salt: af61c519-2627-4c93-80d6-f0dd8d0feb4d X-Archives-Hash: 059e3b3a5c75afa1981e88f703942864 On 20/12/2024 20:19, Alan Mackenzie wrote: > I've just tried it, with metadata 1.2, and it doesn't work. I got error > messages at boot up to the effect that the component partitions were > lacking valid version 0.0 super blocks. > > People without initramfs appear not to be in the sights of the > maintainers of this software. They could so easily have made the > assembly of metadata 1.2 components on the kernel command line work. > 🙁 No they couldn't. Not if they wanted (at the time) a kernel small enough to boot successfully ... Making the disk write write identically to two disks (your basic 0.9 mirror) is pretty simple, and also extremely error prone. Making mdraid robust with all the other features of an enterprise "protect your data" system is a lot more work. mdraid has probably just protected my data - dunno what triggered it, but I lost a disk and it just got rebuilt in the background without me doing a thing ... > > By the way, do you know an easy way for copying an entire filesystem, > such as the root system, but without copying other systems mounted in > it? I tried for some while with rsync and various combinations of > find's and xargs's, and in the end booted up into the rescue disc to do > it. I shouldn't have to do that. Provided it's read-only (so yes if it's the root I might well use a rescue disk) I'd use dd. That's assuming a fairly small root that's fairly full, it's rather wasteful if it's not ... Cheers, Wol