Bug 232849

Summary: Multipath devices not created in time
Product: Red Hat Enterprise Linux 4 Reporter: Joseph Shraibman <jks>
Component: device-mapper-multipathAssignee: Ben Marzinski <bmarzins>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Corey Marthaler <cmarthal>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.4CC: agk, bmarzins, christophe.varoqui, dwysocha, egoggin, junichi.nomura, kueda, lmb, mbroz, prockai, tranlan
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-12 21:17:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joseph Shraibman 2007-03-18 21:46:15 UTC
Description of problem:
When booting I get dropped into singe user mode when init reads fstab to mount
directories because the multipath entries in /dev don't exist.  Once I enter the
root password I can mount the directories because at that point the devices to
exist.

Version-Release number of selected component (if applicable):
device-mapper-multipath-0.4.5-16.1.RHEL4

How reproducible:
All the time

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
To work around I added _netdev to the options in fstab

Comment 1 Ben Marzinski 2007-04-04 22:11:09 UTC
Which multipath entries are you using?

/dev/dm-* names are not guaranteed to be unique across reboots and should never
be used. They are also created by udev and not guaranteed to exist immediately
after device creation.

/dev/mpath/* names are unique, but are also created by udev and not guaranteed
to exist immediately after device creation. They should not be used in things
like /etc/fstab

/dev/mapper/* names are created by device-mapper, and exist immediately after
the device is created.

If you are not using /dev/mapper/* names in /etc/fstab, try switching to them
and let me know if this fixes the problem for you.

Comment 2 Joseph Shraibman 2007-04-05 01:17:58 UTC
I was using /dev/dm-*.  I can't reboot this system anytime soon just to test if
the /dev/mapper entries work.

Comment 3 Ben Marzinski 2007-06-01 00:29:55 UTC
Please let me know if this fixed the problem.

Comment 4 Joseph Shraibman 2007-06-01 01:47:33 UTC
I'm sorry, this system might not be rebooted for months.