RE: Resize raid? RAID Reconfig Tool?



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

Are you sure there? It seem to have come up as one 200GB device?

cookiemonster:~# cat /proc/mdstat
Personalities : [raid5]
md0 : active raid5 hdd1[1] hdc1[0]
195358336 blocks level 5, 64k chunk, algorithm 2 [2/2] [UU]

unused devices: <none>
cookiemonster:~#

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


Wouldn't I want -l5?

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

...which is what I want, cause the last 200GB is the one with the data
on.



Relevant Pages

  • Re: [SLE] lost+found
    ... cat /proc/mdtst seems to give all normal: ... Personalities: [raid1] ... unused devices: ...
    (SuSE)
  • [SLE] lost+found
    ... cat /proc/mdtst seems to give all normal: ... Personalities: [raid1] ... unused devices: ...
    (SuSE)
  • Re: Borked MD RAID...
    ... unused devices: ... cat /proc/mdstat ... Upon reboot, one of the drives drops out, and is allocated as a ... drive-to-device maps between boots, ...
    (Fedora)
  • Re: Is my software RAID working on FC4?
    ... Personalities: [raid1] ... unused devices: ...
    (comp.os.linux.misc)
  • Re: Resize raid? RAID Reconfig Tool?
    ... Personalities: [raid5] ... unused devices: ... Build your new degraded array. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)