Re: Resize raid? RAID Reconfig Tool?



Jan Johansson a écrit :
We use mdadm to administer our software raid. For (certain) hardware raid there other tools available. Just "apt-cache search raid"...

Wait... does mdadm have that built in?



Let's rephrase that.

Lets say I just did

cookiemonster:/mnt/hde1# mdadm --create /dev/md0 --level=5
--raid-devices=2 /dev/hd[cd]1 --auto
mdadm: array /dev/md0 started.

Which gives me a RAID5 on 2x200GB (That right now really is a RAID1)

Raid5 on n-1 disks is more like raid0....


And I later on would like to add _another_ 200GB disk to that array and
turn it into a 400GB RAID5, can mdadm do that?

What you can basically do is build a degraded array (using missing)
mdadm -Cv /dev/md0 -l1 -n3 /dev/hdc1 /dev/hdd1 missing

It will be like having raid0 (in terms of security) but will let you move your existing data onto it.

Laurent


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: is my raid1 array really working??
    ... mdadm -D device ... Raid Level: raid1 ... with a subject of "unsubscribe". ... Trouble? ...
    (Debian-User)
  • Re: Paranoia about DegradedArray
    ... then you're okay -- assuming the drive is ... I've learned, among other things, to not trust RAID5 with mdadm. ... stick with RAID1 so if it blows, as long as one drive is still okay, I ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • RE: raid watching
    ... mdadm is the tool your looking for, ... Is there a built in program that watches the raid array for problems. ... RH that monitors the raid array? ... unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
    (RedHat)
  • Re: Raid disk delimma
    ... and compare that to the ARRAY lines /etc/mdadm/mdadm.conf. ... mdadm -Asayes ... There is 'no' difference in the array info UUID's match for both md0 & ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Corrupt data - RAID sata_sil 3114 chip
    ... So, if you have truble mdadm RAID, check you do not run dmraid! ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)