Jim Cunning wrote:
On 04/15/2012 11:26 PM, Per Jessen wrote:
Felix Miata wrote:
I've since replaced the 250G with a 500G, succeeded in replacing the individual RAID elements on md0-md6, and want to create a clone of the 152G partition on the 320G disk on the 500G disk, then create md7 from those two partitions.
I tried initially creating md7 using only the original 152G partition to ensure against data loss, then add the new 152G partition to the existing single partition md7. Sounds good.
These mdX partitions are all type 0xFD in the partition tables. But 'mdadm -cv/dev/md7 --level=1 /dev/sdb14' produces an error message "mdadm: -c does not set the mode, and so cannot be the first option". So, I don't know what to do. If there's anything in the mdadm man page on converting existing partitions to RAID1 elements, I'm missing it. Shouldn't your command be:
mdadm --create /dev/md7 --level=1 -n1 /dev/sdb14 This might be better:
mdadm --create /dev/md7 --level=1 -n2 /dev/sdb14 missing
Thanks Jim, that is _much_ better. I was typing from memory. -- Per Jessen, Zürich (6.0°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org