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

Reply via email to