You cannot add a new data drive to a raid1 array. If you shut down the array and re-create it you should not loose data. The correct command to use would be something like: mdadm --create /dev/md0 --level=1 -n 2 /dev/ide/host0/bus0/target0/lun0/part1 missing
Note the word "missing" at the end. This tells mdadm to create a 2-drive array with one missing drive (and so only one active drive). This will have the same data as the old md0. Now "mdadm --add" should do what you want.
Thanks for the replies.
The method above worked like a charm. The data on the array even surived the operation.
NeilBrown
Regards Anders Fugmann
- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html