FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Development

 
 
LinkBack Thread Tools
 
Old 07-27-2011, 07:29 PM
Chris Adams
 
Default RFE: configure RAID with missing devices

Is there an RFE process for anaconda (e.g. should I put this in BZ or
something)?

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.

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
/dev/sda1.

--
Chris Adams <cmadams@hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 07-27-2011, 08:44 PM
Bruno Wolff III
 
Default RFE: configure RAID with missing devices

On Wed, Jul 27, 2011 at 14:29:06 -0500,
Chris Adams <cmadams@hiwaay.net> wrote:
> Is there an RFE process for anaconda (e.g. should I put this in BZ or
> something)?
>
> 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:
https://bugzilla.redhat.com/show_bug.cgi?id=188314

> 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
> /dev/sda1.

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
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 05:03 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org