All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: multipath-tools: symlinks and block devices in /dev/mapper
@ 2015-08-07 12:23 Xose Vazquez Perez
  0 siblings, 0 replies; 2+ messages in thread
From: Xose Vazquez Perez @ 2015-08-07 12:23 UTC (permalink / raw)
  To: Sean Stewart, device-mapper development

Sean Stewart wrote:

> I've seen a couple of cases on distros that use system (RHEL7 and SLES12) where after the
> system boots, if you go to /dev/mapper, you will see the mpath entries are a mix of symlinks
> to the respective /dev/dm- device, and others are a block device.

It was reported to SuSE time ago, and it was fixed recently.
I did not see this bug in CentOS_7 1503+updates.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* multipath-tools: symlinks and block devices in /dev/mapper
@ 2015-08-06 21:32 Stewart, Sean
  0 siblings, 0 replies; 2+ messages in thread
From: Stewart, Sean @ 2015-08-06 21:32 UTC (permalink / raw)
  To: dm-devel

Hi all,

I've seen a couple of cases on distros that use system (RHEL7 and SLES12) where after the
system boots, if you go to /dev/mapper, you will see the mpath entries are a mix of symlinks
to the respective /dev/dm- device, and others are a block device.

After some investigation, it looks like the symlink is created by udev, and the block device
file gets created with the call to dm_lib_exit(), from the multipath command. Of course, if
one has already created its device file, the other can't.

So I'm wondering why do we have both mechanism to create /dev/mapper/ links and files? It
doesn't really hurt anything, but I think it's strange that it's not consistent.

Thoughts?


Thanks,

Sean Stewart
Linux Software Engineer
Hyperscale Storage Group
NetApp

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-07 12:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-07 12:23 multipath-tools: symlinks and block devices in /dev/mapper Xose Vazquez Perez
  -- strict thread matches above, loose matches on Subject: below --
2015-08-06 21:32 Stewart, Sean

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.