Results 1 to 4 of 4

Thread: RAID10 and madm

  1. #1
    Join Date
    Feb 2007
    Beans
    114

    RAID10 and madm

    Had trouble finding any solid info on this, at least on RAID10.

    Say you have a 4 disk RAID 10 setup. Down the road, you want to add 2 more disks. Is it possible to use the grow option in mdadm to just expand the array?

  2. #2
    Join Date
    Feb 2007
    Location
    Cameron Park CA USA
    Beans
    4,477
    Distro
    Ubuntu Development Release

    Re: RAID10 and madm

    I think so. But first in mdadm, you simply add the two drives as spares, and then add them into the raid10 array. I've never done such a thing but I'm sure it works if you do everything just right, i.e., correctly.
    Regards, frank, at http://yantrayoga.typepad.com/noname/
    Homebuilt Lian-Li PC-Q30X Intel i5-4670K 4.0GHz, SSDs,16G RAM | Dell laptop E1505n, netbook 10n
    Oracle VBox w/ WinXP/Win8 running Xara Designer, PaintShopPro, and InDesign CS.

  3. #3
    Join Date
    Feb 2007
    Beans
    114

    Re: RAID10 and madm

    Can anyone else chime in?

  4. #4
    Join Date
    Dec 2006
    Location
    NH
    Beans
    Hidden!
    Distro
    Ubuntu 6.06 Dapper

    Re: RAID10 and madm

    I believe the answer to this is a resounding no!

    http://www.mail-archive.com/linux-ra.../msg08796.html

    The man page for mdadm does not mention it because it is not
    supported.

    There are several reshape options that I would like to implement
    including

    ...

    - raid10 growing and layout change
    Of course there are creative ways of doing such a thing. Here is a description of how to grow a 2-volume RAID1 set into a 4-volume RAID10 set. I have successfully done such a thing.

    It is extra easy if you float LVM volumes on top of your RAID sets. This means you don't have to go copying files between volumes, you simply do a pvcreate->vgextend->pvmove->pvremove and LVM nicely migrates the data for you.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •