<?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: Strange on lvextend command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-on-lvextend-command/m-p/2916695#M634151</link>
    <description>Hi 2,&lt;BR /&gt;&lt;BR /&gt;Thx for yr help, below is lvdisplay, yes, it's a large files system.&lt;BR /&gt;&lt;BR /&gt;Gordon&lt;BR /&gt;&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vg02/Fignite&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               1            &lt;BR /&gt;Consistency Recovery        MWC                 &lt;BR /&gt;Schedule                    parallel     &lt;BR /&gt;LV Size (Mbytes)            23000           &lt;BR /&gt;Current LE                  5750      &lt;BR /&gt;Allocated PE                11500       &lt;BR /&gt;Stripes                     0       &lt;BR /&gt;Stripe Size (Kbytes)        0                   &lt;BR /&gt;Bad block                   on           &lt;BR /&gt;Allocation                  strict                    &lt;BR /&gt;IO Timeout (Seconds)        default</description>
    <pubDate>Mon, 03 Mar 2003 08:58:52 GMT</pubDate>
    <dc:creator>Gordon_3</dc:creator>
    <dc:date>2003-03-03T08:58:52Z</dc:date>
    <item>
      <title>Strange on lvextend command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-on-lvextend-command/m-p/2916692#M634148</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I hit a strange problem on LVM extend issue, refer below screen, it's clear that I still get very enough space on this VG, however, I cannot extend the LV with below msg, any idea on what happen? Thx.&lt;BR /&gt;&lt;BR /&gt;Gordon&lt;BR /&gt;&lt;BR /&gt;hkgbkup3:/#vgdisplay vg02&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vg02&lt;BR /&gt;VG Write Access             read/write     &lt;BR /&gt;VG Status                   available                 &lt;BR /&gt;Max LV                      255    &lt;BR /&gt;Cur LV                      28     &lt;BR /&gt;Open LV                     28     &lt;BR /&gt;Max PV                      16     &lt;BR /&gt;Cur PV                      3      &lt;BR /&gt;Act PV                      3      &lt;BR /&gt;Max PE per PV               20000        &lt;BR /&gt;VGDA                        6   &lt;BR /&gt;PE Size (Mbytes)            4               &lt;BR /&gt;Total PE                    52494   &lt;BR /&gt;Alloc PE                    34576   &lt;BR /&gt;Free PE                     17918   &lt;BR /&gt;Total PVG                   0        &lt;BR /&gt;Total Spare PVs             0              &lt;BR /&gt;Total Spare PVs in use      0                     &lt;BR /&gt;&lt;BR /&gt;hkgbkup3:/#bdf |grep ignite&lt;BR /&gt;/dev/vg02/Fignite  23552000 13526596 9712172   58% /home/sysadm/ignite&lt;BR /&gt;hkgbkup3:/#lvextend -L 25000 /dev/vg02/Fignite&lt;BR /&gt;lvextend: Not enough free physical extents available.&lt;BR /&gt;Logical volume "/dev/vg02/Fignite" could not be extended.&lt;BR /&gt;Failure possibly caused by strict allocation policy</description>
      <pubDate>Mon, 03 Mar 2003 06:47:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-on-lvextend-command/m-p/2916692#M634148</guid>
      <dc:creator>Gordon_3</dc:creator>
      <dc:date>2003-03-03T06:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Strange on lvextend command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-on-lvextend-command/m-p/2916693#M634149</link>
      <description>hi,&lt;BR /&gt;problem is could be due to the LV allocation policy.&lt;BR /&gt;&lt;BR /&gt;1. Could you please give the output of lvdisplay for the LV Fignite and vgdisplay -v output or the free PE's available om all the disks.&lt;BR /&gt;2. you could change the LV allocation policy using lvchange and then try to extend the LV.&lt;BR /&gt;HTH&lt;BR /&gt;-balaji</description>
      <pubDate>Mon, 03 Mar 2003 07:25:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-on-lvextend-command/m-p/2916693#M634149</guid>
      <dc:creator>Balaji N</dc:creator>
      <dc:date>2003-03-03T07:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Strange on lvextend command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-on-lvextend-command/m-p/2916694#M634150</link>
      <description>Hi Gordon&lt;BR /&gt;&lt;BR /&gt;have you enabled large file system option for Fignite file system</description>
      <pubDate>Mon, 03 Mar 2003 07:28:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-on-lvextend-command/m-p/2916694#M634150</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2003-03-03T07:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Strange on lvextend command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-on-lvextend-command/m-p/2916695#M634151</link>
      <description>Hi 2,&lt;BR /&gt;&lt;BR /&gt;Thx for yr help, below is lvdisplay, yes, it's a large files system.&lt;BR /&gt;&lt;BR /&gt;Gordon&lt;BR /&gt;&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vg02/Fignite&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               1            &lt;BR /&gt;Consistency Recovery        MWC                 &lt;BR /&gt;Schedule                    parallel     &lt;BR /&gt;LV Size (Mbytes)            23000           &lt;BR /&gt;Current LE                  5750      &lt;BR /&gt;Allocated PE                11500       &lt;BR /&gt;Stripes                     0       &lt;BR /&gt;Stripe Size (Kbytes)        0                   &lt;BR /&gt;Bad block                   on           &lt;BR /&gt;Allocation                  strict                    &lt;BR /&gt;IO Timeout (Seconds)        default</description>
      <pubDate>Mon, 03 Mar 2003 08:58:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-on-lvextend-command/m-p/2916695#M634151</guid>
      <dc:creator>Gordon_3</dc:creator>
      <dc:date>2003-03-03T08:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Strange on lvextend command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-on-lvextend-command/m-p/2916696#M634152</link>
      <description>Mirror copies=1&lt;BR /&gt;&lt;BR /&gt;The logical volume you are trying to extend is mirrored.&lt;BR /&gt;If it is mirrored then (It should be twice the space)&lt;BR /&gt;&lt;BR /&gt;Please provide the details of &lt;BR /&gt;vgdisplay -v /dev/vg02.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Mar 2003 09:12:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-on-lvextend-command/m-p/2916696#M634152</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-03-03T09:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Strange on lvextend command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-on-lvextend-command/m-p/2916697#M634153</link>
      <description>Hi,&lt;BR /&gt;Your Allocation policy is strict. Which means, "Mirror copies for a logical                                              extent are not allocated on                                              the same physical volume." (from the man page.).&lt;BR /&gt;&lt;BR /&gt;So you need to have enough space on two different physical volumes to extend your LV. Alternatively you could change your LV allocation policy using lvchange to non-strict and extend ur LV ( i would nt recomond doing this).&lt;BR /&gt;hth&lt;BR /&gt;-balaji</description>
      <pubDate>Mon, 03 Mar 2003 09:19:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-on-lvextend-command/m-p/2916697#M634153</guid>
      <dc:creator>Balaji N</dc:creator>
      <dc:date>2003-03-03T09:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Strange on lvextend command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-on-lvextend-command/m-p/2916698#M634154</link>
      <description>If it is mirrored LV then you will need to have two different disks each having at least the space differential (25000 - old size). If not then you can try doing lvchange -D n for this lv before doing the lvextend..&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Mar 2003 09:21:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-on-lvextend-command/m-p/2916698#M634154</guid>
      <dc:creator>monasingh_1</dc:creator>
      <dc:date>2003-03-03T09:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Strange on lvextend command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-on-lvextend-command/m-p/2916699#M634155</link>
      <description>sorry about the previous lvchange -D n , you will need to do lvchange -s n for this lv...&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Mar 2003 09:22:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-on-lvextend-command/m-p/2916699#M634155</guid>
      <dc:creator>monasingh_1</dc:creator>
      <dc:date>2003-03-03T09:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Strange on lvextend command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-on-lvextend-command/m-p/2916700#M634156</link>
      <description>check this doc&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;PROBLEM&lt;BR /&gt;The lvextend command on a striped logical volume returns with the following&lt;BR /&gt;error message:&lt;BR /&gt;&lt;BR /&gt;    /dev/vgxx/lvolxx could not be extended.&lt;BR /&gt;    failure possible caused by strict allocation policy&lt;BR /&gt;&lt;BR /&gt;RESOLUTION&lt;BR /&gt;The problem is due to the fact that the lvol is striped over several disk. In&lt;BR /&gt;order to extend a logical volume all involved disks have to have equal amount&lt;BR /&gt;of free space available.&lt;BR /&gt;&lt;BR /&gt;Here is an example:&lt;BR /&gt;&lt;BR /&gt;Assume /dev/vg01/lvol1 is 4gb and striped across c1t5d0 and c1t6d0 with&lt;BR /&gt;each of these disks being 2gb PVs.&lt;BR /&gt;Now you want to increase the lvol by another 1gb. Conventional&lt;BR /&gt;thought would indicate that you should add another disk but actually you&lt;BR /&gt;must add 2 more disks to satisfy the policy requirement of striping.&lt;BR /&gt;&lt;BR /&gt;After you added 2 disks, i.e. c1t3d0 and c1t4d0, the syntax for the lvextend&lt;BR /&gt;command looks like:&lt;BR /&gt;&lt;BR /&gt;      lvextend -L 5000 /dev/vg01/lvol1 /dev/dsk/c1t3d0 /dev/dsk/c1t4d0&lt;BR /&gt;&lt;BR /&gt;Note that you have to specify the 2 disks. A single disk would complain&lt;BR /&gt;about the strict allocation policy. You cannot turnoff this policy when&lt;BR /&gt;striping. This prevents you from striping to the same disk. This is an&lt;BR /&gt;lvm limitation.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The following commands will help to determine your configuration:&lt;BR /&gt;&lt;BR /&gt;1) lvdisplay /dev/vgxx/lvolxx shows the information over how many disks the&lt;BR /&gt;lvol is striped and what the stripe size it.&lt;BR /&gt;&lt;BR /&gt;      # lvdisplay -v /dev/vgxx/lvolxx&lt;BR /&gt;&lt;BR /&gt;      --- Logical volumes ---&lt;BR /&gt;      LV Name                     /dev/vgxx/lvolxx&lt;BR /&gt;      VG Name                     /dev/vgxx&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                    parallel&lt;BR /&gt;      LV Size (Mbytes)            1600&lt;BR /&gt;      Current LE                  400&lt;BR /&gt;      Allocated PE                400&lt;BR /&gt;      Stripes                     2&lt;BR /&gt;      Stripe Size (Kbytes)        5000&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;2) pvdisplay /dev/dsk/cxtxdx will tell you how many free PE's are available on&lt;BR /&gt;the disks.&lt;BR /&gt;&lt;BR /&gt;      # pvdisplay /dev/dsk/cxtxdx&lt;BR /&gt;&lt;BR /&gt;      PV Name                     /dev/dsk/c0t8d0&lt;BR /&gt;      VG Name                     /dev/vg00&lt;BR /&gt;      PV Status                   available&lt;BR /&gt;      Allocatable                 yes&lt;BR /&gt;      VGDA                        2&lt;BR /&gt;      Cur LV                      5&lt;BR /&gt;      PE Size (Mbytes)            4&lt;BR /&gt;      Total PE                    500&lt;BR /&gt;      Free PE                     0&lt;BR /&gt;      Allocated PE                500&lt;BR /&gt;      Stale PE                    0&lt;BR /&gt;      IO Timeout (Seconds)        120&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                                        &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Mar 2003 09:24:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-on-lvextend-command/m-p/2916700#M634156</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-03-03T09:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Strange on lvextend command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/strange-on-lvextend-command/m-p/2916701#M634157</link>
      <description>Also check this link&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x9fe35a3e6e0bd6118ff40090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x9fe35a3e6e0bd6118ff40090279cd0f9,00.html&lt;/A&gt;</description>
      <pubDate>Mon, 03 Mar 2003 09:38:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/strange-on-lvextend-command/m-p/2916701#M634157</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-03-03T09:38:44Z</dc:date>
    </item>
  </channel>
</rss>

