All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jun'ichi Nomura" <j-nomura@ce.jp.nec.com>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: [Patch] kpartx to accept device map name
Date: Mon, 16 May 2005 19:50:11 -0400	[thread overview]
Message-ID: <428931B3.7010804@ce.jp.nec.com> (raw)
In-Reply-To: <1116283839.9352.48.camel@zezette>

Hi,

Excuse me for the misleading message.

The problem I saw was that when executing kpartx just after
multipath (in shell script), kpartx was invoked too early
and couldn't see the device node. I could avoid it by
inserting "sleep 5" after multipath execution but I can't
tell whether it's enough.
Kiyoshi's patch should fix it and the device node will be
created on the location which libdevmapper knows. (/dev/mapper)

'-m' option provides a way to avoid dependency to hidden knowledge
about the location (/dev or /dev/mapper or anywhere else).
Without this, we have to synchronize udev rules, hotplug shell
scripts and initscripts to see the same device node for dm devices.
This is why I thought it's better to give kpartx an option like this.

..However, in the really latest CVS, dmsetup has a new function
to execute external command with device node name.
So we can do the same thing with dmsetup now.
Given that you are reluctant to add kpartx more relationship with
libdevmapper, dmsetup is the best place.

Thanks,
Jun'ichi Nomura

christophe varoqui wrote:
> Can you elaborate on the problems you see with the asynchronous hotplug
> model ?
> 
> I would like to express my reluctance to add a devmap special case to
> kpartx.
> 
> On lun, 2005-05-16 at 15:21 -0400, Jun'ichi Nomura wrote:
>>Attached patch adds '-m' option which makes kpartx
>>to accept device map name.

      reply	other threads:[~2005-05-16 23:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-16 19:21 [Patch] kpartx to accept device map name Jun'ichi Nomura
2005-05-16 22:50 ` christophe varoqui
2005-05-16 23:50   ` Jun'ichi Nomura [this message]

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=428931B3.7010804@ce.jp.nec.com \
    --to=j-nomura@ce.jp.nec.com \
    --cc=dm-devel@redhat.com \
    /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.