Bug 237438 - dmraid fails to detect at boot
Summary: dmraid fails to detect at boot
Alias: None
Product: Fedora
Classification: Fedora
Component: dmraid (Show other bugs)
(Show other bugs)
Version: 6
Hardware: x86_64 Linux
Target Milestone: ---
Assignee: Milan Broz
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2007-04-23 02:55 UTC by Need Real Name
Modified: 2013-03-01 04:05 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-04-26 13:56:18 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Need Real Name 2007-04-23 02:55:45 UTC
Description of problem:
dmraid (not root partition) is failing to detect at boot.  The function
resolve_dm_name() in /etc/init.d/functions called by /etc/rc.sysinit, depends on
"dmsetup table" to return available devices but "dmsetup table" seems to only
see already active devices, thus a chicken or egg situation where no device is
returned for activation.

Version-Release number of selected component (if applicable):

How reproducible:
Create a hardware based raid utilizing dmraid.  Reboot.

Steps to Reproduce:
1.Create a raid utilizing "fakeraid" hardware.
2.Test for active raid devices, dmraid -tay
Actual results:
Although /etc/rc.sysinit is supposed to pass the available raid devices to
dmraid to activate via resolve_dm_name(), they fail to get recognized and the
raid device does not get created under /dev/mappper.

Expected results:

Additional info:

Comment 1 Need Real Name 2007-04-23 05:09:11 UTC
Ah, I figured it out and resolved my problem by updating the initrd.
I would not have thought that it would require a mkinitrd to set up to use
fakeraid drivers for a non-root partition.  Technically, not a bug, although I'd
think m'be the design could be better.  That is, unless I'm missing something.

Comment 2 Milan Broz 2007-04-26 13:56:18 UTC
Init script expect already existing dm device.
mkinitrd also prepare possible kernel modules for underlying storage drivers.
If you think that it is bug, please report/reopen bug to initscripts component.

Note You need to log in before you can comment on or make changes to this bug.