RFE: configure RAID with missing devices
On Wed, Jul 27, 2011 at 14:29:06 -0500,
Chris Adams <email@example.com> wrote:
> Is there an RFE process for anaconda (e.g. should I put this in BZ or
> It would be nice if there was a way for anaconda to create software RAID
> sets with missing devices. Right now, the only way to accomplish that
> is to build the RAID and LVM config manually.
You might want to read through the following closed bug:
> I use this when rebuilding a PC with software RAID 1 to make it safer.
> I disconnect one drive, install the new system to the other, then
> reconnect and copy data/config. Once I'm comfortable with the state of
> the new system, I delete everything from the old drive and add it to the
> new mirror.
> mdadm supports this; you can use "missing" in place of a device like
This used to be more dangerous, but it still is probably safer to reduce
the number of elements rather than just failing out a device. For raid 1
you can set the number of elements to 1 (this needs the --force option).
That way you end up with a complete array and it is less likely to end
end up being recombined with the removed part.
The last time I tested this though, anaconda didn't want to let you do
custom stuff with an array with only one element even when it was complete.
I have tried that recently though, as I do yum upgrades now.
I did recently do similar raid array manipulation to change my partition
layout without doing a reinstall. I removed one half of several raid
arrays and repartition the disk, copied over the old data, booted the
new system, repartioned the other drive and added the partitions into
the new arrays. The system stayed up through much of this process.
Anaconda-devel-list mailing list