[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Resize raid? RAID Reconfig Tool?



Jan Johansson a Γ©crit :
Raid5 on n-1 disks is more like raid0....

Are you sure there? It seem to have come up as one 200GB device?
because you forgot the missing drive

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?
my mistake, you're right


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.


Basically.

Build your new degraded array.

Migrate data to it.

Rebuild your array

You should be done



Reply to: