<?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 mirror problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5939215#M493758</link>
    <description>&lt;P&gt;Hello to all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we do have a weird problem.....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the process of an lvreduce from a mirror lv to a 1 mirror lv, somebody wanted to perform that for half of the pvg.&lt;/P&gt;&lt;P&gt;The pvg exists of 16 disks and the lv is reduced with 8 disks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The situation now is a 1 mirror lv spreaded of the 2 remaining pvg and 8 from the 16 disks of the pvg that had to be removed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cannot remove the remaining 8 disks of that pvg with lvreduce, because there is only 1 mirror left.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone any idea how to solve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards, Alfons Velthof&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jan 2013 08:20:42 GMT</pubDate>
    <dc:creator>A.G.M. Velthof</dc:creator>
    <dc:date>2013-01-23T08:20:42Z</dc:date>
    <item>
      <title>mirror problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5939215#M493758</link>
      <description>&lt;P&gt;Hello to all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we do have a weird problem.....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the process of an lvreduce from a mirror lv to a 1 mirror lv, somebody wanted to perform that for half of the pvg.&lt;/P&gt;&lt;P&gt;The pvg exists of 16 disks and the lv is reduced with 8 disks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The situation now is a 1 mirror lv spreaded of the 2 remaining pvg and 8 from the 16 disks of the pvg that had to be removed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cannot remove the remaining 8 disks of that pvg with lvreduce, because there is only 1 mirror left.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone any idea how to solve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards, Alfons Velthof&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2013 08:20:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5939215#M493758</guid>
      <dc:creator>A.G.M. Velthof</dc:creator>
      <dc:date>2013-01-23T08:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: mirror problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5939291#M493759</link>
      <description>&lt;P&gt;IMHO the most safe solution is to mirror the LVOL again to the disks you want to keep, then remove the mirror from the disks you want to remove.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2013 12:53:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5939291#M493759</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2013-01-22T12:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: mirror problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5939303#M493760</link>
      <description>&lt;P&gt;Hello Torsten,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;that is not an option here.&lt;/P&gt;&lt;P&gt;We have the situation of 3 pvg's and 1 mirror.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards, Alfons&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2013 13:06:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5939303#M493760</guid>
      <dc:creator>A.G.M. Velthof</dc:creator>
      <dc:date>2013-01-22T13:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: mirror problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5939313#M493761</link>
      <description>3 PVG???&lt;BR /&gt;&lt;BR /&gt;More details needed.&lt;BR /&gt;&lt;BR /&gt;(vgdisplay, pvdisplay, lvdisplay, etc)</description>
      <pubDate>Tue, 22 Jan 2013 13:11:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5939313#M493761</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2013-01-22T13:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: mirror problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5939403#M493762</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN&gt;More details needed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, please. &amp;nbsp;I really don't understand what the problem is.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2013 14:25:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5939403#M493762</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2013-01-22T14:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: mirror problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5939467#M493763</link>
      <description>&lt;P&gt;We are moving our data from 2 EVA's to 2 new F400 3PAR's and use hpux mirror for that.&lt;/P&gt;&lt;P&gt;The steps to do that are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. create disks on the 3PAR systems.&lt;/P&gt;&lt;P&gt;2. add the disks to the volume group&lt;/P&gt;&lt;P&gt;3. add the disks from 1 3PAR to the /etc/lvmpvg as a new pvg&lt;/P&gt;&lt;P&gt;4. lvextend [/dev/vgxxx/lvxxxx] -m 2 [new disks]&lt;/P&gt;&lt;P&gt;5. after syncing is compleet lvreduce [/dev/vgxxx/lvxxxx] -m 1 [old disks from 1 EVA&lt;/P&gt;&lt;P&gt;6. vgreduce [dev/vgxxx] [old disks from EVA]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then do the same trick for the other 3PAR and EVA, so we end up with 2 new 3PAR's in a mirror.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What went wrong here is:&lt;/P&gt;&lt;P&gt;We decided to do a lvreduce for not all the disks of the EVA, because there were to many disks for the commandline.&lt;/P&gt;&lt;P&gt;We got an error and now the situation is:&lt;/P&gt;&lt;P&gt;3 pvg's (EVA1, EVA2, 3PAR1)&lt;/P&gt;&lt;P&gt;1 mirror&lt;/P&gt;&lt;P&gt;So the mirror is located on 3 pvg's.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cannot delete the remaining disks from the EVA with lvreduce because mirror is already 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2013 15:06:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5939467#M493763</guid>
      <dc:creator>A.G.M. Velthof</dc:creator>
      <dc:date>2013-01-22T15:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: mirror problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5939481#M493764</link>
      <description>&lt;P&gt;The 'pvmove' command may be what you need. &amp;nbsp;That allows you to &amp;nbsp;move extents between disks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you can show use some vgdisplay and lvdisplay output from the LV, that may help.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2013 15:15:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5939481#M493764</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2013-01-22T15:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: mirror problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5940331#M493765</link>
      <description>&lt;P&gt;&amp;gt;We are moving our data from 2 EVAs to 2 new F400 3PARs and use HP-UX mirror for that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No peer motion available for 3.1.2 for that?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2013 06:47:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5940331#M493765</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2013-01-23T06:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: mirror problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5940417#M493766</link>
      <description>&lt;P&gt;I did apply a repost with attachment Yesterday, but it didn't show in the forum?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2013 07:49:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5940417#M493766</guid>
      <dc:creator>A.G.M. Velthof</dc:creator>
      <dc:date>2013-01-23T07:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: mirror problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5940449#M493770</link>
      <description>&lt;P&gt;&amp;gt;I did apply a repost with attachment yesterday,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you give it a .txt suffix?&lt;/P&gt;&lt;P&gt;Please delete your last two giant posts and use the Post Options &amp;gt; Edit Reply to add the attachments to your first post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2013 08:12:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5940449#M493770</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2013-01-23T08:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: mirror problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5940459#M493771</link>
      <description>&lt;P&gt;Hello Dennis&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for putting me in the right direction.&lt;/P&gt;&lt;P&gt;First time I added an Attachment............&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A vgdisplay and lvdisplay is added to my first Post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards, Alfons&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2013 08:22:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5940459#M493771</guid>
      <dc:creator>A.G.M. Velthof</dc:creator>
      <dc:date>2013-01-23T08:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: mirror problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5940721#M493772</link>
      <description>&lt;P&gt;So, to summarize:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;You have a volume group with three PVGs named vgXXX_EVADC1, vgXXX_EVADC2 and vgXXX_3PARDC1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The EVADC PVGs have 16 PVs each.&lt;/P&gt;&lt;P&gt;The 3PARDC1 PVG has only 4 PVs, but they seem to be much larger.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have a number of LVs:&lt;/P&gt;&lt;P&gt;lvoracle: 28000 Mbytes, 3-way mirrored&lt;/P&gt;&lt;P&gt;lvsapmnt: 12000 Mbytes, 3-way mirrored&lt;/P&gt;&lt;P&gt;lvusrsap: 30000 Mbytes, 2-way mirrored&lt;/P&gt;&lt;P&gt;lvorigA: 4000 Mbytes, 3-way mirrored&lt;/P&gt;&lt;P&gt;lvmirrB: 4000 Mbytes, 3-way mirrored&lt;/P&gt;&lt;P&gt;lvorigB: 4000 Mbytes, 3-way mirrored&lt;/P&gt;&lt;P&gt;lvmirrA: 4000 Mbytes, 3-way mirrored&lt;/P&gt;&lt;P&gt;lvarch: 60000 Mbytes, 3-way mirrored&lt;/P&gt;&lt;P&gt;lvdata1: 320000 Mbytes, 2-way mirrored&lt;/P&gt;&lt;P&gt;lvdata2: 320000 Mbytes, 2-way mirrored&lt;/P&gt;&lt;P&gt;lvdata3: 350000 Mbytes, 2-way mirrored&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "Mirror copies" value in LV status can be confusing: "Mirror copies 1" means "original and 1 copy". Each LV has a separate "Mirror copies" value, so many of your LVs are still 3-way mirrored. An alternate way of verifying this is to look at the number of LEs vs. PEs allocated to each LV:&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;if number of PEs = number of LEs, the LV is not mirrored at all ("Mirror copies 0")&lt;/LI&gt;&lt;LI&gt;if number of PEs = 2* number of LEs, the LV is 2-way mirrored ("Mirror copies 1" or original + 1 copy)&lt;/LI&gt;&lt;LI&gt;if number of PEs = 3* number of LEs, the LV is 3-way mirrored ("Mirror copies 2" or original + 2 copies)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The attachment included the full logical volume information of the lvusrsap LV only, and it seems to have a PVG-strict allocation policy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you cannot reduce the mirroring any further even temporarily, you can use pvmove to move one of the two copies of each extent to a different PVG. For example, this would migrate all the parts of lvusrsap that are still on vgXXX_EVADC1 to vgXXX_3PARDC1:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;#!/bin/sh&lt;BR /&gt;# the line below lists the numbers of all vgXXX_EVADC1 PVs that contain data for lvusrsap: &lt;BR /&gt;for i in 404 409 410 498 503 508 512
do
    pvmove -n /dev/vgXXX/lvusrsap /dev/disk/$i vgXXX_3PARDC1
done&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;(Looking quickly through the lvdisplay -v output, the lvusrsap LV seem to be partly mirrored EVADC2 &amp;lt;-&amp;gt; 3PARDC1 and partly EVADC1 &amp;lt;-&amp;gt; EVADC2. This script would push the parts that still remain on EVADC1 to 3PARDC1 instead.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Manipulating the mirror components this way might be easier, as you have a large number of PVs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I assume that you are planning to migrate one copy of the data to 3PARDC1 before removing one of the EVAs and installing 3PARDC2 in its place.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2013 11:53:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5940721#M493772</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2013-01-23T11:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: mirror problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5942389#M493773</link>
      <description>&lt;P&gt;Thanks for explaining.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yesterday I decided to create a temporary VG on new disks and copied all data to it.&lt;/P&gt;&lt;P&gt;I removed the "old" VG and created a new one with the same name (it is a MCSG) and 1 mirror.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Moved the data back and now it is completely running on the 2 new storage systems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the Time......&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards, Alfons&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2013 11:09:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5942389#M493773</guid>
      <dc:creator>A.G.M. Velthof</dc:creator>
      <dc:date>2013-01-24T11:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: mirror problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5942735#M493774</link>
      <description>&lt;P&gt;Considering that moving the old VG as it was to the new storage might have caused the extents to be in a somewhat random order, this was probably a good thing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The extents won't *have* to be in any particular order, but if they are, it guarantees that sequential operations (like backing up your database) will be easily detected as such by the storage system, and it can apply prefetching and other strategies to improve performance. If the extents are in randomized order, a multi-extent sequential operation at the filesystem layer gets translated to jumping all over the place, which would be harder for the storage system to optimize.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Creating a new VG with a new filesystem and copying your data to it is also a simple way to eliminate all filesystem-level fragmentation, if it exists.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope you used this as an opportunity to re-evaluate your VG parameters too, although the parameters of your old VG didn't look too bad to me either (assuming that the VG Max Size is enough for your expected growth).&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2013 15:43:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-problem/m-p/5942735#M493774</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2013-01-24T15:43:13Z</dc:date>
    </item>
  </channel>
</rss>

