From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RiyqK-0006M6-NF for garchives@archives.gentoo.org; Fri, 06 Jan 2012 01:43:40 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 38BBE21C18C; Fri, 6 Jan 2012 01:43:17 +0000 (UTC) Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com [74.125.83.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 3712821C023 for ; Fri, 6 Jan 2012 01:41:41 +0000 (UTC) Received: by eekd41 with SMTP id d41so779824eek.40 for ; Thu, 05 Jan 2012 17:41:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=from:to:subject:date:message-id:user-agent:in-reply-to:references :mime-version:content-transfer-encoding:content-type; bh=BK6Ie2SHaaRQLEG/qJOJe3q8E1+GiyCGLft5qN5SDv8=; b=Qx4edA4X4bNtxjkmzx7xeP3X41/TuOVNqHDbSGv5PhZ4MODehP8wpH8EPY3uF1orNC hBWuTTcaNHQ/3dYtBx7dx4jWF7ERNcF2cxHNqgSP49B0EwxOZLUIxYRwAG0lGKEb5P5v CJhoizdGxhZfWAb3X4k9J2WTF61dNRFb+TlcI= Received: by 10.213.6.208 with SMTP id a16mr887915eba.74.1325814101430; Thu, 05 Jan 2012 17:41:41 -0800 (PST) Received: from localhost.localnet (p4FC60E45.dip0.t-ipconnect.de. [79.198.14.69]) by mx.google.com with ESMTPS id t59sm241044324eeh.10.2012.01.05.17.41.39 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 Jan 2012 17:41:40 -0800 (PST) From: Volker Armin Hemmann To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How to get raid Date: Fri, 06 Jan 2012 02:41:31 +0100 Message-ID: <1385525.B1tbhPyYah@localhost> User-Agent: KMail/4.8 rc2 (Linux/3.0.7; KDE/4.7.97; x86_64; ; ) In-Reply-To: <1325812384.5380.3.camel@laptop.limeyworld> References: <1325645839.4553.13.camel@laptop.limeyworld> <1581658.zyO2e55q4a@localhost> <1325812384.5380.3.camel@laptop.limeyworld> 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 MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Archives-Salt: ec073e9f-df59-4a56-9a38-a13ea3a4338b X-Archives-Hash: 137d33bf04ffc7b39cf622a368a4086d Am Donnerstag, 5. Januar 2012, 20:13:04 schrieb Jeff Cranmer: > On Thu, 2012-01-05 at 11:22 +0100, Volker Armin Hemmann wrote: > > Am Mittwoch, 4. Januar 2012, 22:45:45 schrieb Jeff Cranmer: > > > On Thu, 2012-01-05 at 04:01 +0100, Volker Armin Hemmann wrote: > > > > the short one: > > > > > > > > partition one disk with (c)fdisk. Use sfdisk to transfer the partition > > > > scheme to the other disks. > > > > > > > > run mdadm --create /dev/md0 level=whatever you want --raid- > > > > devices=thenumberofdevices /dev/sdXY /dev/sdZY ... > > > > > > > > mdadm --detail --scan >> /etc/mdadm.conf > > > > > > > > done > > > > > > OK, but there is active data on the disks, so I don't want to partition > > > them. They should already partitioned, and running fdisk will erase the > > > data. > > > > first rule: > > > > always mount a scratch monkey > > > > In your case: always backup data. > > No big deal. > 99.9% of the data is backed up. I was just hoping to recover the last > 0.1% (picky huh?). Now that I know one of the main drawbacks of > fakeraid, I think I'll move ahead with software RAID. > > OK, so I've partitioned the first disk as a single linux partition > (/dev/sdb1, ID 83, Linux). if you want to use kernel autodetection (nice but on the way out) you should change the type. > How do I use sfdisk to transfer that partition scheme to the other > disks? Is it not sufficient just to partition the other two disks in > the same way as the first? sfdisk -d /dev/sda | sfdisk /dev/sdb is safe. -- #163933