All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Young <dyoung-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: "initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Chao Wang <chaowang-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Subject: Re: multipath device issue
Date: Fri, 03 Aug 2012 16:55:22 +0800	[thread overview]
Message-ID: <501B91FA.6010703@redhat.com> (raw)
In-Reply-To: <501B7FCE.1050502-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

On 08/03/2012 03:37 PM, Harald Hoyer wrote:

> Am 03.08.2012 07:36, schrieb Dave Young:
>> Hi, harald
>>
>> It has nothing to do with the udev rules.
>>
>> There's two issues:
>> 1) 90multipath install multipath.sh to pre-trigger hook, but seems
>> /dev/mapper/mpathX depends on /dev/dm-* population which will be created
>> after udev trigger.
>>
>> 2) fstab-sys call wait_for_dev /dev/mapper/mpathb in initqueue,
>> /dev/mapper/mpathb does not geting change to create, so dracut drop to
>> emergency shell.
>>
>> I'm not sure what's the right way to resolve this, move multipath.sh to
>> pre-mount hook looks resolve the issue 1), how to resolve the issue 2)?
>> comment out it works, but it looks not a right fix.
>>
>> I'm not familiar with multipath, please correct me for anything wrong.
>>

> 
> I think it _has_ to do with the udev rules.


What I should say is "It has nothing to do with the udev rules patches
you mentioned previously" ;)

> 
> 1. the multipathd daemon has to be started before udevd is started.
> 2. when udev is triggered, 62-multipath.rules should kick in and call
> "multipath" for every disk, which adds disks to the daemon, if they fit.
> 3. of course /etc/multipath.conf has to be configured correctly.
> 
> So, if you see /dev/mapper/mpathb be correctly created, when you start multpathd
> after all devices exist in /dev, then the 62-multipath.rules
> mechanism does not seem to work,

>

> With the next systemd release "rd.udev.log-priority=debug" does work again and
> we might be able to debug this issue.


Ok, will see if I can get something from the 62-multipath.rules. Thanks
for the suggestion.


-- 
Thanks
Dave

  parent reply	other threads:[~2012-08-03  8:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-02  5:09 multipath device issue Dave Young
     [not found] ` <501A0B87.9070506-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-08-02  8:07   ` Harald Hoyer
     [not found]     ` <501A3532.7010907-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-08-02 12:41       ` Dave Young
     [not found]         ` <501A7590.3010701-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-08-02 13:18           ` Harald Hoyer
     [not found]             ` <501A7E2A.4020601-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-08-02 13:28               ` Dave Young
     [not found]                 ` <501A8078.1020208-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-08-03  5:36                   ` Dave Young
     [not found]                     ` <501B635B.1090703-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-08-03  7:37                       ` Harald Hoyer
     [not found]                         ` <501B7FCE.1050502-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-08-03  8:55                           ` Dave Young [this message]
     [not found]                             ` <501B91FA.6010703-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-08-14  6:16                               ` Dave Young
     [not found]                                 ` <5029ED27.8000309-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-08-14  6:17                                   ` Dave Young

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=501B91FA.6010703@redhat.com \
    --to=dyoung-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=chaowang-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.