Operating System - Linux
1748021 Members
4777 Online
108757 Solutions
New Discussion юеВ

Re: eva4000 and activating multipath on existing LVM ext3

 
Nm06
New Member

eva4000 and activating multipath on existing LVM ext3

Hello,

I have actually a DL385 with one HBA connected on an EVA4000. (2 controllers inside)
I have an LVM ext3 volume which is using devices without mapper (ex: /dev/sdi1 , /dev/sdj1 ..)

I see this kind of messages:
Found duplicate PV 37VGzhsNZsJzwSYHaTP9dmlLcDLG8HRa: using /dev/sdi1 not /dev/sdf1

because I see devices from the 2 controllers.


now I want to implement DM-Multipath.
I have installed multipath package ,but how can I say to lvm to use multipath devices instead of /dev/sdi1 ....

I don't want to break anything.

thank you in advance for your help

Best Regards
Patrice
3 REPLIES 3
Nm06
New Member

Re: eva4000 and activating multipath on existing LVM ext3

I have googled around and found some things to do , can someone tell me if I will do it right:

at this moment I have multipath installed but the physical devices used in my lvm are still /dev/sdi, /dev/sdj .... , and I have /dev/mapper/LVM_GRP1 which exist.

- I will put a filter in my lvm.conf: filter = [ "a|/dev/mapper/LVM_.*|", "r|.*|" ]

- umount my lvm volumes

- pvscan

- mount my partitions using /dev/mapper/LVM_GRP1


do I forget something ?

Steven E. Protter
Exalted Contributor

Re: eva4000 and activating multipath on existing LVM ext3

Shalom,

Multi-path is built into the OS.

If you present two paths, you are done.

What package specifically did you install?

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Nm06
New Member

Re: eva4000 and activating multipath on existing LVM ext3

Hi Steven,

The system (redhat 5) was installed without the package device-mapper-multipath...rpm

I installed it a few days ago, but I am not really sure my LVM volumes use multipath devices.

Do you know what should I verify ?

Thank you !!