Dave Howorth wrote:
John Andersen wrote:
With software raid you can apply raid after the fact. Yast does this for you. I had to do this, (back in 11.0 I believe) where I had a data partition on a single drive, and decided to add another for raid 1. I built the array in yast just to see if it could be done. (all my prior setups were done with Madm at the command line). I told yast that the second drive was a hot spare, and that the array was running degraded. It rebuilt it as soon as it fired up.
I'm curious as to how this worked. Don't mdadm physical volumes have a different partition type to a 'regular' filesystem?
0xFD for raid auto-detect.
On the other hand, I can see how the instructions at
<https://wiki.archlinux.org/index.php/Convert_a_single_drive_system_to_RAID>
would work to perform the task. i.e.:
* Create a single-disk RAID-1 array with our new disk * Move all your data from the old-disk to the new RAID-1 array * Verify the data move was successful * Wipe the old disk and add it to the new RAID-1 array
I'm pretty certain I've done something like that in the past. -- Per Jessen, Zürich (16.3°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org