<?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: LVM question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/3033109#M633307</link>
    <description>Your logical volume has one definite mirror, that will explain why when you extended, it used twice as many extents. Yes you can decrease the size, as you have not actually used the extra part that was extended. Once you increase the filesystem size (which can only be done with on-lins JFS or in single user mode) that would present a problem.</description>
    <pubDate>Fri, 25 Jul 2003 03:21:43 GMT</pubDate>
    <dc:creator>Michael Tully</dc:creator>
    <dc:date>2003-07-25T03:21:43Z</dc:date>
    <item>
      <title>LVM question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/3033104#M633302</link>
      <description>I wanted to extend my /usr filesystem which is lvol7.  when I did an lvdisplay, it showed  Current LE 75 and allocated PE 150.&lt;BR /&gt;&lt;BR /&gt;SO what I did is lvextend lvol7 -l 81 /dev/vg00/lvol7.&lt;BR /&gt;&lt;BR /&gt;What happened now is when I do a lvdisplay for lvol7, the current LE is now 81 but the allocated PE has also increased by 12 from 150 to 162.&lt;BR /&gt;&lt;BR /&gt;Why is it that also the allocated PE was increased?&lt;BR /&gt;&lt;BR /&gt;Should I have just extended the filesystem and not the lvol anymore as the allocated PE is more than sufficient?  If I just extend the file system, then would the current LE have changed to 81?&lt;BR /&gt;&lt;BR /&gt;Can I still lvreduce lvol7 to its original size without destroying all the original contents of lvol7.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Fri, 25 Jul 2003 02:32:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/3033104#M633302</guid>
      <dc:creator>Kenneth_18</dc:creator>
      <dc:date>2003-07-25T02:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: LVM question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/3033105#M633303</link>
      <description>Please post the output of this command.&lt;BR /&gt;&lt;BR /&gt;lvdisplay /dev/vg00/lvol7&lt;BR /&gt;&lt;BR /&gt;You can reduce it if you haven't done extendfs, mounted it and added data.  You might have trouble at that point.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 25 Jul 2003 02:35:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/3033105#M633303</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-07-25T02:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: LVM question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/3033106#M633304</link>
      <description>I have a feeling that lvol7 is mirrored.  What you are seeing is normal for a mirrored LV.  There are 75 Logical Extents allocated (the usable size is 75 Extents) but the extents actually used for the LV is 150, since the mirror copy also needs an additional 75 extents on the other disk drive.&lt;BR /&gt;&lt;BR /&gt;When you extended to 81 extents, increased by 6, it also had to increase the mirror copy by 6 extents thus making the total increase 12 extents, or your new total of 162 extents.&lt;BR /&gt;&lt;BR /&gt;If you do an 'lvdisplay /dev/vg00/lvol7' you should see a row that says "Mirror Copies" and that is probably 1.&lt;BR /&gt;&lt;BR /&gt;You have done absolutely nothing wrong.  LVM is behaving as it should so you don't have to worry about increasing the mirror copy separate from the primary copy.&lt;BR /&gt;&lt;BR /&gt;Just do your fsadm command now (assuming you have Online JFS) to increase the space that is usable for the filesystem and you will be OK.</description>
      <pubDate>Fri, 25 Jul 2003 02:41:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/3033106#M633304</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-07-25T02:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: LVM question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/3033107#M633305</link>
      <description>Here is a copy of 'lvdisplay /dev/vg00/lvol7' from one of my machines:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;root@hquov01.rwp.com:/-&amp;gt;lvdisplay /dev/vg00/lvol7&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vg00/lvol7&lt;BR /&gt;VG Name                     /dev/vg00&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)            3072&lt;BR /&gt;Current LE                  768&lt;BR /&gt;Allocated PE                1536&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&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You will notice that the 'Allocated PE' is double the number of 'Current LE'.  That is because of the 'Mirror copies' of 1.</description>
      <pubDate>Fri, 25 Jul 2003 02:44:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/3033107#M633305</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-07-25T02:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: LVM question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/3033108#M633306</link>
      <description>If Patrick is right, I want the first page or two from:&lt;BR /&gt;&lt;BR /&gt;lvdisplay -v /dev/vg00/lvol7&lt;BR /&gt;&lt;BR /&gt;Mirroing would explain this.&lt;BR /&gt;&lt;BR /&gt;The command would prove it.  &lt;BR /&gt;&lt;BR /&gt;When you expand a mirrored lvol and don't specify the mirror location, lvm maintains the mirror.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 25 Jul 2003 02:51:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/3033108#M633306</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-07-25T02:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: LVM question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/3033109#M633307</link>
      <description>Your logical volume has one definite mirror, that will explain why when you extended, it used twice as many extents. Yes you can decrease the size, as you have not actually used the extra part that was extended. Once you increase the filesystem size (which can only be done with on-lins JFS or in single user mode) that would present a problem.</description>
      <pubDate>Fri, 25 Jul 2003 03:21:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/3033109#M633307</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-07-25T03:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: LVM question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/3033110#M633308</link>
      <description>I guess I would have figured it out with the lvdisplay output.&lt;BR /&gt;&lt;BR /&gt;I'd like to compliment Michael and Patrick on their diagnostic skills.  Top notch.  You guys are the best.&lt;BR /&gt;&lt;BR /&gt;Good night.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 25 Jul 2003 03:37:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/3033110#M633308</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-07-25T03:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: LVM question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/3033111#M633309</link>
      <description>Thanks to all who replied.&lt;BR /&gt;&lt;BR /&gt;Yes I have a mirror and it never occurred to me that the allocated PE was for both primary and mirror copy.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Jul 2003 04:13:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-question/m-p/3033111#M633309</guid>
      <dc:creator>Kenneth_18</dc:creator>
      <dc:date>2003-07-25T04:13:09Z</dc:date>
    </item>
  </channel>
</rss>

