From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E18051381F3 for ; Wed, 16 Oct 2013 20:14:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 097F7E0A5E; Wed, 16 Oct 2013 20:13:56 +0000 (UTC) Received: from mail-we0-f170.google.com (mail-we0-f170.google.com [74.125.82.170]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C90A5E0784 for ; Wed, 16 Oct 2013 20:13:54 +0000 (UTC) Received: by mail-we0-f170.google.com with SMTP id u57so1281277wes.15 for ; Wed, 16 Oct 2013 13:13:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=/WgysBH5ptIOlVe+Zw3EGSwJWCf1Mtw0Ffx969/UnXw=; b=Cc66NyfoiKW+1sM7s5D/oDamhBqKQhQ/MPSMIJNik7wV0dqD0eGoH+aJh87Kix+Nw8 yEqeukzGsAZ2K5U+XwvUIhl3r/7UG/G/6JacQ6jUxig4XsMOedeBmQp4lhnUTpxMXyE9 U3t0q+b2TAfeRTnuzsJM3Crz+PeRcxYY6+DMQ2hIRQXMdQa61mM3v91h5sCQ70RsVzsL ujo0zneXa0cMgRoiuW40BBMBdTEcZ6M6jkZFWcTbOGdTZ6Ch/qIQh6ZFJGTrCcLIyefB Sc2Z1BJp2ZBVFVMUoik2XgUwCQIJ/EjauYx8OBsLVM/pktcrfdJf2PfZONIC2AZuegdB w5Bg== X-Received: by 10.181.11.163 with SMTP id ej3mr3714691wid.47.1381954433287; Wed, 16 Oct 2013 13:13:53 -0700 (PDT) Received: from vidovic (113.141.89.92.rev.sfr.net. [92.89.141.113]) by mx.google.com with ESMTPSA id y20sm9188085wib.0.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 16 Oct 2013 13:13:52 -0700 (PDT) Sender: Nicolas Sebrecht Date: Wed, 16 Oct 2013 22:14:38 +0200 From: Nicolas Sebrecht To: gentoo-user@lists.gentoo.org Cc: Nicolas Sebrecht Subject: [gentoo-user] Re: RAID help Message-ID: <20131016201438.GB7388@vidovic> References: <201310150834.21103.michaelkintzios@gmail.com> <201310152242.38956.michaelkintzios@gmail.com> <20131016181040.GA7388@vidovic> 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131016181040.GA7388@vidovic> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: b9a83cf5-68e6-4251-9221-45de0a6d4626 X-Archives-Hash: a298e8d3c63cfd9a25404001c3dd45de On Wed, Oct 16, 2013 at 08:10:40PM +0200, Nicolas Sebrecht wrote: > On Tue, Oct 15, 2013 at 10:42:18PM +0100, Mick wrote: > > > mdadm --create --auto=mdp --verbose /dev/md_d0 --level=mirror --raid-devices=2 > > /dev/sda /dev/sdb > > > > which is thereafter partitioned with fdisk. This is the one I have used in > > the past. > > > > Which one is preferable, or what are the pros & cons of each? > > For a basic RAID1, the best is to keep it as simple as possible. So > mirroring while disk looks better. It will also keep MBR/GPT synced. s/while/the whole/ > I tend to make manual partitions that I mirror but this is because I > usually require to do more complex setups (e.g. mixing mirror types), or > because I need to have the setup more flexible. -- Nicolas Sebrecht