[gentoo-user] Re: RAID help

2013-10-16 Thread Nicolas Sebrecht
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



[gentoo-user] Re: RAID help

2013-10-16 Thread Nicolas Sebrecht
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



Re: [gentoo-user] Re: RAID help

2013-10-16 Thread Mick
On Wednesday 16 Oct 2013 21:14:38 Nicolas Sebrecht wrote:
 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.

Thank you both, I will go with mirroring the whole disk, before I partition 
the array.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.