On Fri, Feb 5, 2010 at 10:38 PM, Manfred Hollstein
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@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org