Re: Setting up software Raid1 with Centos



On Monday, 26 September, Connor T wrote:
> ok, well i got it working via the installer, however now i'm stuck.
> It booted fine with both disks, i disconnected one and it still booted.
Yay - that's working then.

> re-connected it and it doesnt see it:
>
It's not supposed to; it doesn't re-add disks automatically. If it did you
could have the situation where a dying disk would be repeatedly removed and
re-added as it failed and then seemed to work. The only way the system will
automatically repair an array is if it had a spare disk standing by.

> Sep 26 21:24:03 localhost kernel: raid1: raid set md0 active with 1 out
> of 2 mirrors
>
You need to tell the system to add the 'replacement' disk to the array with
the mdadm command; have a look at the manpage for the syntax details.

> Whats this initrd thing I must do?
>
You shouldn't need to mess with the initrd at all unless there's something
else that's gone wrong.

Ewan
.



Relevant Pages

  • Re: Need feedback on the A5200 storage array....
    ... they don't have the money for a big Hitachi array or a fast FC array with ... Use RAID5 on that kind of hardware. ... ten years or so) that had internal RAID5 controllers. ... I can't simply yank a disk and read its ...
    (comp.unix.solaris)
  • Re: HP EVA4000 / IBM DS4300 / EMC CX3-20/40
    ... Both EMC and EVA are great arrays and they will serve you well. ... disk array with the virtual raidsets on top. ... So, the system admin, and the DBAs had to create and manage lots of ...
    (comp.arch.storage)
  • Re: RAID 5 corruption, RAID 1 more stable?
    ... corruption to either the RAID array itself or the file system. ... The disk array to suffer so many errors (for example disk errors ... There is nothing the disk array can do if the host is broken and ...
    (comp.arch.storage)
  • Bug+fix: PDC20271 RAID detection fails
    ... My array was not detected by my kernel. ... the PDC RAID superblock, that is located at the start ... of the last track on the disk. ... is a multiple of track size and if not, ...
    (comp.os.linux.hardware)
  • FreeBSD 4.8, ASR2120, SMP, degraded RAID1/mirror => storage failure
    ... upon a RAID array degradation event (a disk is ... The same happens upon boot with a rebuilding/degraded array ... Attached is a tarball with debugging logs. ...
    (freebsd-questions)