How to grow raid1?

Discussion in 'Installation/Configuration' started by andron26, Mar 15, 2010.

  1. andron26

    andron26 Member

    Hello,

    I have such configuration:
    OpenSuse 10.2

    /dev/md0 Yes Mirrored (RAID1) /dev/sdb1 | /dev/sda1 - boot
    /dev/md1 Yes Mirrored (RAID1) /dev/sdb2 | /dev/sda2 - /
    /dev/md2 Yes Mirrored (RAID1) /dev/sdb3 | /dev/sda3 - swap
    /dev/md3 Yes Mirrored (RAID1) /dev/sda4 | /dev/sdb4 - /kopia

    What is the best scenario to grow md1 partition?

    On test system from rescue cd I've removed md2 and md3 and sdb3-sda3 sdb4-sda4 partitions. Rebooted again from rescue cd and tried to grow md1 - but got error that there is no free space on device (I've used only 30% from md2 and md3). Why there is such error if there is a lot of free space or I am missing something?

    Thanks in advance and sry for my english
     
  2. falko

    falko Super Moderator Howtoforge Staff

    I think you have to remove md1, grow sda2 and sdb2 and recreate md1 from these.
     
  3. andron26

    andron26 Member

Share This Page