<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: vgextend of multiple paths to the same physical disk in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/vgextend-of-multiple-paths-to-the-same-physical-disk/m-p/4637285#M40908</link>
    <description>Simplest Answer:&lt;BR /&gt;&lt;BR /&gt;a) When in doubt - go with Steven.&lt;BR /&gt;b) If you disagree with me, go with Steven.&lt;BR /&gt;c) If you disagree yourself - go with Steven.&lt;BR /&gt;d) If Steven disagrees with himself, ask Steven to clarify, and then go with Steven.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 26 May 2010 18:06:59 GMT</pubDate>
    <dc:creator>TwoProc</dc:creator>
    <dc:date>2010-05-26T18:06:59Z</dc:date>
    <item>
      <title>vgextend of multiple paths to the same physical disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vgextend-of-multiple-paths-to-the-same-physical-disk/m-p/4637278#M40901</link>
      <description>&lt;BR /&gt; Hi all.&lt;BR /&gt;&lt;BR /&gt; I have a Linux Redhat 4.7 EL machine that connected to an EVA using 2 different HBAs in the same machine. Due to this, when I create and present a new disk, I can see it through 4 different /dev/sd* devices.&lt;BR /&gt;&lt;BR /&gt; Under HP-UX, you can do:&lt;BR /&gt;&lt;BR /&gt;vgextend myvg /dev/rdsk/mydisk1 /dev/rdsk/mydisk2 (and son on)&lt;BR /&gt;&lt;BR /&gt; And then LVM detects that all disks are the same and adds the first device as primary and all the other devices as PVLINKS (alternate paths to switch to when the primary paths is lost).&lt;BR /&gt;&lt;BR /&gt; Does Linux support this kind of behaviour? I mean, can I do:&lt;BR /&gt;&lt;BR /&gt;vgextend myvg /dev/sdj /dev/sdp /dev/sdo /dev/sdx &lt;BR /&gt;&lt;BR /&gt; And will work as 4 paths for the same Physical disk, or LVM will try to add "4" different physical disks to the volume group.&lt;BR /&gt;&lt;BR /&gt;PS: This machine is "inherited" and multipath was not configured on it so I don't know if the "HP-UX" method would work for me. But I'm not sure if Linux's LVM supports multipath in the LVM layer itself...</description>
      <pubDate>Tue, 25 May 2010 15:22:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vgextend-of-multiple-paths-to-the-same-physical-disk/m-p/4637278#M40901</guid>
      <dc:creator>compiler</dc:creator>
      <dc:date>2010-05-25T15:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: vgextend of multiple paths to the same physical disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vgextend-of-multiple-paths-to-the-same-physical-disk/m-p/4637279#M40902</link>
      <description>The good news is that HP never needed multipath software to detect that two paths were the same disk.  My guess is that it will work the same in Linux, and that lvm will know the difference between two different disks and two paths (or more) to the same disk (ne' lun).&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 25 May 2010 17:21:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vgextend-of-multiple-paths-to-the-same-physical-disk/m-p/4637279#M40902</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2010-05-25T17:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: vgextend of multiple paths to the same physical disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vgextend-of-multiple-paths-to-the-same-physical-disk/m-p/4637280#M40903</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;If all four disks are the same LUN, do the vgextend one disk at a time.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 25 May 2010 18:35:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vgextend-of-multiple-paths-to-the-same-physical-disk/m-p/4637280#M40903</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-05-25T18:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: vgextend of multiple paths to the same physical disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vgextend-of-multiple-paths-to-the-same-physical-disk/m-p/4637281#M40904</link>
      <description>You must configure multipath for this case, or use a multipath capable FC adapter driver.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.cocoanet.us/dantepasquale/blog/tech-tips/multipath-setup-in-linux" target="_blank"&gt;http://www.cocoanet.us/dantepasquale/blog/tech-tips/multipath-setup-in-linux&lt;/A&gt;</description>
      <pubDate>Tue, 25 May 2010 20:35:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vgextend-of-multiple-paths-to-the-same-physical-disk/m-p/4637281#M40904</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2010-05-25T20:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: vgextend of multiple paths to the same physical disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vgextend-of-multiple-paths-to-the-same-physical-disk/m-p/4637282#M40905</link>
      <description>&lt;BR /&gt; Hi.&lt;BR /&gt;&lt;BR /&gt; I have 3 100% contradictory answers:&lt;BR /&gt;&lt;BR /&gt;1.- John and Steven says that I can:&lt;BR /&gt;&lt;BR /&gt;# vgextend myvg /dev/sdj&lt;BR /&gt;# vgextend myvg /dev/sdp&lt;BR /&gt;# vgextend myvg /dev/sdo&lt;BR /&gt;# vgextend myvg /dev/sdx&lt;BR /&gt;&lt;BR /&gt; And if all 4 device files point to the same disk in the EVA via different PATHs, then LVM will notice that and will add just 1 disk with 3 extra paths instead of trying to add 4 different disks.&lt;BR /&gt;&lt;BR /&gt; This WORKS in HP-UX (actually tested lots of times and PVLINKS work perfectly when a fiber path is lost, LVM layer switched to a different disk path).&lt;BR /&gt; &lt;BR /&gt;and&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2.- Ivan says that it won't work and I need to configure multipath.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt; What's the right answer? :?&lt;BR /&gt;</description>
      <pubDate>Wed, 26 May 2010 07:18:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vgextend-of-multiple-paths-to-the-same-physical-disk/m-p/4637282#M40905</guid>
      <dc:creator>compiler</dc:creator>
      <dc:date>2010-05-26T07:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: vgextend of multiple paths to the same physical disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vgextend-of-multiple-paths-to-the-same-physical-disk/m-p/4637283#M40906</link>
      <description>check this pdf.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://bizsupport.austin.hp.com/bc/docs/support/SupportManual/c00710472/c00710472.pdf" target="_blank"&gt;http://bizsupport.austin.hp.com/bc/docs/support/SupportManual/c00710472/c00710472.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;GUdluck&lt;BR /&gt;Prasanth</description>
      <pubDate>Wed, 26 May 2010 08:15:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vgextend-of-multiple-paths-to-the-same-physical-disk/m-p/4637283#M40906</guid>
      <dc:creator>Prasanth V Aravind</dc:creator>
      <dc:date>2010-05-26T08:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: vgextend of multiple paths to the same physical disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vgextend-of-multiple-paths-to-the-same-physical-disk/m-p/4637284#M40907</link>
      <description>forums for same issues..&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1161770" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1161770&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1375018" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1375018&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1161770" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1161770&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://telinit0.blogspot.com/2009/03/multipathing-with-rhel5-and-hp-eva-8k.html" target="_blank"&gt;http://telinit0.blogspot.com/2009/03/multipathing-with-rhel5-and-hp-eva-8k.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Gudluck&lt;BR /&gt;Prasanth</description>
      <pubDate>Wed, 26 May 2010 08:17:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vgextend-of-multiple-paths-to-the-same-physical-disk/m-p/4637284#M40907</guid>
      <dc:creator>Prasanth V Aravind</dc:creator>
      <dc:date>2010-05-26T08:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: vgextend of multiple paths to the same physical disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vgextend-of-multiple-paths-to-the-same-physical-disk/m-p/4637285#M40908</link>
      <description>Simplest Answer:&lt;BR /&gt;&lt;BR /&gt;a) When in doubt - go with Steven.&lt;BR /&gt;b) If you disagree with me, go with Steven.&lt;BR /&gt;c) If you disagree yourself - go with Steven.&lt;BR /&gt;d) If Steven disagrees with himself, ask Steven to clarify, and then go with Steven.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 26 May 2010 18:06:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vgextend-of-multiple-paths-to-the-same-physical-disk/m-p/4637285#M40908</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2010-05-26T18:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: vgextend of multiple paths to the same physical disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vgextend-of-multiple-paths-to-the-same-physical-disk/m-p/4637286#M40909</link>
      <description>You need dm-multipath.&lt;BR /&gt;Check:&lt;BR /&gt;&lt;A href="http://www.softpanorama.org/Commercial_linuxes/linux_multipath.shtml" target="_blank"&gt;http://www.softpanorama.org/Commercial_linuxes/linux_multipath.shtml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It's pretty easy to setup and maintain, after you got it setup you will need to use the mpath devices as your PVs&lt;BR /&gt;like &lt;BR /&gt;pvcreate /dev/mpathX&lt;BR /&gt;vgextend myvg /dev/mpathX.&lt;BR /&gt;&lt;BR /&gt;Believe me, it's very easy to setup/use</description>
      <pubDate>Wed, 26 May 2010 20:47:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vgextend-of-multiple-paths-to-the-same-physical-disk/m-p/4637286#M40909</guid>
      <dc:creator>Gerardo Arceri</dc:creator>
      <dc:date>2010-05-26T20:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: vgextend of multiple paths to the same physical disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vgextend-of-multiple-paths-to-the-same-physical-disk/m-p/4637287#M40910</link>
      <description>&lt;BR /&gt; Hi all.&lt;BR /&gt;&lt;BR /&gt; HP support (who was who installed this server) said us that multipath is configured via "qlogic driver":&lt;BR /&gt;&lt;BR /&gt;# cat /etc/modprobe.conf&lt;BR /&gt;options qla2xxx  ql2xmaxqdepth=16 qlport_down_retry=30 ql2xloginretrycount=30 ql2xfailover=1 ql2xlbType=0 ql2xautorestore=0x80 ConfigRequired=0&lt;BR /&gt;&lt;BR /&gt; They say that with ql2xfailover=1, the qlogic driver uses multipathing capabilities.&lt;BR /&gt; &lt;BR /&gt; But when we list physical devices in the LVM VG they created we see:&lt;BR /&gt;&lt;BR /&gt;# pvdisplay  |grep "PV Name"&lt;BR /&gt;  PV Name               /dev/sdn1&lt;BR /&gt;&lt;BR /&gt;# vgdisplay -v myvg&lt;BR /&gt;    Using volume group(s) on command line&lt;BR /&gt;    Finding volume group "myvg"&lt;BR /&gt;  Found duplicate PV K12897688979sd87hjgtuy7t: using /dev/sdb1 not /dev/sdq1&lt;BR /&gt;  (...lots of similar warnings like that...)&lt;BR /&gt;  Found duplicate PV asklja9s82ji3oisd9038ujd: using /dev/sdo1 not /dev/sdl1&lt;BR /&gt;&lt;BR /&gt;  (skipped lvm info)&lt;BR /&gt;&lt;BR /&gt;  --- Physical volumes ---&lt;BR /&gt;  PV Name               /dev/sdn1     &lt;BR /&gt;  PV UUID               AI89s9-2x44-2124-TOFi-OmOQ-v47R-nQXfoS&lt;BR /&gt;  PV Status             allocatable&lt;BR /&gt;  Total PE / Free PE    38000 / 12000&lt;BR /&gt;   &lt;BR /&gt;  PV Name               /dev/sdo1     &lt;BR /&gt;  PV UUID               mQ1tss-CadM-RC6G-b6F9-gaa9-IPUQ-123daS&lt;BR /&gt;  PV Status             allocatable&lt;BR /&gt;  Total PE / Free PE    38000 / 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; I was expecting to see PV NAMES like /dev/md0 or other multipath-style names, not directly sdn or sdo...&lt;BR /&gt;&lt;BR /&gt; Multipath seems not configured but LVM things appearing in device-mapper:&lt;BR /&gt;&lt;BR /&gt;# cat /etc/multipath.conf&lt;BR /&gt;cat: /etc/multipath.conf: No such file or directory&lt;BR /&gt;&lt;BR /&gt;# dmsetup ls --target=multipath&lt;BR /&gt;(nothing)&lt;BR /&gt;&lt;BR /&gt;# ls -l /dev/mapper/&lt;BR /&gt;total 0&lt;BR /&gt;crw-------  1 root root  10, 63 May 12 20:55 control&lt;BR /&gt;brw-rw----  1 root disk 253,  2 May 26 02:19 myvg-data&lt;BR /&gt;brw-rw----  1 root disk 253,  0 May 12 20:55 VolGroup00-LogVol00&lt;BR /&gt;brw-rw----  1 root disk 253,  1 May 12 20:55 VolGroup00-LogVol01&lt;BR /&gt;&lt;BR /&gt;# ls -l /dev/dm-*&lt;BR /&gt;brw-r-----  1 root root 253, 0 May 12 20:55 /dev/dm-0&lt;BR /&gt;brw-r-----  1 root root 253, 1 May 12 20:55 /dev/dm-1&lt;BR /&gt;brw-r-----  1 root root 253, 2 May 26 02:19 /dev/dm-2&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt; And that's my doubt: if qlogic driver is being used with ql2xfailover=1, it is right that HP did the pvcreate over physical devices like /dev/sdn1 and /dev/sdo1? If I unplug the HBA fiber cables that are pointed by sdo and sdn, will the driver switch to a different path and will continue working the VG?&lt;BR /&gt;&lt;BR /&gt; Is multipathing properly configured in this machine via "qlogic driver"?&lt;BR /&gt;&lt;BR /&gt; If I need to add a new disk to the VG, I can safely add directly the /dev/sdX device file (only 1 of all that can be seem) to it? Would LVM use that /dev/sdX device directly and CHANGE to another /dev/sdX device if that path is lost?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 28 May 2010 08:35:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vgextend-of-multiple-paths-to-the-same-physical-disk/m-p/4637287#M40910</guid>
      <dc:creator>compiler</dc:creator>
      <dc:date>2010-05-28T08:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: vgextend of multiple paths to the same physical disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vgextend-of-multiple-paths-to-the-same-physical-disk/m-p/4637288#M40911</link>
      <description>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&lt;BR /&gt;filter = [ "a|^/dev/mpath*|","a|^/dev/cciss/.*|","r/.*/" ]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This will include any dm-multipath pseudo devices and any pvs you might have on your cciss array controllers.&lt;BR /&gt;This should make these ugly messages about dupe pv's&lt;BR /&gt;</description>
      <pubDate>Sun, 30 May 2010 16:23:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vgextend-of-multiple-paths-to-the-same-physical-disk/m-p/4637288#M40911</guid>
      <dc:creator>Gerardo Arceri</dc:creator>
      <dc:date>2010-05-30T16:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: vgextend of multiple paths to the same physical disk</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vgextend-of-multiple-paths-to-the-same-physical-disk/m-p/4637289#M40912</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;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 &lt;BR /&gt;&lt;BR /&gt;#service multipathd restart&lt;BR /&gt;&lt;BR /&gt;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. &lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;#multipath -ll&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;mpath11 (3600c0ff000da0ba80411e94b01000000) dm-7 HP,MSA2324fc&lt;BR /&gt;[size=4.7G][features=1 queue_if_no_path][hwhandler=0][rw]&lt;BR /&gt;\_ round-robin 0 [prio=100][active]&lt;BR /&gt; \_ 1:0:1:1  sdae 65:224 [active][ready]&lt;BR /&gt; \_ 0:0:0:1  sda  8:0    [active][ready]&lt;BR /&gt;\_ round-robin 0 [prio=20][enabled]&lt;BR /&gt; \_ 0:0:1:1  sdk  8:160  [active][ready]&lt;BR /&gt; \_ 1:0:0:1  sdu  65:64  [active][ready]&lt;BR /&gt;&lt;BR /&gt;In the above example, you may have to use mpath11 &lt;BR /&gt;&lt;BR /&gt;#pvcreate /dev/mapper/mpath11&lt;BR /&gt;#vgcreate vg01 /dev/mapper/mpath11&lt;BR /&gt;&lt;BR /&gt;Hope it is clear to you now!!</description>
      <pubDate>Mon, 31 May 2010 05:11:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vgextend-of-multiple-paths-to-the-same-physical-disk/m-p/4637289#M40912</guid>
      <dc:creator>AVV</dc:creator>
      <dc:date>2010-05-31T05:11:26Z</dc:date>
    </item>
  </channel>
</rss>

