<?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: How to extend pv? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-to-extend-pv/m-p/4896306#M45525</link>
    <description>Usually you do this:&lt;BR /&gt;&lt;BR /&gt;vgextend &lt;TO a="" new="" disk=""&gt;&lt;BR /&gt;lvextend &amp;lt; if you need to extend an existing volume group&amp;gt;&lt;BR /&gt;extendfs &amp;lt; to extend the current filesystem &amp;gt;&lt;BR /&gt;&lt;BR /&gt;pvcreate is not going to hurt any new disks.&lt;BR /&gt;&lt;BR /&gt;The reason you probably don't recognize the size thats available is because the vgcreate command did not accomodate the current configuration.&lt;BR /&gt;&lt;BR /&gt;To fix that, you have to vgexport the current volume group and re-run the vgcreate command. If in that command you limit the number of physical volumes to significantly less than 255, the maximum, more space will be able to be allocated on existing volume groups.&lt;BR /&gt;&lt;BR /&gt;I can provide specific commands on Monday when I regain access to an HP-UX server.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;&lt;/TO&gt;</description>
    <pubDate>Mon, 18 Apr 2005 01:15:01 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2005-04-18T01:15:01Z</dc:date>
    <item>
      <title>How to extend pv?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-extend-pv/m-p/4896303#M45522</link>
      <description>Hi guys,&lt;BR /&gt;&lt;BR /&gt;I've created physical volume by pvcreate in time when I had 6 disks in HW RAID. Total amount was about 135GB. Later I've added 4 more disks and pvdisplay can see only original 135GB. Is there any way how to extend pv? I mean instead of backup, pvcreate, vgcreate, lvcreate and restore.&lt;BR /&gt;&lt;BR /&gt;Is on SLES7 and IBM EXP300 storage expansion unit. &lt;BR /&gt;&lt;BR /&gt;Any advice is appreciated.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Andrej</description>
      <pubDate>Fri, 15 Apr 2005 09:34:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-extend-pv/m-p/4896303#M45522</guid>
      <dc:creator>Andrej Vavro</dc:creator>
      <dc:date>2005-04-15T09:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to extend pv?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-extend-pv/m-p/4896304#M45523</link>
      <description>Does the system see the disks? Is the RAID configuration accounting for these additional disks?&lt;BR /&gt;&lt;BR /&gt;There is not a command to pvextend. You can pvcreate to tell the OS that these disks are part of LVM config. You can do vgextend to put these disks in the same volume group.&lt;BR /&gt;&lt;BR /&gt;The pvcreate command is destructive so make sure you are working with the correct disks.</description>
      <pubDate>Fri, 15 Apr 2005 11:52:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-extend-pv/m-p/4896304#M45523</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-04-15T11:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to extend pv?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-extend-pv/m-p/4896305#M45524</link>
      <description>Go Rick! Go Rick! *cheers!* The perfect answer!&lt;BR /&gt;&lt;BR /&gt;*mumbles 'cause Rick got there first*</description>
      <pubDate>Fri, 15 Apr 2005 18:44:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-extend-pv/m-p/4896305#M45524</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-04-15T18:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to extend pv?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-extend-pv/m-p/4896306#M45525</link>
      <description>Usually you do this:&lt;BR /&gt;&lt;BR /&gt;vgextend &lt;TO a="" new="" disk=""&gt;&lt;BR /&gt;lvextend &amp;lt; if you need to extend an existing volume group&amp;gt;&lt;BR /&gt;extendfs &amp;lt; to extend the current filesystem &amp;gt;&lt;BR /&gt;&lt;BR /&gt;pvcreate is not going to hurt any new disks.&lt;BR /&gt;&lt;BR /&gt;The reason you probably don't recognize the size thats available is because the vgcreate command did not accomodate the current configuration.&lt;BR /&gt;&lt;BR /&gt;To fix that, you have to vgexport the current volume group and re-run the vgcreate command. If in that command you limit the number of physical volumes to significantly less than 255, the maximum, more space will be able to be allocated on existing volume groups.&lt;BR /&gt;&lt;BR /&gt;I can provide specific commands on Monday when I regain access to an HP-UX server.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;&lt;/TO&gt;</description>
      <pubDate>Mon, 18 Apr 2005 01:15:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-extend-pv/m-p/4896306#M45525</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-04-18T01:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to extend pv?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-extend-pv/m-p/4896307#M45526</link>
      <description>Steven,&lt;BR /&gt;&lt;BR /&gt;Can you please provide more details on suggested solution? Are the existing data going to be lost?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Andrej</description>
      <pubDate>Mon, 18 Apr 2005 01:47:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-extend-pv/m-p/4896307#M45526</guid>
      <dc:creator>Andrej Vavro</dc:creator>
      <dc:date>2005-04-18T01:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to extend pv?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-extend-pv/m-p/4896308#M45527</link>
      <description>Assuming you don't remove the existing physical volumes (pv's) from the current volume groups (vg's), no existing data should be lost.&lt;BR /&gt;&lt;BR /&gt;If you are at all unsure about what you are doing, standard rule of thumb.  Back it up first!&lt;BR /&gt;&lt;BR /&gt;With the 4 disks you added to the RAID container, has the existing RAID container been expanded?&lt;BR /&gt;&lt;BR /&gt;If so, have you created new partitions on the existing container?  Or has the new disks been added as a new container?&lt;BR /&gt;&lt;BR /&gt;You create PV's under Linux on filesystems that have been created, or whole physical (or RAID logical) device.&lt;BR /&gt;&lt;BR /&gt;So first step I guess.. What did you actually do with those new 4 disks?&lt;BR /&gt;&lt;BR /&gt;Once you've created a PV with the new space, then you 'vgextend'.&lt;BR /&gt;&lt;BR /&gt;'vgdisplay' will show:&lt;BR /&gt;&lt;BR /&gt;--- Volume group ---&lt;BR /&gt;VG Name               vgLocal&lt;BR /&gt;VG Access             read/write&lt;BR /&gt;VG Status             available/resizable&lt;BR /&gt;VG #                  0&lt;BR /&gt;MAX LV                256&lt;BR /&gt;Cur LV                3&lt;BR /&gt;Open LV               3&lt;BR /&gt;MAX LV Size           255.99 GB&lt;BR /&gt;Max PV                256&lt;BR /&gt;Cur PV                1&lt;BR /&gt;Act PV                1&lt;BR /&gt;VG Size               107.88 GB&lt;BR /&gt;PE Size               4 MB&lt;BR /&gt;Total PE              27617&lt;BR /&gt;Alloc PE / Size       27617 / 107.88 GB&lt;BR /&gt;Free  PE / Size       0 / 0&lt;BR /&gt;VG UUID               0sUVMR-PuRI-5Hd0-30m5-jeFl-LX2Q-6JnGGs&lt;BR /&gt;&lt;BR /&gt;The 'PE' values (Physical Extents, which live on Physical Volumes) are how much of the PV's have not yet been assigned to a volume group.&lt;BR /&gt;&lt;BR /&gt;.. I love LVM .. don't you ? :)&lt;BR /&gt;&lt;BR /&gt;NOTES:  As listed above, depending on what values for PE size the volume group is created with, depends on how big it can go.  4MB PE's can grow up to 256GB LV's.</description>
      <pubDate>Mon, 18 Apr 2005 02:49:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-extend-pv/m-p/4896308#M45527</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-04-18T02:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to extend pv?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-extend-pv/m-p/4896309#M45528</link>
      <description>Guys,&lt;BR /&gt;&lt;BR /&gt;sorry for bothering you. It was my mistake. I expected current partition extend somehow. fdisk is the right solution to create 8e partition on free space before playing with LVM.&lt;BR /&gt;&lt;BR /&gt;Andrej</description>
      <pubDate>Tue, 19 Apr 2005 01:55:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-extend-pv/m-p/4896309#M45528</guid>
      <dc:creator>Andrej Vavro</dc:creator>
      <dc:date>2005-04-19T01:55:14Z</dc:date>
    </item>
  </channel>
</rss>

