<?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: strict allocation policy problem in logical volume in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem-in-logical-volume/m-p/3615443#M619124</link>
    <description>Hi Omar,&lt;BR /&gt;&lt;BR /&gt;I think your problem is that when the lvol was created, it was defined with 5 stripes, this means the allocation is made across 5 diferent disks in a round-robin way.&lt;BR /&gt;&lt;BR /&gt;Now, when you try to lvextend, it gives you an error because you just have 2 PV to stripe across.&lt;BR /&gt;&lt;BR /&gt;Unfortunately you can't change the stripe policy, I think that the only option is to recreate lvol or have at least 5 PV with PE available for alocation on the VG.&lt;BR /&gt;&lt;BR /&gt;Enjoy :)&lt;BR /&gt;&lt;BR /&gt;Pedro</description>
    <pubDate>Wed, 31 Aug 2005 08:38:27 GMT</pubDate>
    <dc:creator>Pedro Cirne</dc:creator>
    <dc:date>2005-08-31T08:38:27Z</dc:date>
    <item>
      <title>strict allocation policy problem in logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem-in-logical-volume/m-p/3615440#M619121</link>
      <description>Hello &lt;BR /&gt;&lt;BR /&gt;In first time we have a volume group crated on 05 disk 36GB with in 02 logical volume 20GB each one, stripped on 05 disks.&lt;BR /&gt;&lt;BR /&gt;After lot off errors on those disks we want to restore lvm structure on 02 disks 73Gb with other device files&lt;BR /&gt;&lt;BR /&gt;We have done the following:&lt;BR /&gt;&lt;BR /&gt;Vgexport –v –m /tmp/vg02.map /dev/vg02      OK&lt;BR /&gt;Mkdir /dev/vg02, mknod /dev/vg02/group c 64 0x020000                                    OK&lt;BR /&gt;Use vgcfgrestore with option –o old_path  &lt;BR /&gt;Vgcgrestore –n vg02-o /dev/rdsk/c3t0d0 /dev/rdsk/c2t1d0         OK&lt;BR /&gt;Vgcgrestore –n vg02 –o /dev/rdsk/c3t1d0 /dev/rdsk/c2t2d0         OK&lt;BR /&gt;Vgimport –v –m /tmp/vgO2.map /dev/vgO2 /dev/rdsk/c2t1d0 /dev/rdsk/c2t2d0                               OK&lt;BR /&gt;Vgchange –a y –q n /dev/vg02 OK (quorum because vg02 was with 5 disk and now with 2)&lt;BR /&gt;Vgreduce –f /dev/vg02 OK  (with vgdisplay we can see only 02 disks and vgchange –a y                vg02 work now.&lt;BR /&gt;Lvreduce –L 0 /dev/vg02/lvol1 OK &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;All off those commands succeed but when trying to extend lvol1 we have the fowling message &lt;BR /&gt;&lt;BR /&gt;# lvextend -L 10000 /dev/vg02/lvol1 /dev/dsk/c3t9d0                &lt;BR /&gt;Need more PVs for "5" Stripes. Only have "1" PVs.&lt;BR /&gt;Failure possibly caused by strict allocation policy&lt;BR /&gt;&lt;BR /&gt;The question is, how to disable the strict allocation policy? And to have the lvol1 on 02 disks &lt;BR /&gt;&lt;BR /&gt;Best regards &lt;BR /&gt;&lt;BR /&gt;Omar&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 31 Aug 2005 07:21:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem-in-logical-volume/m-p/3615440#M619121</guid>
      <dc:creator>CSP_ALGERIA</dc:creator>
      <dc:date>2005-08-31T07:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: strict allocation policy problem in logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem-in-logical-volume/m-p/3615441#M619122</link>
      <description>Hi Omar:&lt;BR /&gt;&lt;BR /&gt;You can use 'lvchange -s n lv_path' to change from strict to non-strict allocation.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 31 Aug 2005 07:29:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem-in-logical-volume/m-p/3615441#M619122</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-08-31T07:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: strict allocation policy problem in logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem-in-logical-volume/m-p/3615442#M619123</link>
      <description>hello James,&lt;BR /&gt;&lt;BR /&gt;First many thanks for your feedback.&lt;BR /&gt;&lt;BR /&gt;When I run the command, I have the following:&lt;BR /&gt;&lt;BR /&gt;# lvchange -s n /dev/vg02/lvol2&lt;BR /&gt;lvchange: Only strict allocation is allowed for striped logical volumes.&lt;BR /&gt;&lt;BR /&gt;# lvdisplay /dev/vg02/lvol2&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vg02/lvol2&lt;BR /&gt;VG Name                     /dev/vg02&lt;BR /&gt;LV Permission               read/write   &lt;BR /&gt;LV Status                   available/syncd           &lt;BR /&gt;Mirror copies               0            &lt;BR /&gt;Consistency Recovery        MWC                 &lt;BR /&gt;Schedule                    striped      &lt;BR /&gt;LV Size (Mbytes)            20000           &lt;BR /&gt;Current LE                  2500      &lt;BR /&gt;Allocated PE                2500        &lt;BR /&gt;Stripes                     5       &lt;BR /&gt;Stripe Size (Kbytes)        8                   &lt;BR /&gt;Bad block                   on           &lt;BR /&gt;Allocation                  strict                    &lt;BR /&gt;IO Timeout (Seconds)        default             &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;attached file contains lvdisplay -v &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards &lt;BR /&gt;&lt;BR /&gt;Omar</description>
      <pubDate>Wed, 31 Aug 2005 08:18:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem-in-logical-volume/m-p/3615442#M619123</guid>
      <dc:creator>CSP_ALGERIA</dc:creator>
      <dc:date>2005-08-31T08:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: strict allocation policy problem in logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem-in-logical-volume/m-p/3615443#M619124</link>
      <description>Hi Omar,&lt;BR /&gt;&lt;BR /&gt;I think your problem is that when the lvol was created, it was defined with 5 stripes, this means the allocation is made across 5 diferent disks in a round-robin way.&lt;BR /&gt;&lt;BR /&gt;Now, when you try to lvextend, it gives you an error because you just have 2 PV to stripe across.&lt;BR /&gt;&lt;BR /&gt;Unfortunately you can't change the stripe policy, I think that the only option is to recreate lvol or have at least 5 PV with PE available for alocation on the VG.&lt;BR /&gt;&lt;BR /&gt;Enjoy :)&lt;BR /&gt;&lt;BR /&gt;Pedro</description>
      <pubDate>Wed, 31 Aug 2005 08:38:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem-in-logical-volume/m-p/3615443#M619124</guid>
      <dc:creator>Pedro Cirne</dc:creator>
      <dc:date>2005-08-31T08:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: strict allocation policy problem in logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem-in-logical-volume/m-p/3615444#M619125</link>
      <description>HI (again) Omar:&lt;BR /&gt;&lt;BR /&gt;Yes, my apologies, I read too quickly.  Striping infers "strict".  Having created the logical volume with stipes across five physical disk, you will need five (5) physical volumes at a minimum to extend it.&lt;BR /&gt;&lt;BR /&gt;Your recourse is to 'lvremove' it and recreate it again.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 31 Aug 2005 08:38:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem-in-logical-volume/m-p/3615444#M619125</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-08-31T08:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: strict allocation policy problem in logical volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem-in-logical-volume/m-p/3615445#M619126</link>
      <description>hello&lt;BR /&gt;&lt;BR /&gt;many thanks &lt;BR /&gt;&lt;BR /&gt;best regards&lt;BR /&gt;</description>
      <pubDate>Wed, 31 Aug 2005 08:52:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strict-allocation-policy-problem-in-logical-volume/m-p/3615445#M619126</guid>
      <dc:creator>CSP_ALGERIA</dc:creator>
      <dc:date>2005-08-31T08:52:57Z</dc:date>
    </item>
  </channel>
</rss>

