linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* question on how to (correctly) build an initrd for a root disk on a RAID1
@ 2008-10-27  2:37 Joe Landman
  2008-10-27  3:22 ` Steve Cousins
  2008-10-27  7:16 ` Luca Berra
  0 siblings, 2 replies; 15+ messages in thread
From: Joe Landman @ 2008-10-27  2:37 UTC (permalink / raw)
  To: linux-raid

Hi folks:

  We have been trying to build an operational initrd for a root drive
on  software RAID1.

  Basic specs:   2.6.23.14 kernel (though same issues with 2.6.27.2
kernel), on Centos 5.2, pair of SATA drives using libata and other
drivers, x86_64 architecture.

  Using mkinitrd --with=raid1 --with=libata --with=sd_mod ...

  I am getting a kernel panic on switchroot, it can't find the root
file system.  I did some googling, but could not find a similar
example.  Do I need to create a specialized init script?  Is there an
example of this somewhere?  I did look at the Documentation/md.txt and
tried the

     md=0,sda1,sdb1 md=1,sda2,sdb2  md=2,sda3,sdb3

  kernel boot time option, to no avail.  Persistent superblocks are
on, and the devices have the right partition types.

  Any suggestions?  More things to read?

  Thanks in advance.

Joe

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2008-10-29 12:13 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-27  2:37 question on how to (correctly) build an initrd for a root disk on a RAID1 Joe Landman
2008-10-27  3:22 ` Steve Cousins
2008-10-27  3:26   ` Joe Landman
2008-10-27  7:16 ` Luca Berra
2008-10-27 12:34   ` Joe Landman
2008-10-27 16:36     ` Brendan Conoboy
2008-10-27 17:56       ` Doug Ledford
2008-10-27 18:08         ` Joe Landman
2008-10-27 18:02       ` Joe Landman
2008-10-28  6:43     ` Luca Berra
2008-10-28 12:20       ` Joe Landman
2008-10-29  1:42         ` Joe Landman
2008-10-29  2:03           ` Joe Landman
2008-10-29  2:49             ` Joe Landman
2008-10-29 12:13               ` Tru Huynh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).