Re: Permanently adding device to a RAID array.
I was having the same exact problem on my FC3 server. So you
successfully create the arrays, and then reboot, upon which the array
isn't correct restarted, right? Only 1 disk is active? If so, changing
my mdadm.conf to this solved my problem:
DEVICE /dev/hdg1 /dev/hdg2 /dev/hde1 /dev/hde2
ARRAY /dev/md1 level=raid1 num-devices=2 devices=/dev/hdg2,/dev/hde2
ARRAY /dev/md0 level=raid1 num-devices=2 devices=/dev/hdg1,/dev/hde1
I obviously have two arrays here, but I believe if you explicitly define
your array like this, it will be started correctly. HTH...
On Wed, 2005-01-26 at 10:16 +0100, Alex Polite wrote:
> Date: Wed, 26 Jan 2005 10:16:46 +0100
> From: Alex Polite <firstname.lastname@example.org>
> To: email@example.com
> Subject: Re: Permanently adding device to a RAID array.
> Message-ID: <firstname.lastname@example.org>
> References: <email@example.com>
> In-Reply-To: <firstname.lastname@example.org>
> Reply-To: Alex Polite <email@example.com>
> Content-Type: text/plain; charset=US-ASCII
> Content-Transfer-Encoding: 7bit
> On Tue, 25 Jan 2005 11:32:24 -0500 (EST), firstname.lastname@example.org
> <email@example.com> wrote:
> > you need to add it to your /etc/mdadm/mdadm.conf
> > try:
> > conf='/etc/mdadm/mdadm.conf'
> > echo 'DEVICES partitions' > $conf
> > mdadm --examine --scan >> $conf
> Done that, no difference.