<?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 Strict allocation policy problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem/m-p/3814229#M616951</link>
    <description>Running into this when mirroring a logical volume, what could be the case? Has the original been created with the strict allocation policy?  Can this be fixed?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sbapc1:/#: lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c0t4d0&lt;BR /&gt;lvextend: Not enough free physical extents available.&lt;BR /&gt;Logical volume "/dev/vg00/lvol8" could not be extended.&lt;BR /&gt;Failure possibly caused by strict allocation policy&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;10 Points&amp;gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 28 Jun 2006 10:42:25 GMT</pubDate>
    <dc:creator>dictum9</dc:creator>
    <dc:date>2006-06-28T10:42:25Z</dc:date>
    <item>
      <title>Strict allocation policy problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem/m-p/3814229#M616951</link>
      <description>Running into this when mirroring a logical volume, what could be the case? Has the original been created with the strict allocation policy?  Can this be fixed?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sbapc1:/#: lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c0t4d0&lt;BR /&gt;lvextend: Not enough free physical extents available.&lt;BR /&gt;Logical volume "/dev/vg00/lvol8" could not be extended.&lt;BR /&gt;Failure possibly caused by strict allocation policy&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;10 Points&amp;gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Jun 2006 10:42:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem/m-p/3814229#M616951</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2006-06-28T10:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Strict allocation policy problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem/m-p/3814230#M616952</link>
      <description>The problem is that while you may have enough total free extents to allow the LVOL to be extended there are not enough free extents on separate physical volumes to ensure that all the extents are mirrored on separate PV's. This is actually a good thing because it prevents a single disk failure from causing the loss of data. You can "fix" the problem by using lvchange to disable the strict allocation policy but that is really not something that you want to do. With strict allocation disabled, mirroring does little good.</description>
      <pubDate>Wed, 28 Jun 2006 10:48:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem/m-p/3814230#M616952</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-06-28T10:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: Strict allocation policy problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem/m-p/3814231#M616953</link>
      <description>You can use lvchange -s to set the allocation policy. Just remember then  strict policy set to yes is recommended for data availability.&lt;BR /&gt;&lt;BR /&gt;Please post the output of vgdisplay -v vg00.</description>
      <pubDate>Wed, 28 Jun 2006 10:50:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem/m-p/3814231#M616953</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-06-28T10:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Strict allocation policy problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem/m-p/3814232#M616954</link>
      <description>You asked&lt;BR /&gt;&amp;gt;&amp;gt; Has the original been created with the strict allocation policy? &lt;BR /&gt;Can you tell what you are doing ? Is the volume lvol8 already mirrored ? [ lvdisplay -v /dev/vg00/lvol8 | grep -i mirror ]&lt;BR /&gt;&lt;BR /&gt;The message indicates that disk having at least one of the mirror copy does not have enough free blocks. But mu question is if you already have a mirror what are you trying to do with the command you have posted ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ninad</description>
      <pubDate>Wed, 28 Jun 2006 11:13:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem/m-p/3814232#M616954</guid>
      <dc:creator>Ninad_1</dc:creator>
      <dc:date>2006-06-28T11:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Strict allocation policy problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem/m-p/3814233#M616955</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I assume that the disks are identical.&lt;BR /&gt;It's not wise do disable strict allocation policy.&lt;BR /&gt;Can you check with vgdisplay -v vg00 and lvdisplay -v /dev/vg00/&lt;LVOL 1-7=""&gt; the status.&lt;BR /&gt;&lt;BR /&gt;Darrel&lt;/LVOL&gt;</description>
      <pubDate>Wed, 28 Jun 2006 11:14:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem/m-p/3814233#M616955</guid>
      <dc:creator>Darrel Louis</dc:creator>
      <dc:date>2006-06-28T11:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Strict allocation policy problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem/m-p/3814234#M616956</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Mirroring is useless when you mirror the content to the same drive.&lt;BR /&gt;&lt;BR /&gt;The purpose of mirroring is to not lose data or system availability when a single disk fails.&lt;BR /&gt;&lt;BR /&gt;If a logical volume called lvol3 (usually root) is on disk /dev/dsk/c0t0d0 and you make a mirror copy on /dev/dsk/c0t0d0 you have essentially wasted the disk space and not improved reliablity at all.&lt;BR /&gt;&lt;BR /&gt;vgdisplay /dev/vg00&lt;BR /&gt;&lt;BR /&gt;perhaps &lt;BR /&gt;&lt;BR /&gt;vgdisplay -v /dev/vg00&lt;BR /&gt;&lt;BR /&gt;Come up with a plan to redo all of your mirroing so that the logical volume you mirror ends up with the mirror copy on a different disk, perferably a different controller, eg c1 versus c0&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 28 Jun 2006 11:18:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem/m-p/3814234#M616956</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-06-28T11:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Strict allocation policy problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem/m-p/3814235#M616957</link>
      <description>It looks like the problem is that that&lt;BR /&gt;logical volume in question is location on 2&lt;BR /&gt;different PVs.  Even though I have enough&lt;BR /&gt;physical extents, I cannot mirror it.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Jun 2006 13:08:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem/m-p/3814235#M616957</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2006-06-28T13:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Strict allocation policy problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem/m-p/3814236#M616958</link>
      <description>Hello etc,&lt;BR /&gt;&lt;BR /&gt;does the lvdisplay show the allocation policy as PVG-strict/strict.&lt;BR /&gt;&lt;BR /&gt;Then just give the &lt;BR /&gt;# lvextend -m 1 /dev/vg00/lvol8 &lt;BR /&gt;LVM will ensure that the mirroring is proper.&lt;BR /&gt;&lt;BR /&gt;else post the lvdisplay /dev/vg00/lvol8&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;Albert</description>
      <pubDate>Wed, 28 Jun 2006 20:22:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem/m-p/3814236#M616958</guid>
      <dc:creator>Albert_31</dc:creator>
      <dc:date>2006-06-28T20:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Strict allocation policy problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem/m-p/3814237#M616959</link>
      <description>Check if the PVG-strict allocation policy is set (man lvcreate, option -s). If so you need to have the file /etc/lvmpvg where the PVG (physical volume groups) are defined. see "man lvmpvg"&lt;BR /&gt;What i did a while ago is the following; &lt;BR /&gt;- break mirrors to free a disk&lt;BR /&gt;- use pvmove to copy LE to the free disk till you have the extends free you need for extending lvol8 (in your case) &lt;BR /&gt;- extend lvol8&lt;BR /&gt;- use pvmove to copy the LE back to the first PV in the VG&lt;BR /&gt;[ optional: create PVG ] &lt;BR /&gt;- recreate the mirrors&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Jun 2006 01:59:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem/m-p/3814237#M616959</guid>
      <dc:creator>SGUX</dc:creator>
      <dc:date>2006-06-29T01:59:54Z</dc:date>
    </item>
  </channel>
</rss>

