Re: Creating RAID 1+0 with LVM

From: Frank Cusack (fcusack_at_fcusack.com)
Date: 08/02/05


Date: Mon, 01 Aug 2005 19:35:32 -0700

On Tue, 02 Aug 2005 00:12:42 GMT Darren Dunham <ddunham@redwood.taos.com> wrote:
> Neil Truby <neil.truby@ardenta.com> wrote:
>>>> Obviously I'm missing something ...
>>>
>>> While the configuration syntax is 0+1, LVM actually creates 1+0 RAIDs.
>>> But don't believe me; you can easily test this.
>>>
>>> -frank
>
>> I do believe you ... but how can I test it? :-)
>
> Pull a disk. Watch that writes still hit both sides of the mirror where
> it remains redundant. Reconnect the disk and see that the resync is
> only for the slice with that disk, not the others.

I would have suggested, pull two drives, one on each side of the
mirror. Of course the two drives must not be the two submirrors of
the same part of the stripe. Observe that the md does not fail. This
proves 1+0 behavior.

eg

stripe 1 = drives 1a, 1b, 1c
stripe 2 = drives 2a, 2b, 2c
md = mirror of stripe 1 + 2

pull drive 1a
pull drive 2b

If this were really 0+1, pulling drive 1a would fail half of the
mirror (drives 1b and 1c would no longer be used at all). Pulling
drive 2b would then fail the other half and the md would fail. But in
1+0 it would continue chugging along.

-frank



Relevant Pages

  • Re: Realistic drive arrays
    ... > may be an opportunity to swap 2 of the disks for a pair of 143Gb drives ... >> two drives in the same mirror failing within the parts replacement SLA of ... >> How much memory the store.exe process uses really depends on how much ... >>> copy of the database on the disk. ...
    (microsoft.public.exchange.setup)
  • Re: Using mirroring to replace drive?
    ... I upgrade and rebuild it. ... drive which happens to be the system disk. ... and mirror the failing drive on the new drive. ... upgrade to 7.0 after establishing the new good drives). ...
    (freebsd-questions)
  • Re: Reinstall or restore with different disk config
    ... I use a Dell with the RAID 1 on th eonboard and it seems quite healthy but I have never done the pull the disk out test yet. ... One thing to do maybe is to disable write caching on the drives (see in properties of the drive itself in Windows) you may or may not have this option depending on driver. ... The boot.ini change relates to the fat that the path specifies a drive and partition to boot from - if the drive specified is off-line then the boot.ini path is invalid so you need to add a redundant entry pointing to the second mirror drive to start from. ...
    (microsoft.public.windows.server.sbs)
  • RE: Windows 2003 Mirror and Boot Partition
    ... For your complex hardware disk situation, ... How to mirror the system and boot partition in Windows ... | on the two new drives. ...
    (microsoft.public.windows.server.general)
  • Re: Maxtor one touch image?
    ... I want to know if a Maxtor One Touch III can make an image of your disk..? ... RAID 1 forms a mirror of two drives. ... RAID driver can "rebuild" the mirror. ... The mirroring operation has made an exact backup, ...
    (microsoft.public.windowsxp.hardware)