Array will not assemble
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
Quoted 9 lines · On Friday July 7, [email protected] 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/md3level=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
Quoted 5 lines · Neil Brown
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
Quoted 11 lines · Richard Scobie
Quoted 5 lines · Neil Brown
Add
DEVICE/dev/sd?
or similar on a separate line.
Remove
devices=/dev/sdc,/dev/sddThanks.
Quoted 7 lines
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.
Signature · 3 lines
bill davidsen <[email protected]> CTO TMR Associates, Inc Doing interesting things with small computers since 1979