<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Tom H wrote:
<blockquote
 cite="mid:AANLkTim3o8PSm35RJnKiAyXeFNDhiOnDTTZ1AWKJw_Jr@mail.gmail.com"
 type="cite">
  <pre wrap="">On Wed, Jun 30, 2010 at 1:46 PM, Robert Steinmetz AIA
<a class="moz-txt-link-rfc2396E" href="mailto:rob@steinmetznet.com"><rob@steinmetznet.com></a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">I'm not sure what scripts to run to load mdadm and lmv but in
/scripts/init-premount there are scripts named lvm2 and mdadm

When I run those scripts manually, I get this;

(initramfs) cd /scripts/init-premount
(initramfs) ./lvm2
ln: /tmp/mountroot-fail-hooks.d/20-lvm2: File Exists
(initramfs) ./mdadm
ln: /tmp/mountroot-fail-hooks.d/10-mdadm: File exists
    </pre>
  </blockquote>
  <pre wrap=""><!---->
You're welcome.

Is udev creating the required /dev/md* and /dev/mapper/*?

If yes, try the mdadm and lvm commands in /sbin.

If the above two work, perhaps adding a rootdelay=x to the kernel line
will fix your problem because it might just be a question of timing.

(I meant the scripts in /scripts)
  </pre>
</blockquote>
udev is not creating the devices,  /dev/md0, /dev/md1 or /dev/mapper/*
are not there when I drop into initramfs. <br>
They are created when I run /sbin/mdadm (/dev/md0 and /dev/md1) and
/sbin/lmv (/dev/mapper/*) manually.<br>
<br>
When I run mdadm -A --scan I get an error about /dev/urandom <br>
When I run mdadm -A /dev/md0 or /dev/md1 it creates the devices and
activates the array.<br>
<div class="moz-signature">-- <br>
<meta content="text/html; " http-equiv="content-type">
<title>Signature</title>
<small><span style="font-family: century schoolbook; font-weight: bold;">Robert
Steinmetz, AIA<br>
</span><span style="font-family: century schoolbook;">Principal<br>
<span style="font-weight: bold;">Steinmetz </span><span
 style="color: rgb(153, 0, 0); font-weight: bold;">&</span><span
 style="font-weight: bold;"> Associates</span></span></small></div>
</body>
</html>