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 7A8E81381F3 for ; Wed, 16 Oct 2013 18:10:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C327DE09C2; Wed, 16 Oct 2013 18:09:57 +0000 (UTC) Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9445BE08E1 for ; Wed, 16 Oct 2013 18:09:56 +0000 (UTC) Received: by mail-wg0-f42.google.com with SMTP id n12so4293812wgh.1 for ; Wed, 16 Oct 2013 11:09:55 -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=NM2wgAvRLkoNLD3cByDYG5BX39N0M3g0w2IUwJFXwqc=; b=cbGVmKcHNC7eszqtBUndzkorC3yrsQM008F+jtO+v+XFK+DHVNZ3JvHyTsrK8o7JtN 9/XSCqx/NNWD7SxKzmxCM4VDIHY9jDzHU1A+ETKAZuTNT5JZWoxClf9zenM0hC5UGVTO Lk2grZ9qieH6TH7g67N37ooEpxdVmTswFldtAG5KmYyCEmnleYql3Eoii/4UMEVZ8y1I Qk8LVVMcQc2inB+N+r4Vuz2U2ONlLMxcu5DG3FmY6WFgOp8x7qwjQqlZq2r/ZAZqlsze E0MflckSF4EmEZhpm/j97Xe4fxIJ9XyB4kH9yUXbCB/wmxtjtQvz7UirlRukpSL4V7tv MrSQ== X-Received: by 10.180.208.2 with SMTP id ma2mr3398483wic.52.1381946994974; Wed, 16 Oct 2013 11:09:54 -0700 (PDT) Received: from vidovic (113.141.89.92.rev.sfr.net. [92.89.141.113]) by mx.google.com with ESMTPSA id jf2sm8234368wic.2.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 16 Oct 2013 11:09:54 -0700 (PDT) Sender: Nicolas Sebrecht Date: Wed, 16 Oct 2013 20:10:40 +0200 From: Nicolas Sebrecht To: gentoo-user@lists.gentoo.org Cc: Nicolas Sebrecht Subject: [gentoo-user] Re: RAID help Message-ID: <20131016181040.GA7388@vidovic> References: <201310150834.21103.michaelkintzios@gmail.com> <201310152242.38956.michaelkintzios@gmail.com> 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: <201310152242.38956.michaelkintzios@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: a3de7168-55f7-4174-8efd-f0ae47f817e8 X-Archives-Hash: 8ae3bd7177ba3f5d61418f3184e05b4c 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. 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