<?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 LVREDUCE in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/5238248#M469392</link>
    <description>Hello everyone,&lt;BR /&gt;I have dicovered that a mirrored LVOL between two storage array is actually misconfigured, it means that some parts of the mirror are in one array (the PV1 and PV2 columns), so if one of the array fails, everything fails. This LVOL is created from multiple PVOLs (16 for one array and other 16 for the second array). So I created a second mirror copy in one of the array in order to fix this problem. The thing is that I want to fix this properly and eliminate those misconfigured LEs pointing to the same PV. If I erased those 32 misconfigured PVs, lefting only those 16 new which I am sure are good. After lvreduce, is it everything to be operational?. I've tryed with a small lab and it works, but doing it live for a production system is something else...&lt;BR /&gt;&lt;BR /&gt;Thanks very much for any hint.</description>
    <pubDate>Tue, 04 May 2010 19:39:29 GMT</pubDate>
    <dc:creator>GPissutto</dc:creator>
    <dc:date>2010-05-04T19:39:29Z</dc:date>
    <item>
      <title>LVREDUCE</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/5238248#M469392</link>
      <description>Hello everyone,&lt;BR /&gt;I have dicovered that a mirrored LVOL between two storage array is actually misconfigured, it means that some parts of the mirror are in one array (the PV1 and PV2 columns), so if one of the array fails, everything fails. This LVOL is created from multiple PVOLs (16 for one array and other 16 for the second array). So I created a second mirror copy in one of the array in order to fix this problem. The thing is that I want to fix this properly and eliminate those misconfigured LEs pointing to the same PV. If I erased those 32 misconfigured PVs, lefting only those 16 new which I am sure are good. After lvreduce, is it everything to be operational?. I've tryed with a small lab and it works, but doing it live for a production system is something else...&lt;BR /&gt;&lt;BR /&gt;Thanks very much for any hint.</description>
      <pubDate>Tue, 04 May 2010 19:39:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/5238248#M469392</guid>
      <dc:creator>GPissutto</dc:creator>
      <dc:date>2010-05-04T19:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: LVREDUCE</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/5238249#M469393</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You should have no problems, but to be sure it would be good that you attached the output of "lvdisplay -v /dev/vgXX/lvolX"&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
      <pubDate>Tue, 04 May 2010 20:35:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/5238249#M469393</guid>
      <dc:creator>R.O.</dc:creator>
      <dc:date>2010-05-04T20:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: LVREDUCE</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/5238250#M469394</link>
      <description>Thanks R.O, here is the output. Check from disk213 on.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 04 May 2010 21:16:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/5238250#M469394</guid>
      <dc:creator>GPissutto</dc:creator>
      <dc:date>2010-05-04T21:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: LVREDUCE</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/5238251#M469395</link>
      <description>Hi GPissuto,&lt;BR /&gt;&lt;BR /&gt;lvreduce -m 1 /dev/vgsapdata1_p/lvsapdata1 /dev/dsk/cxtydz&lt;BR /&gt;&lt;BR /&gt;rgs,&lt;BR /&gt;</description>
      <pubDate>Wed, 05 May 2010 06:20:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/5238251#M469395</guid>
      <dc:creator>rariasn</dc:creator>
      <dc:date>2010-05-05T06:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: LVREDUCE</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/5238252#M469396</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You have the mirror not well configured. The logical volume has "Allocation non-strict" and this means that mirrors of a logical extent can share the same physical volume, as you can see:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   --- Logical extents ---&lt;BR /&gt;   LE    PV1                     PE1   Status 1 PV2                     PE2   Status 2 PV3                     PE3   Status 3&lt;BR /&gt;06398 /dev/disk/disk213       00000    current  /dev/disk/disk213       00001 current  /dev/disk/disk298       00000 current  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This happens from disk213 on. As you have two mirrors, you should "lvreduce" disks of the two firsts columns. After that, you should change the logical volume allocation policy to "strict" and redo the mirror.&lt;BR /&gt;&lt;BR /&gt;# lvreduce -m 1 /dev/vgsapdata1_p/lvsapdata1 &lt;DISKS of="" the="" two="" first="" columns=""&gt;&lt;BR /&gt;# lvchange -s y /dev/vgsapdata1_p/lvsapdata1&lt;BR /&gt;&lt;BR /&gt;And then, redo the mirror with the proper disks. Maybe you want confirmation of this procedure from other forum experts.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;/DISKS&gt;</description>
      <pubDate>Wed, 05 May 2010 07:48:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/5238252#M469396</guid>
      <dc:creator>R.O.</dc:creator>
      <dc:date>2010-05-05T07:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: LVREDUCE</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/5238253#M469397</link>
      <description>Yes, I noticed all that and that's why I need to fix everything. I tryed fixing it in small lab with 6 LUN (1G each) and it worked fine when I reduced the two first columns at once, but not that well if I reduced one by one. So, as you can see there are many PVs involved and I wanted some other opinion to get couraged.&lt;BR /&gt;&lt;BR /&gt;Thanks very much.&lt;BR /&gt;</description>
      <pubDate>Wed, 05 May 2010 12:06:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/5238253#M469397</guid>
      <dc:creator>GPissutto</dc:creator>
      <dc:date>2010-05-05T12:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: LVREDUCE</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/5238254#M469398</link>
      <description>Anothe thing R.O, did you mean:&lt;BR /&gt;# lvreduce -m 0 /dev/vgsapdata1_p/lvsapdata1 &lt;DISKS of="" the="" two="" first="" columns=""&gt; ?&lt;BR /&gt;&lt;BR /&gt;Cause leaving a mirror copy is the scenario that doesn't work well.&lt;BR /&gt;&lt;/DISKS&gt;</description>
      <pubDate>Wed, 05 May 2010 12:09:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/5238254#M469398</guid>
      <dc:creator>GPissutto</dc:creator>
      <dc:date>2010-05-05T12:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: LVREDUCE</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/5238255#M469399</link>
      <description>Yes, sorry for that. I mean "-m 0", because you don't want any mirror copy. You have to be sure of including all the pvs of the two first columns in the lvreduce command.&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
      <pubDate>Wed, 05 May 2010 12:35:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/5238255#M469399</guid>
      <dc:creator>R.O.</dc:creator>
      <dc:date>2010-05-05T12:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: LVREDUCE</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/5238256#M469400</link>
      <description>best is to do via pvmove command :&lt;BR /&gt;&lt;BR /&gt;move the LV from one array to deired array..</description>
      <pubDate>Wed, 05 May 2010 15:30:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/5238256#M469400</guid>
      <dc:creator>singh sanjeev</dc:creator>
      <dc:date>2010-05-05T15:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: LVREDUCE</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/5238257#M469401</link>
      <description>Thanks</description>
      <pubDate>Fri, 07 May 2010 15:24:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvreduce/m-p/5238257#M469401</guid>
      <dc:creator>GPissutto</dc:creator>
      <dc:date>2010-05-07T15:24:33Z</dc:date>
    </item>
  </channel>
</rss>

