linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nao Nishijima <nao.nishijima.xt@hitachi.com>
To: Kay Sievers <kay.sievers@vrfy.org>, greg@kroah.com
Cc: James.Bottomley@suse.de, rwheeler@redhat.com,
	linux-kernel@vger.kernel.org, linux-hotplug@vger.kernel.org,
	masami.hiramatsu.pt@hitachi.com, Matt_Domsch@dell.com
Subject: Re: [RFD] Device Renaming Mechanism
Date: Mon, 25 Oct 2010 10:55:02 +0000	[thread overview]
Message-ID: <4CC56206.8080700@hitachi.com> (raw)
In-Reply-To: <AANLkTi=HzjWZbz7J92h9LCQijG8Zsv1YptFzN7d_G7eG@mail.gmail.com>

Hello,

(2010/10/18 21:33), Kay Sievers wrote:
> 
> In short: it's a complete nightmare from the view of reliability, and
> I strongly suggest not even to think about to try that model on any
> other subsystem.

I see. I understood that network interface and block device are different.


> Device-mapper could maybe make the dm UUID mandatory, and use it as
> the device name. It will break a bunch of tools, which match on device
> names, but I guess it *could* be made working (if it does not involve
> any later renaming).

Indeed, device-mapper can provide a fixed name. However, still there is
mismatch between the dm device name and the troubling device name in kernel
log. That is the reason why I'm still sticking around the device renaming method.

In addition, using of device-mapper is worry about the performance and
management cost.

I think the method of using the intermediate device is the simplest solution.
Furthermore that method is compatible with old applications which are hard to
modify.


> I wouldn't even try. Besides the mentioned device mapper
> mandatory/non-changeable UUID=device-name approach which could work,
> I don't think that renaming of sd devices can be made working, without
> rewriting half of all existing userspace. :)

Even though, if it is only way to solve log-mismatch problem, I'd rather try to
rewrite a half of those tools. :-)


> 
> Kay
> 
> 

Thank you for your advice.
Best Regards,

-- 
Nao NISHIJIMA
2nd Dept. Linux Technology Center
Hitachi, Ltd., Systems Development Laboratory
Email: nao.nishijima.xt@hitachi.com

  reply	other threads:[~2010-10-25 10:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-08  5:23 [RFD] Device Renaming Mechanism Nao Nishijima
2010-10-08 20:48 ` Greg KH
2010-10-18 11:43   ` Nao Nishijima
2010-10-18 12:33     ` Kay Sievers
2010-10-25 10:55       ` Nao Nishijima [this message]
2010-11-02  7:00 ` Jon Masters
2010-11-02 11:14   ` Greg KH

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=4CC56206.8080700@hitachi.com \
    --to=nao.nishijima.xt@hitachi.com \
    --cc=James.Bottomley@suse.de \
    --cc=Matt_Domsch@dell.com \
    --cc=greg@kroah.com \
    --cc=kay.sievers@vrfy.org \
    --cc=linux-hotplug@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=masami.hiramatsu.pt@hitachi.com \
    --cc=rwheeler@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).