* persistent device names on rhel4
@ 2006-07-18 13:32 lnx dm
2006-08-02 23:08 ` Benjamin Marzinski
0 siblings, 1 reply; 2+ messages in thread
From: lnx dm @ 2006-07-18 13:32 UTC (permalink / raw)
To: dm-devel
I am using multipathing on rhel4 u3 x86_64 with
EVA4000 and HSV200 controller.
I had a few questions:
1. lsmod shows the below modules
dm_mirror 29017 0
dm_round_robin 4929 1
dm_multipath 21841 2 dm_round_robin
dm_mod 67457 9 dm_mirror,dm_multipath
Do need to insert "multipath" module also ?
If yes then what it is for ?
without using multipath module I can see multiple
paths in multipath -v2 -l output
2. How do I ensure that the same device gets mounted
across reboots ?
I verified that across the reboots mpath6 refers to
the same device, wwid is same for mpath6 across
reboots
# multipath -v2 -l
mpath6 (3600805f300176640a435a927359c0003)
[size=440 GB][features="0"][hwhandler="0"]
\_ round-robin 0 [active]
\_ 2:0:0:1 sdag 66:0 [active][ready]
\_ 0:0:0:1 sda 8:0 [active][ready]
I have /dev/mapper/mpath6 in /etc/fstab and it works
correctly.
# ls -l /dev/mpath/mpath6
lrwxrwxrwx 1 root root 7 Jul 18 06:13
/dev/mpath/mpath6 -> ../dm-6
What is the difference if I use /dev/dm-6 ?
which will be better ?
Thanks.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: persistent device names on rhel4
2006-07-18 13:32 persistent device names on rhel4 lnx dm
@ 2006-08-02 23:08 ` Benjamin Marzinski
0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Marzinski @ 2006-08-02 23:08 UTC (permalink / raw)
To: device-mapper development
On Tue, Jul 18, 2006 at 06:32:42AM -0700, lnx dm wrote:
> I am using multipathing on rhel4 u3 x86_64 with
> EVA4000 and HSV200 controller.
>
> I had a few questions:
>
> 1. lsmod shows the below modules
>
> dm_mirror 29017 0
> dm_round_robin 4929 1
> dm_multipath 21841 2 dm_round_robin
> dm_mod 67457 9 dm_mirror,dm_multipath
>
> Do need to insert "multipath" module also ?
> If yes then what it is for ?
The modules that you see in the lsmod should be all you need.
> without using multipath module I can see multiple
> paths in multipath -v2 -l output
>
> 2. How do I ensure that the same device gets mounted
> across reboots ?
> I verified that across the reboots mpath6 refers to
> the same device, wwid is same for mpath6 across
> reboots
mpath6 will always point to the same device on that node. If you have multiple
nodes using the same devices, and you want to make sure that they all use the
same multipath names, you can just copy the /var/lib/multipath/bindings file
from a node where the names are set up the way you want to the other nodes.
This file holds the WWID -> user_friendly_name bindings.
> # multipath -v2 -l
> mpath6 (3600805f300176640a435a927359c0003)
> [size=440 GB][features="0"][hwhandler="0"]
> \_ round-robin 0 [active]
> \_ 2:0:0:1 sdag 66:0 [active][ready]
> \_ 0:0:0:1 sda 8:0 [active][ready]
>
> I have /dev/mapper/mpath6 in /etc/fstab and it works
> correctly.
>
> # ls -l /dev/mpath/mpath6
> lrwxrwxrwx 1 root root 7 Jul 18 06:13
> /dev/mpath/mpath6 -> ../dm-6
>
> What is the difference if I use /dev/dm-6 ?
There is now way to guarantee the /dev/dm-6 will always refer to the correct
device.
> which will be better ?
mpath6
> Thanks.
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> --
> dm-devel mailing list
> dm-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-02 23:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-18 13:32 persistent device names on rhel4 lnx dm
2006-08-02 23:08 ` Benjamin Marzinski
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.