<?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: powerpath linux alternate path in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/powerpath-linux-alternate-path/m-p/3575710#M18505</link>
    <description>You're probably thinking with a mental model of HP-UX LVM. Linux is a bit different: on Linux, LVM does not handle multiple paths.&lt;BR /&gt;&lt;BR /&gt;The vgextend command is giving you an error message because it notices you're trying to add the same PV to the VG twice. &lt;BR /&gt;&lt;BR /&gt;Disclaimer: I've never used PowerPath on HP-UX, but I've successfully implemented a FibreChannel failover using native Linux multipath support (still somewhat experimental, I think). I have PowerPath on HP-UX but the manuals are not quite handy and the PowerPath manpages are rather terse.&lt;BR /&gt;&lt;BR /&gt;The devices /dev/sdc and /dev/sdd refer to one path each. The kernel does not know that both these paths lead to the same piece of storage. You need something that means "either /dev/sdc or /dev/sdd or both, whatever works best". PowerPath is supposed to give you that, because it understands multiple paths and can do load balancing between them.&lt;BR /&gt;&lt;BR /&gt;If I understood correctly how PowerPath is supposed to work on Linux, the line "Pseudo name=emcpowera" is a vital clue. The "powermt" command seems to be telling you that "emcpowera" is a wrapper that contains /dev/sdc and /dev/sdd.&lt;BR /&gt;&lt;BR /&gt;If the device "/dev/emcpowera" exists, leave&lt;BR /&gt;/dev/sdc and /dev/sdd alone, and create your VG on /dev/emcpowera instead.&lt;BR /&gt;&lt;BR /&gt;If it does not exist, my educated guess is probably wrong...</description>
    <pubDate>Mon, 04 Jul 2005 08:39:10 GMT</pubDate>
    <dc:creator>Matti_Kurkela</dc:creator>
    <dc:date>2005-07-04T08:39:10Z</dc:date>
    <item>
      <title>powerpath linux alternate path</title>
      <link>https://community.hpe.com/t5/operating-system-linux/powerpath-linux-alternate-path/m-p/3575707#M18502</link>
      <description>Hi,&lt;BR /&gt;I've installed powerpath 4.3.1 on a linux RH3.0&lt;BR /&gt;update 5.&lt;BR /&gt;&lt;BR /&gt;I've added one lun (from a cx600), this gives me :&lt;BR /&gt;&lt;BR /&gt;root/svlirc13# powermt display dev=all&lt;BR /&gt;Pseudo name=emcpowera&lt;BR /&gt;CLARiiON ID=CK200033400080 [Linux_svlirc13]&lt;BR /&gt;Logical device ID=60060160A3F30D007AFB85F315AED811 [LUN 138]&lt;BR /&gt;state=alive; policy=BasicFailover; priority=0; queued-IOs=0&lt;BR /&gt;Owner: default=SP A, current=SP A&lt;BR /&gt;==============================================================================&lt;BR /&gt;---------------- Host ---------------   - Stor -   -- I/O Path -  -- Stats ---&lt;BR /&gt;### HW Path                 I/O Paths    Interf.   Mode    State  Q-IOs Errors&lt;BR /&gt;==============================================================================&lt;BR /&gt;  1 lpfc                      sdc        SP B0     active  alive      0      0&lt;BR /&gt;  1 lpfc                      sdd        SP A0     active  alive      0      0&lt;BR /&gt;&lt;BR /&gt;I think this is ok.&lt;BR /&gt;&lt;BR /&gt;But when I create a volumegroup I can't vgextend with the alternate path. &lt;BR /&gt;&lt;BR /&gt;root/svlirc13# vgdisplay -v vg_test&lt;BR /&gt;--- Volume group ---&lt;BR /&gt;VG Name               vg_test&lt;BR /&gt;VG Access             read/write&lt;BR /&gt;VG Status             available/resizable&lt;BR /&gt;VG #                  1&lt;BR /&gt;MAX LV                256&lt;BR /&gt;Cur LV                0&lt;BR /&gt;Open LV               0&lt;BR /&gt;MAX LV Size           2 TB&lt;BR /&gt;Max PV                256&lt;BR /&gt;Cur PV                1&lt;BR /&gt;Act PV                1&lt;BR /&gt;VG Size               65.94 GB&lt;BR /&gt;PE Size               32 MB&lt;BR /&gt;Total PE              2110&lt;BR /&gt;Alloc PE / Size       0 / 0&lt;BR /&gt;Free  PE / Size       2110 / 65.94 GB&lt;BR /&gt;VG UUID               xlMTyK-Kdvw-wpw4-GHXN-BvyP-7ubS-Z0urG0&lt;BR /&gt;&lt;BR /&gt;--- No logical volumes defined in "vg_test" ---&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;--- Physical volumes ---&lt;BR /&gt;PV Name (#)           /dev/sdc1 (1)&lt;BR /&gt;PV Status             available / allocatable&lt;BR /&gt;Total PE / Free PE    2110 / 2110&lt;BR /&gt;&lt;BR /&gt;root/svlirc13# vgextend vg_test /dev/sdd1&lt;BR /&gt;vgextend -- INFO: maximum logical volume size is 2 Terabyte&lt;BR /&gt;vgextend -- ERROR: "/dev/sdd1" is not a new physical volume&lt;BR /&gt;&lt;BR /&gt;What I'm doing wrong?&lt;BR /&gt;&lt;BR /&gt;Tx.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Jul 2005 06:07:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/powerpath-linux-alternate-path/m-p/3575707#M18502</guid>
      <dc:creator>Gerrit_1</dc:creator>
      <dc:date>2005-07-04T06:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: powerpath linux alternate path</title>
      <link>https://community.hpe.com/t5/operating-system-linux/powerpath-linux-alternate-path/m-p/3575708#M18503</link>
      <description>Hi Gerrit,&lt;BR /&gt;You should do a pvcreate first before you do a vgextend.&lt;BR /&gt;Groeten&lt;BR /&gt;Donald</description>
      <pubDate>Mon, 04 Jul 2005 06:18:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/powerpath-linux-alternate-path/m-p/3575708#M18503</guid>
      <dc:creator>Donald Kok</dc:creator>
      <dc:date>2005-07-04T06:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: powerpath linux alternate path</title>
      <link>https://community.hpe.com/t5/operating-system-linux/powerpath-linux-alternate-path/m-p/3575709#M18504</link>
      <description>Also on the alternate path?&lt;BR /&gt;This is what I've done.&lt;BR /&gt;&lt;BR /&gt;root/svlirc13# fdisk /dev/sdc&lt;BR /&gt;Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel&lt;BR /&gt;Building a new DOS disklabel. Changes will remain in memory only,&lt;BR /&gt;until you decide to write them. After that, of course, the previous&lt;BR /&gt;content won't be recoverable.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The number of cylinders for this disk is set to 8615.&lt;BR /&gt;There is nothing wrong with that, but this is larger than 1024,&lt;BR /&gt;and could in certain setups cause problems with:&lt;BR /&gt;1) software that runs at boot time (e.g., old versions of LILO)&lt;BR /&gt;2) booting and partitioning software from other OSs&lt;BR /&gt;   (e.g., DOS FDISK, OS/2 FDISK)&lt;BR /&gt;   Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)&lt;BR /&gt;&lt;BR /&gt;Command (m for help): n&lt;BR /&gt;Command action&lt;BR /&gt;      e   extended&lt;BR /&gt;      p   primary partition (1-4)&lt;BR /&gt;      p&lt;BR /&gt;      Partition number (1-4): 1&lt;BR /&gt;      First cylinder (1-8615, default 1):&lt;BR /&gt;      Using default value 1&lt;BR /&gt;      Last cylinder or +size or +sizeM or +sizeK (1-8615, default 8615):&lt;BR /&gt;      Using default value 8615&lt;BR /&gt;&lt;BR /&gt;      Command (m for help): t&lt;BR /&gt;      Selected partition 1&lt;BR /&gt;      Hex code (type L to list codes): 8e&lt;BR /&gt;      Changed system type of partition 1 to 8e (Linux LVM)&lt;BR /&gt;&lt;BR /&gt;      Command (m for help): w&lt;BR /&gt;      The partition table has been altered!&lt;BR /&gt;&lt;BR /&gt;      Calling ioctl() to re-read partition table.&lt;BR /&gt;      Syncing disks.&lt;BR /&gt;&lt;BR /&gt;root/svlirc13# pvcreate /dev/sdc1&lt;BR /&gt;pvcreate -- physical volume "/dev/sdc1" successfully created&lt;BR /&gt;&lt;BR /&gt;root/svlirc13# vgcreate vg_test /dev/sdc1&lt;BR /&gt;vgcreate -- INFO: using default physical extent size 32 MB&lt;BR /&gt;vgcreate -- INFO: maximum logical volume size is 2 Terabyte&lt;BR /&gt;vgcreate -- doing automatic backup of volume group "vg_test"&lt;BR /&gt;vgcreate -- volume group "vg_test" successfully created and activated&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;root/svlirc13# vgextend vg_test /dev/sdd1&lt;BR /&gt;vgextend -- INFO: maximum logical volume size is 2 Terabyte&lt;BR /&gt;vgextend -- ERROR: "/dev/sdd1" is not a new physical volume&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Jul 2005 06:30:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/powerpath-linux-alternate-path/m-p/3575709#M18504</guid>
      <dc:creator>Gerrit_1</dc:creator>
      <dc:date>2005-07-04T06:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: powerpath linux alternate path</title>
      <link>https://community.hpe.com/t5/operating-system-linux/powerpath-linux-alternate-path/m-p/3575710#M18505</link>
      <description>You're probably thinking with a mental model of HP-UX LVM. Linux is a bit different: on Linux, LVM does not handle multiple paths.&lt;BR /&gt;&lt;BR /&gt;The vgextend command is giving you an error message because it notices you're trying to add the same PV to the VG twice. &lt;BR /&gt;&lt;BR /&gt;Disclaimer: I've never used PowerPath on HP-UX, but I've successfully implemented a FibreChannel failover using native Linux multipath support (still somewhat experimental, I think). I have PowerPath on HP-UX but the manuals are not quite handy and the PowerPath manpages are rather terse.&lt;BR /&gt;&lt;BR /&gt;The devices /dev/sdc and /dev/sdd refer to one path each. The kernel does not know that both these paths lead to the same piece of storage. You need something that means "either /dev/sdc or /dev/sdd or both, whatever works best". PowerPath is supposed to give you that, because it understands multiple paths and can do load balancing between them.&lt;BR /&gt;&lt;BR /&gt;If I understood correctly how PowerPath is supposed to work on Linux, the line "Pseudo name=emcpowera" is a vital clue. The "powermt" command seems to be telling you that "emcpowera" is a wrapper that contains /dev/sdc and /dev/sdd.&lt;BR /&gt;&lt;BR /&gt;If the device "/dev/emcpowera" exists, leave&lt;BR /&gt;/dev/sdc and /dev/sdd alone, and create your VG on /dev/emcpowera instead.&lt;BR /&gt;&lt;BR /&gt;If it does not exist, my educated guess is probably wrong...</description>
      <pubDate>Mon, 04 Jul 2005 08:39:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/powerpath-linux-alternate-path/m-p/3575710#M18505</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2005-07-04T08:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: powerpath linux alternate path</title>
      <link>https://community.hpe.com/t5/operating-system-linux/powerpath-linux-alternate-path/m-p/3575711#M18506</link>
      <description>Tx, &lt;BR /&gt;&lt;BR /&gt;root/svlirc13# fdisk -l /dev/emcpowera&lt;BR /&gt;&lt;BR /&gt;Disk /dev/emcpowera: 70.8 GB, 70866960384 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 8615 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;         Device Boot    Start       End    Blocks   Id  System&lt;BR /&gt;/dev/emcpowera1             1      8615  69199956   8e  Linux LVM&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;But when I try to :&lt;BR /&gt;&lt;BR /&gt;root/svlirc13# pvcreate /dev/emcpowera1&lt;BR /&gt;pvcreate -- invalid physical volume "/dev/emcpowera1"&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Jul 2005 09:05:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/powerpath-linux-alternate-path/m-p/3575711#M18506</guid>
      <dc:creator>Gerrit_1</dc:creator>
      <dc:date>2005-07-04T09:05:57Z</dc:date>
    </item>
  </channel>
</rss>

