The command to do so is:
- Code: Select all
mdadm --create --assume-clean --metadata=1.0 --chunk=512 --level=raid5 --layout=left-symmetric --raid-devices=5 /dev/md0 /dev/sda2 /dev/sdb2 /dev/sdc2 /dev/sdd2 /dev/sde2
- Code: Select all
mdadm --create --assume-clean --metadata=1.0 --chunk=512 --level=raid5 --layout=left-symmetric --raid-devices=5 /dev/md0 /dev/sda2 /dev/sdb2 /dev/sdc2 missing /dev/sde2
You'll have to examine each member to find it's role in the array.
This one is the 'zero'th' of the array, or in normal speak the first one.mdadm --examine /dev/sdc2
/dev/sdc2:
<snip>
Device Role : Active device 0
(BTW, this is from your posting here, and now I realize that sdc2 is supposed to be device 2. Your posting shows sdc2-0 sdb2-1 sda2-2. So even in the Lacie you'll have to ask the exact role of the members, before re-creating the array.)
@fvdw: is /dev populated automatically, in the kernel used by tenhouse? If yes, then Lacie sells boxes with pre-mangled raid arrays. Nice for data recovery.
/Edit: Do I see the book 'Applying UML and patterns' there? Nice reading before sleep.