All of lore.kernel.org
 help / color / mirror / Atom feed
* RHEL 6: Missing /dev/mpath directory
@ 2011-05-06 17:13 MOHAMMED FIRDOSH NASIM
  2011-05-06 17:47 ` Mike Snitzer
  0 siblings, 1 reply; 4+ messages in thread
From: MOHAMMED FIRDOSH NASIM @ 2011-05-06 17:13 UTC (permalink / raw)
  To: dm-devel


[-- Attachment #1.1: Type: text/plain, Size: 2703 bytes --]

Hi,
Apologies, as I am not sure whether my query fits into this mailing list. If
not, then please direct me to the correct mailing list.

I have configured RHEL 6 X86_64 host and have enabled multipath. As per the
DM Multipath documentation at "
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/DM_Multipath/mpath_devices.html#multipath_device_id",


"When new devices are brought under the control of DM-Multipath, the new
devices may be seen in three different places under the /dev directory:
/dev/mapper/mpath*n*, /dev/mpath/mpath*n*, and /dev/dm-*n*. "

In my host I am seeing the devices only as /dev/dm-n and /dev/mapper/mpathx
symlink to /dev/dm-n. I am not seeing directory /dev/mpath.
---------------------------- screen dump start ---------------------------
[root@sped10 ~]# cat /etc/issue
Red Hat Enterprise Linux Server release 6.0 (Santiago)
Kernel \r on an \m

[root@sped10 ~]# uname -a
Linux sped10 2.6.32-71.el6.x86_64 #1 SMP Wed Sep 1 01:33:01 EDT 2010 x86_64
x86_64 x86_64 GNU/Linux
[root@sped10 ~]# ls -l /dev/mapper/ | grep mpath
lrwxrwxrwx. 1 root root      7 May  6 22:34 mpatha -> ../dm-7
lrwxrwxrwx. 1 root root      7 May  6 22:34 mpathb -> ../dm-8
lrwxrwxrwx. 1 root root      8 May  6 22:34 mpathc -> ../dm-13
lrwxrwxrwx. 1 root root      7 May  6 22:34 mpathd -> ../dm-6
lrwxrwxrwx. 1 root root      7 May  6 22:34 mpathe -> ../dm-4
lrwxrwxrwx. 1 root root      8 May  6 22:34 mpathf -> ../dm-10
lrwxrwxrwx. 1 root root      7 May  6 22:34 mpathg -> ../dm-5
lrwxrwxrwx. 1 root root      8 May  6 22:34 mpathh -> ../dm-12
lrwxrwxrwx. 1 root root      7 May  6 22:34 mpathi -> ../dm-9
lrwxrwxrwx. 1 root root      8 May  6 22:34 mpathj -> ../dm-11
lrwxrwxrwx. 1 root root      7 May  6 22:34 mpathk -> ../dm-2
lrwxrwxrwx. 1 root root      7 May  6 22:34 mpathl -> ../dm-3
lrwxrwxrwx. 1 root root      8 May  6 22:34 mpathlp1 -> ../dm-16
lrwxrwxrwx. 1 root root      8 May  6 22:34 mpathm -> ../dm-15
lrwxrwxrwx. 1 root root      8 May  6 22:34 mpathmp1 -> ../dm-20
lrwxrwxrwx. 1 root root      8 May  6 22:34 mpathmp2 -> ../dm-21
lrwxrwxrwx. 1 root root      8 May  6 22:34 mpathmp3 -> ../dm-22
lrwxrwxrwx. 1 root root      8 May  6 22:34 mpathn -> ../dm-14
lrwxrwxrwx. 1 root root      8 May  6 22:34 mpathnp1 -> ../dm-17
lrwxrwxrwx. 1 root root      8 May  6 22:34 mpathnp2 -> ../dm-18
lrwxrwxrwx. 1 root root      8 May  6 22:34 mpathnp3 -> ../dm-19
[root@sped10 ~]# ls /dev/mpath
ls: cannot access /dev/mpath: No such file or directory
[root@sped10 ~]#

---------------------------- screen dump end   ---------------------------

Am I missing something in configuring multipath? Please assist in this
regard.

Thanks and Regards,
Mohammed Firdosh Nasim.

[-- Attachment #1.2: Type: text/html, Size: 3322 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



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

* Re: RHEL 6: Missing /dev/mpath directory
  2011-05-06 17:13 RHEL 6: Missing /dev/mpath directory MOHAMMED FIRDOSH NASIM
@ 2011-05-06 17:47 ` Mike Snitzer
  2011-05-07  9:54   ` Gianluca Cecchi
  0 siblings, 1 reply; 4+ messages in thread
From: Mike Snitzer @ 2011-05-06 17:47 UTC (permalink / raw)
  To: device-mapper development

On Fri, May 06 2011 at  1:13pm -0400,
MOHAMMED FIRDOSH NASIM <firdosh.nasim@gmail.com> wrote:

> Hi,
> Apologies, as I am not sure whether my query fits into this mailing list. If
> not, then please direct me to the correct mailing list.
> 
> I have configured RHEL 6 X86_64 host and have enabled multipath. As per the
> DM Multipath documentation at "
> http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/DM_Multipath/mpath_devices.html#multipath_device_id",
> 
> 
> "When new devices are brought under the control of DM-Multipath, the new
> devices may be seen in three different places under the /dev directory:
> /dev/mapper/mpath*n*, /dev/mpath/mpath*n*, and /dev/dm-*n*. "
> 
> In my host I am seeing the devices only as /dev/dm-n and /dev/mapper/mpathx
> symlink to /dev/dm-n. I am not seeing directory /dev/mpath.
> ---------------------------- screen dump start ---------------------------
> [root@sped10 ~]# cat /etc/issue
> Red Hat Enterprise Linux Server release 6.0 (Santiago)
> Kernel \r on an \m
> 
> [root@sped10 ~]# uname -a
> Linux sped10 2.6.32-71.el6.x86_64 #1 SMP Wed Sep 1 01:33:01 EDT 2010 x86_64
> x86_64 x86_64 GNU/Linux
> [root@sped10 ~]# ls -l /dev/mapper/ | grep mpath
> lrwxrwxrwx. 1 root root      7 May  6 22:34 mpatha -> ../dm-7
> lrwxrwxrwx. 1 root root      7 May  6 22:34 mpathb -> ../dm-8
> lrwxrwxrwx. 1 root root      8 May  6 22:34 mpathc -> ../dm-13
> lrwxrwxrwx. 1 root root      7 May  6 22:34 mpathd -> ../dm-6
> lrwxrwxrwx. 1 root root      7 May  6 22:34 mpathe -> ../dm-4
> lrwxrwxrwx. 1 root root      8 May  6 22:34 mpathf -> ../dm-10
> lrwxrwxrwx. 1 root root      7 May  6 22:34 mpathg -> ../dm-5
> lrwxrwxrwx. 1 root root      8 May  6 22:34 mpathh -> ../dm-12
> lrwxrwxrwx. 1 root root      7 May  6 22:34 mpathi -> ../dm-9
> lrwxrwxrwx. 1 root root      8 May  6 22:34 mpathj -> ../dm-11
> lrwxrwxrwx. 1 root root      7 May  6 22:34 mpathk -> ../dm-2
> lrwxrwxrwx. 1 root root      7 May  6 22:34 mpathl -> ../dm-3
> lrwxrwxrwx. 1 root root      8 May  6 22:34 mpathlp1 -> ../dm-16
> lrwxrwxrwx. 1 root root      8 May  6 22:34 mpathm -> ../dm-15
> lrwxrwxrwx. 1 root root      8 May  6 22:34 mpathmp1 -> ../dm-20
> lrwxrwxrwx. 1 root root      8 May  6 22:34 mpathmp2 -> ../dm-21
> lrwxrwxrwx. 1 root root      8 May  6 22:34 mpathmp3 -> ../dm-22
> lrwxrwxrwx. 1 root root      8 May  6 22:34 mpathn -> ../dm-14
> lrwxrwxrwx. 1 root root      8 May  6 22:34 mpathnp1 -> ../dm-17
> lrwxrwxrwx. 1 root root      8 May  6 22:34 mpathnp2 -> ../dm-18
> lrwxrwxrwx. 1 root root      8 May  6 22:34 mpathnp3 -> ../dm-19
> [root@sped10 ~]# ls /dev/mpath
> ls: cannot access /dev/mpath: No such file or directory
> [root@sped10 ~]#
> 
> ---------------------------- screen dump end   ---------------------------
> 
> Am I missing something in configuring multipath? Please assist in this
> regard.

Seems we need to update the RHEL6 docs you referenced.

/dev/mpath/ namespace is no longer maintained (afaik it was a "feature"
of a udev rule.  But I could be mistaken.  Ben and/or others could
correct me if I'm wrong).

/dev/mapper/mpath* was always the preferred method of access (even when
/dev/mpath/* did exist) -- reason is it was always available regardless
of udev.

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

* Re: RHEL 6: Missing /dev/mpath directory
  2011-05-06 17:47 ` Mike Snitzer
@ 2011-05-07  9:54   ` Gianluca Cecchi
  2011-05-07 12:25     ` Mike Snitzer
  0 siblings, 1 reply; 4+ messages in thread
From: Gianluca Cecchi @ 2011-05-07  9:54 UTC (permalink / raw)
  To: device-mapper development

On Fri, May 6, 2011 at 7:47 PM, Mike Snitzer <snitzer@redhat.com> wrote:

>> In my host I am seeing the devices only as /dev/dm-n and /dev/mapper/mpathx

>
> Seems we need to update the RHEL6 docs you referenced.
>
> /dev/mpath/ namespace is no longer maintained (afaik it was a "feature"
> of a udev rule.  But I could be mistaken.  Ben and/or others could
> correct me if I'm wrong).
>
> /dev/mapper/mpath* was always the preferred method of access (even when
> /dev/mpath/* did exist) -- reason is it was always available regardless
> of udev.
>

Am I correct to say that /dev/dm-* should be used only internally by
device-mapper and not referred to by user programs?
At least I remember I read something similar...

Gianluca

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel

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

* Re: RHEL 6: Missing /dev/mpath directory
  2011-05-07  9:54   ` Gianluca Cecchi
@ 2011-05-07 12:25     ` Mike Snitzer
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Snitzer @ 2011-05-07 12:25 UTC (permalink / raw)
  To: device-mapper development

On Sat, May 07 2011 at  5:54am -0400,
Gianluca Cecchi <gianluca.cecchi@gmail.com> wrote:

> On Fri, May 6, 2011 at 7:47 PM, Mike Snitzer <snitzer@redhat.com> wrote:
> 
> >> In my host I am seeing the devices only as /dev/dm-n and /dev/mapper/mpathx
> 
> >
> > Seems we need to update the RHEL6 docs you referenced.
> >
> > /dev/mpath/ namespace is no longer maintained (afaik it was a "feature"
> > of a udev rule.  But I could be mistaken.  Ben and/or others could
> > correct me if I'm wrong).
> >
> > /dev/mapper/mpath* was always the preferred method of access (even when
> > /dev/mpath/* did exist) -- reason is it was always available regardless
> > of udev.
> >
> 
> Am I correct to say that /dev/dm-* should be used only internally by
> device-mapper and not referred to by user programs?
> At least I remember I read something similar...

Yes, that is correct.

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

end of thread, other threads:[~2011-05-07 12:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-06 17:13 RHEL 6: Missing /dev/mpath directory MOHAMMED FIRDOSH NASIM
2011-05-06 17:47 ` Mike Snitzer
2011-05-07  9:54   ` Gianluca Cecchi
2011-05-07 12:25     ` Mike Snitzer

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.