[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#328698: marked as done (When root is installed on raid1 md0 starts in degaraded mode)



Your message dated Tue, 11 Jan 2011 23:05:33 +0000
with message-id <1294787133.3497.39.camel@eeepc.Belkin>
and subject line 
has caused the Debian Bug report #328698,
regarding When root is installed on raid1 md0 starts in degaraded mode
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
328698: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=328698
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: install
Severity: normal


If you make clean install with root on raid1 (mirror) md0 (root) starts in
degraded mode. You can mdadm "/dev/md0 --add /dev/other_disk_partition" to
add other disk to array but it gets kicked out after reboot.

Problem lies in mkinitrd, info from "man mdadm":
"If both mdadm(8) and raidtools2 are installed, the former is preferred.  At
the moment, mkinitrd uses the -D option of  mdadm(8)  to  discover  the
constituent devices.  This means that only devices that are part of the
array at the time that mkinitrd is run will be used later on.  This problem
does not exist when raidtools2 is used."

Quick and dirty solution:
mdadm /dev/md0 --add /dev/other_disk_partition
Wait for resync to complete
apt-get --purge remove kernel-image-version
apt-get install kernel-image-version

This creates new initrd.img which has both devices included in raid1.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)


--- End Message ---
--- Begin Message ---
Hi,

Thanks for your report.
Closing as it's an installation report from Sarge which isn't supported
anymore.
Feel free to test and report any issues against the current debian
installer release (Squeeze RC1) which supports more hardware and also
it's improved.
Thanks!

http://cdimage.debian.org/cdimage/squeeze_di_rc1/


-- 
Melhores cumprimentos/Best regards,

Miguel Figueiredo
http://www.DebianPT.org



--- End Message ---

Reply to: