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 26A7915812D for ; Mon, 30 Dec 2024 04:13:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EE1CBE0817; Mon, 30 Dec 2024 04:13:34 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CBD79E07A9 for ; Mon, 30 Dec 2024 04:13:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1735532007; x=1736136807; i=warp_7@gmx.de; bh=RFn9x3j3jEJQWVddmgG2jqofB/p42GwfBA+5F8GBXac=; h=X-UI-Sender-Class:Date:From:To:Subject:Message-ID:References: MIME-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To: cc:content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=FFQBN2ffFDvS2je2rddY+CghtybKBIwL8s0sj2DpWnNwC4oJJ5KBVksVtQtqK9bu RkwaTK0aFHxH/D21ntNXQMKUggduQz4auI+j0Ci38SCMpEiGIv3tVEZhy9aWQBd/J oRtV9yL00/Fr/irtMrm1eKCxaxJc866KavD0K55S3VhWIIjJcaZRfkJnlo29IDgaO 8gcf1LX8YJAdbLE4VPvLh1wzChaiP5XmGPeOY5LZ6AXiJ8Y5fe3/5tGLwqpO0fYID MOvx71cpxDSaj6ePNPueGdN0CohMlALzyDFqXa7okfMFy0HXJ85MF0cIjjiO9HIb0 9++z08fvyh1+7zoLAA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from q ([89.245.63.35]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M1Ygt-1tU25W3WuJ-001BcY for ; Mon, 30 Dec 2024 05:08:21 +0100 Date: Mon, 30 Dec 2024 05:08:20 +0100 From: Frank Steinmetzger To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Fun with mdadm (Software RAID) Message-ID: Mail-Followup-To: gentoo-user@lists.gentoo.org References: <20241220145053.B361C85A435A@turkos.aspodata.se> <20241220174453.4E33285A435A@turkos.aspodata.se> <20241220220255.9FDA085A435A@turkos.aspodata.se> 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 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20241220220255.9FDA085A435A@turkos.aspodata.se> User-Agent: Mutt 2.2.13; VIM - Vi IMproved 9.1 X-Provags-ID: V03:K1:wO3UJ6wEMvU5YjvWmirZWhUs/JfhgVMR5wdfSt7zgzPAx3GSEKU HY9Udv281VYNveKyYPEevLzP7wnTVSjJKDOZa/zVoN7ZNtdUiTW2xg5m3BXdrfmKa6C+ult iFY/ribYvVf+uIrlhvmtfPSWHSP29Z/TBRu5UFdhXDDl3Hrh2NuPvaEX/rdwIPPLKTPa/z0 2bjEocmQkrAPrV3+Ly6VA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:dRyXn4iv17k=;oBcLPO0FJbPnJA/TK/pssqwouAt 8c/84+MvNMnkeBbGaB4O36LkIc6w4bEheA58tXtK1q11O90gR0TG78u7Lrrhu7X09V+3+mo1q gK5H4yaEmdrXCvVZDsQtsLRRRoxEktb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46 X-Archives-Hash: 6a6eeab2270ffbe1e53cc7a007ec7ce0 Am Fri, Dec 20, 2024 at 11:02:55PM +0100 schrieb karl@aspodata.se: > Alan Mackenzie: > ... > > 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. >=20 > rsync as other people have suggested. > There is also > cp -x > dump/restore > find -xdev > etc. >=20 > You can also do it by accessing the /dev/-file like > dd if=3Dsource of=3Ddest (cp works here also but dd is more the norm). >=20 > /// >=20 > When something is mounted on a mount point, the files below the > mount point is hidden and the mounted filessystem will be available > instead. Do you want to copy thoose hidden files also ? To circumnavigate this, I usually bind-mount the filesystem to another=20 directory first. I usually only do this when I=E2=80=99m dealing with /, as= my FS=20 structure is not complex: mount --bind / /mnt/bind rsync -axAHX /mnt/bind/ /path/to/destination/ (-x is not needed then, but it=E2=80=99s part of muscle memory) --=20 Gr=C3=BC=C3=9Fe | Greetings | Salut | Qapla=E2=80=99 Please do not share anything from, with or about me on any social network. Keyboard not connected, press F1 to continue.