linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Array will not assemble
@ 2006-07-06 23:39 Richard Scobie
  2006-07-07  0:06 ` Neil Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Scobie @ 2006-07-06 23:39 UTC (permalink / raw)
  To: linux-raid

Perhaps I am misunderstanding how assemble works, but I have created a 
new RAID 1 array on a pair of SCSI drives and am having difficulty 
re-assembling it after a reboot.

The relevent mdadm.conf entry looks like this:


ARRAY /dev/md3 level=raid1 num-devices=2 
UUID=72189255:acddbac3:316abdb0:9152808d devices=/dev/sdc,/dev/sdd

The above is all one line.

If I run "mdadm -As", I get the error:

mdadm: no devices found for /dev/md3.

If I then run:

mdadm --assemble /dev/md3 /dev/sdc /dev/sdd

it all starts up fine.

Thanks,

Richard

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Array will not assemble
  2006-07-06 23:39 Array will not assemble Richard Scobie
@ 2006-07-07  0:06 ` Neil Brown
  2006-07-07  1:42   ` Richard Scobie
  0 siblings, 1 reply; 4+ messages in thread
From: Neil Brown @ 2006-07-07  0:06 UTC (permalink / raw)
  To: Richard Scobie; +Cc: linux-raid

On Friday July 7, richard@sauce.co.nz wrote:
> Perhaps I am misunderstanding how assemble works, but I have created a 
> new RAID 1 array on a pair of SCSI drives and am having difficulty 
> re-assembling it after a reboot.
> 
> The relevent mdadm.conf entry looks like this:
> 
> 
> ARRAY /dev/md3 level=raid1 num-devices=2 
> UUID=72189255:acddbac3:316abdb0:9152808d devices=/dev/sdc,/dev/sdd

Add
  DEVICE /dev/sd?
or similar on a separate line.
Remove
  devices=/dev/sdc,/dev/sdd

NeilBrown

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Array will not assemble
  2006-07-07  0:06 ` Neil Brown
@ 2006-07-07  1:42   ` Richard Scobie
  2006-07-17 18:22     ` Bill Davidsen
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Scobie @ 2006-07-07  1:42 UTC (permalink / raw)
  To: linux-raid

Neil Brown wrote:

> Add
>   DEVICE /dev/sd?
> or similar on a separate line.
> Remove
>   devices=/dev/sdc,/dev/sdd

Thanks.

My mistake, I thought after having assembled the arrays initially, that 
the output of:

  mdadm --detail --scan > mdadm.conf

could be used directly.

I'm using Centos 4.3, which I believe is the latest RHEL 4 and they are 
only on mdadm 1.6  :(

Regards,

Richard

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Array will not assemble
  2006-07-07  1:42   ` Richard Scobie
@ 2006-07-17 18:22     ` Bill Davidsen
  0 siblings, 0 replies; 4+ messages in thread
From: Bill Davidsen @ 2006-07-17 18:22 UTC (permalink / raw)
  To: Richard Scobie; +Cc: linux-raid

Richard Scobie wrote:

> Neil Brown wrote:
>
>> Add
>>   DEVICE /dev/sd?
>> or similar on a separate line.
>> Remove
>>   devices=/dev/sdc,/dev/sdd
>
>
> Thanks.
>
> My mistake, I thought after having assembled the arrays initially, 
> that the output of:
>
>  mdadm --detail --scan > mdadm.conf
>
> could be used directly.
>
> I'm using Centos 4.3, which I believe is the latest RHEL 4 and they 
> are only on mdadm 1.6  :( 


Do understand that the whole purpose of RHEL is to have a stable system. 
Upgrades are not done, instead bugs are fixed in the original version to 
correct security or stability issues. However, feature changes are not 
provided, because ver versions mean new issues. Stability has its price.

-- 
bill davidsen <davidsen@tmr.com>
  CTO TMR Associates, Inc
  Doing interesting things with small computers since 1979


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-07-17 18:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-06 23:39 Array will not assemble Richard Scobie
2006-07-07  0:06 ` Neil Brown
2006-07-07  1:42   ` Richard Scobie
2006-07-17 18:22     ` Bill Davidsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).