Operating System - Linux
1753820 Members
8177 Online
108805 Solutions
New Discussion

vgextend of multiple paths to the same physical disk

 
SOLVED
Go to solution
Gerardo Arceri
Trusted Contributor

Re: vgextend of multiple paths to the same physical disk

If you choose to use DM-Multipat, which i strongly suggest you do since the failover feature on the driver has given me nothing but trouble, add the following line to /etc/lvm/lv.conf
filter = [ "a|^/dev/mpath*|","a|^/dev/cciss/.*|","r/.*/" ]


This will include any dm-multipath pseudo devices and any pvs you might have on your cciss array controllers.
This should make these ugly messages about dupe pv's
AVV
Super Advisor

Re: vgextend of multiple paths to the same physical disk

Hi,

Try to download a multipath software from HP Site and install the same in your server. It is something called HP DMP (google it). You will need to restrt the services with

#service multipathd restart

Then it shows you the logical path of four paths to a single LUN and you can use that to do the pvcreate and vgcreate.

Example:

#multipath -ll


mpath11 (3600c0ff000da0ba80411e94b01000000) dm-7 HP,MSA2324fc
[size=4.7G][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=100][active]
\_ 1:0:1:1 sdae 65:224 [active][ready]
\_ 0:0:0:1 sda 8:0 [active][ready]
\_ round-robin 0 [prio=20][enabled]
\_ 0:0:1:1 sdk 8:160 [active][ready]
\_ 1:0:0:1 sdu 65:64 [active][ready]

In the above example, you may have to use mpath11

#pvcreate /dev/mapper/mpath11
#vgcreate vg01 /dev/mapper/mpath11

Hope it is clear to you now!!