Thread (3 messages) flat view 3 messages, 3 authors, 2007-11-30

Re: assemble vs create an array.......

From: Michael Tokarev <hidden>
Date: 2007-11-30 17:40:18

Bryce wrote:
[]
mdadm -C -l5 -n5 -c128  /dev/md0 /dev/sdf1 /dev/sde1 /dev/sdg1 /dev/sdc1 /dev/sdd1
...
IF you don't have the configuration printout, then you're left with
exhaustive brute force searching of the combinations
You're missing a very important point -- --assume-clean option.
For experiments like this (trying to figure out the order of disks),
you'd better ensure the data on disks isn't being changed while
you try different combinations.  But on each build, md always
destroys one drive by re-calculating parity.  You have to stop
it from doing so - to not trash your data.

Another option is to use one missing drive always, i.e.,

 mdadm -C -l5 -n5 -c128  /dev/md0 /dev/sdf1 missing /dev/sdg1 /dev/sdc1 /dev/sdd1

so that the array will be degraded and no way to resync anything -
this also prevents md from trashing data.

/mjt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help