# Re: how to synchronize two devices (RAID-1, but not really?)

- From: Neil Brown \<hidden\>
- Date: 2007-05-15 11:12:21 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2007/05/6599890
- Thread: https://ratatoskr.run/linux-raid/2007/05/6599890/t.md

```text
On Tuesday May 15, mangoo@wpkg.org wrote:
> 
> Interesting lecture, thanks a lot. I'm gonna take that path.

:-)

> 
> I have one more question, though.
> 
> I want to migrate:
> - from 4x400GB HDD RAID-10
> - to 4x400GB HDD RAID-5
> 
> Obviously, I need 8 disks for that, but I have only 6.
> 
> So my idea was to kick one disk from RAID-10, and use it for RAID-5 for 
> the time of migration.
> 
> This means, I would have only 3 disks out of 4 in RAID-5 array.

Yes... that would work....  How much do you trust your drives, and how
much to do value your data?  Presumably 

  perceived likely hood of failure * value of data < price of 2 drives.

> 
> 
> Is it possible to create a degraded, 4 disk RAID-5 array with just 3 
> drives? I would add the 4th drive once migration from RAID-10 is done.

Certainly.  When you create the raid5, use the word "missing" in place
of the drive which is ... missing.  This will create a degraded
array.  You the drive becomes available, simply add it in to the
array.
If you drives are not identical (same number of sectors), make sure
the last drive you add is not the smallest, else you won't be able to
add it.

NeilBrown
```
