RAID syncing 2 partitions

Hi all,

I tried setting up RAID between 2 partitions and it was success.
If I write some things on /dev/md0, both partition got affected.

Then I stop the RAID, and I mounted one of my partition and I created a file in it.

Now I started the RAID (mdadm --assemble --scan)

What I expected is the another partition should also have the same file. But it was not there.

Why it is not there?? Any special commands available???

Shouldn't you use the resync option instead?

mdadm -A -U resync /dev/md0 

HTH,
Lo�c.