Mailinglist Archive: opensuse (1522 mails)

< Previous Next >
Re: [opensuse] /dev/md0 does not start up at system boot (opensuse 11.2 x86_64)
  • From: Arun Khan <knura9@xxxxxxxxx>
  • Date: Sat, 6 Feb 2010 10:53:14 +0530
  • Message-id: <1f6793291002052123q67a3bf19i6d5167a61ababcd7@xxxxxxxxxxxxxx>
On Fri, Feb 5, 2010 at 10:38 PM, Manfred Hollstein
<manfred@xxxxxxxxxxxxxxxxx> wrote:
On Fri, 05 Feb 2010, 17:50:59 +0100, Arun Khan wrote:
OS: opensuse 11.2 x86_64 with stock kernel 2.6.31.5-0.1-desktop
Motherboard: DG45ID
CPU: Intel C2Q 8400

HDD1(sda): WD 320GB sataII
HDD2 (sdb): Seagate 160GB  sata II

(a) Using the mdadm tool created /dev/md0 (raid1 /dev/sda5 and
/dev/sdb1 both 160GB) - OK
(b) Create ext4 filesystem on /dev/md0  - OK
(c) Mounted /dev/md0 on /mnt/md0 - OK
(d) Added to /etc/fstab:
      /dev/md0    /mnt/md0     ext4       acl,user_xattr        1 2
(e) Created an updated "initrd" file to include the "md" drivers
      mkinitrd -f "md lvm2"  - OK
(e) mdadm --detail --scan > /etc/mdadm.conf  - OK

You should have run (e) _before_ running (e) ;-) To be serious,
/etc/mdadm.conf might be stored in the generated initrd, so before
running mkinitrd, it's always reasonable to have /etc/mdadm.conf as
current as possible.


The second (e) should have been (f) :).

Yes, I did generate a fresh initrd after creating the /etc/mdadm.conf.
It did not make any difference and also it was not copied over in the
initrd.

The real issue was that the boot.md service was OFF as Anders suspected.

Thanks for your help.

-- Arun Khan
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups