[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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...

Lance Lucas

On Wed, 2005-01-26 at 10:16 +0100, Alex Polite wrote:
> Date: Wed, 26 Jan 2005 10:16:46 +0100
> From: Alex Polite <notmyprivateemail@gmail.com>
> To: debian-user@lists.debian.org
> Subject: Re: Permanently adding device to a RAID array.
> Message-ID: <ad97512905012601165b381af3@mail.gmail.com>
> References: <ad97512905012503551a6c46ce@mail.gmail.com>
> 	 <42895.166.61.202.138.1106670744.squirrel@mail.zettazebra.com>
> In-Reply-To: <42895.166.61.202.138.1106670744.squirrel@mail.zettazebra.com>
> Reply-To: Alex Polite <notmyprivateemail@gmail.com>
> Content-Type: text/plain; charset=US-ASCII
> Content-Transfer-Encoding: 7bit
> 
> On Tue, 25 Jan 2005 11:32:24 -0500 (EST), david@zettazebra.com
> <david@zettazebra.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.
> 
> alex
> 



Reply to: