RHEL 6: Missing /dev/mpath directory
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 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. -- dm-devel mailing list dm-devel@redhat.com https://www.redhat.com/mailman/listinfo/dm-devel |
RHEL 6: Missing /dev/mpath directory
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 |
RHEL 6: Missing /dev/mpath directory
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. -- dm-devel mailing list dm-devel@redhat.com https://www.redhat.com/mailman/listinfo/dm-devel |
| All times are GMT. The time now is 05:49 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.