<?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: New disk to VG in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435652#M4865</link>
    <description>There are a couple of references in this thread to vgextend automatically increasing max_pe, which is simply not the case.&lt;BR /&gt;&lt;BR /&gt;max_pe is set with vgcreate and will be automatically increased only with vgcreate if used on a disk larger than the defaults of PE=4 X max_pe=1016. For instance, if a 9 gig disk was used during the vgcreate, max_pe would be automatically increased to accomodate the larger disk.  This number is determined by taking the PE size and dividing it by the total gig of the disk = max_pe.&lt;BR /&gt;&lt;BR /&gt;There was a LVM thread from 7/20 that began a lengthy discussion on this topic.  See "Default max PE - any methodology changes coming?"  from Tim Malnati. &lt;BR /&gt;&lt;BR /&gt;Best Wishes,&lt;BR /&gt;Cheryl</description>
    <pubDate>Wed, 09 Aug 2000 19:20:11 GMT</pubDate>
    <dc:creator>Cheryl Griffin</dc:creator>
    <dc:date>2000-08-09T19:20:11Z</dc:date>
    <item>
      <title>New disk to VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435636#M4849</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I have a 4 GB disk that I use for my database application.  When the VG was first created, no options were used.  I want to add a new 9 GB disk to this VG.  My questions is: will the VG recognize the larger size drive.&lt;BR /&gt;&lt;BR /&gt;Are there any other potential problems I should be aware of.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help.&lt;BR /&gt;Sanjay</description>
      <pubDate>Wed, 09 Aug 2000 15:38:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435636#M4849</guid>
      <dc:creator>Sanjay Tailor</dc:creator>
      <dc:date>2000-08-09T15:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: New disk to VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435637#M4850</link>
      <description>Should have no trouble. Do the vgextend for the new disk to be placed in an existing VG.</description>
      <pubDate>Wed, 09 Aug 2000 15:37:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435637#M4850</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-08-09T15:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: New disk to VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435638#M4851</link>
      <description>The size of the new disk shouldn't be an issue. Go ahead and do the vgextend and put it into the vol_group.  Then source it out as you need..&lt;BR /&gt;Regards,</description>
      <pubDate>Wed, 09 Aug 2000 15:42:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435638#M4851</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2000-08-09T15:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: New disk to VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435639#M4852</link>
      <description>&lt;BR /&gt;You may have a problem here. When your 4Gb drive was added to a VG it determines the value of  Max PE per PV, which would be around 1024 for the 4Gb drive. Now, when you try to add a larger drive you want max PE per PV to be 9Gb/4 (if your PE size is default 4Mb), which is around 22-2500.&lt;BR /&gt;&lt;BR /&gt;So, do a vgdisplay on the VG with the 4Gb drive. What is max PE per PV set to ? if only 1024 or so then you wont be able to add the 9Gb drive to this VG and use all of it. You will need to rebuild you VG with a higher max PE per PV, or add it to a new VG. &lt;BR /&gt;</description>
      <pubDate>Wed, 09 Aug 2000 15:42:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435639#M4852</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2000-08-09T15:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: New disk to VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435640#M4853</link>
      <description>You should have no problems ... just do a:&lt;BR /&gt;&lt;BR /&gt;vgextend vg_name pv_name&lt;BR /&gt;&lt;BR /&gt;man on vgextend has some examples.&lt;BR /&gt;&lt;BR /&gt;Note however that if you are going to have largefiles (&amp;gt;2G) in a filesystem, then the filesystem should have largefiles enabled with fsadm - do a man on fsadm and fsadm_vxfs</description>
      <pubDate>Wed, 09 Aug 2000 15:44:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435640#M4853</guid>
      <dc:creator>Kofi ARTHIABAH</dc:creator>
      <dc:date>2000-08-09T15:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: New disk to VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435641#M4854</link>
      <description>Sanjay,&lt;BR /&gt;&lt;BR /&gt;If the volume group was first created with the 4 gig disk and no options were used, the default max_pe is 1016 which with the default pe size of 4, equates to a 4 gig disk.&lt;BR /&gt;&lt;BR /&gt;This means that you can not extend a 9 gig into the volume group because you will not hve enough max_pe.&lt;BR /&gt;&lt;BR /&gt;The volume group will have to be recreated with a larger max_pe to accomodate the 9 gig disk.&lt;BR /&gt;&lt;BR /&gt;Best Wishes,&lt;BR /&gt;Cheryl</description>
      <pubDate>Wed, 09 Aug 2000 15:45:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435641#M4854</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2000-08-09T15:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: New disk to VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435642#M4855</link>
      <description>Add the disk, pvcreate to create the physical volume, vgextend it. No problem. As an alternative, you can use sam.&lt;BR /&gt;Good luck</description>
      <pubDate>Wed, 09 Aug 2000 15:50:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435642#M4855</guid>
      <dc:creator>Antoanetta Naghiu</dc:creator>
      <dc:date>2000-08-09T15:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: New disk to VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435643#M4856</link>
      <description>You need to check what the Physical Extent size (PE) of the volume group you want to add this disk into is i.e. 4meg, 8meg 16 etc.. &lt;BR /&gt;&lt;BR /&gt;When creating the volume group , you can specify the maxium PE size , the default is 1016 , however if the max pe size is reached and you haven't specified the -e max_pe value this will adjust itself ( values range from 1 to 65535 )&lt;BR /&gt;e.g. if your volume group was created with PE size of 4 , divide 9gig by 4 and see what&lt;BR /&gt;the range is ( should be 1 to 65535) , &lt;BR /&gt;&lt;BR /&gt;One thing you can try is pvcreate the disk ( make it usable by LVM) and then vgextend it to the volume group , then try writing data&lt;BR /&gt;to it , as a test.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps &lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Aug 2000 15:52:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435643#M4856</guid>
      <dc:creator>Devbinder Singh Marway</dc:creator>
      <dc:date>2000-08-09T15:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: New disk to VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435644#M4857</link>
      <description>HMMM!!  I seem to be getting conflicting answers.  My max PE per PV is 1024.  So I cannot add the 9gb drive to the VG?  Is that right?  How could I solve this problem?  Recreate the V?  How?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Sanjay.</description>
      <pubDate>Wed, 09 Aug 2000 15:57:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435644#M4857</guid>
      <dc:creator>Sanjay Tailor</dc:creator>
      <dc:date>2000-08-09T15:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: New disk to VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435645#M4858</link>
      <description>Sanjay,&lt;BR /&gt;&lt;BR /&gt;You must divide your PE size into the max_pe to determine the size disk your volume is capable of handling.&lt;BR /&gt;&lt;BR /&gt;Otherwise it will result in an error message that states, "you have #### pe's, need ####" and it will fail. OR the disk will be extended into the group and you will not be able to access the last 5 gig (depending on your LVM patch level.&lt;BR /&gt;&lt;BR /&gt;Cheryl</description>
      <pubDate>Wed, 09 Aug 2000 16:00:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435645#M4858</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2000-08-09T16:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: New disk to VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435646#M4859</link>
      <description>pvcreate the new disk and use vgextend to add it to the volume group.&lt;BR /&gt;&lt;BR /&gt;vgextend is capable of automatically increasing the Max PE per PV (but only up to a certain value).&lt;BR /&gt;&lt;BR /&gt;Go ahead and do it, it won't do any harm. Then use vgdisplay -v to see what you've got.&lt;BR /&gt;&lt;BR /&gt;You can always remove the disk with vgreduce.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Wed, 09 Aug 2000 16:01:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435646#M4859</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-08-09T16:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: New disk to VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435647#M4860</link>
      <description>There are certain HW devices where having different size disks can be an issue. However, you have not specified that this is one of those devices. As John previously stated, the vgextend command will do some of the work for you and you should have no troubles. If you are not able to see the remaining 5 GB, vgreduce the disk out. You may also be on a HW device that does care about having disk sizes be the same.</description>
      <pubDate>Wed, 09 Aug 2000 16:03:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435647#M4860</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-08-09T16:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: New disk to VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435648#M4861</link>
      <description>Rick,&lt;BR /&gt;&lt;BR /&gt;How do I know if the different sizes will cause a problem?  I have a D370 with 4 internal SCSI differnetial drives.  I have Hp-UX 10.20 and I am pretty up to date with my patches.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Sanjay.</description>
      <pubDate>Wed, 09 Aug 2000 16:13:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435648#M4861</guid>
      <dc:creator>Sanjay Tailor</dc:creator>
      <dc:date>2000-08-09T16:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: New disk to VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435649#M4862</link>
      <description>Devices that do HA (i.e., AutoRAID) will have this problem. In the docs for these HW devices it tells you to use disks of the same size or you will only see what the smallest disk is in the device.&lt;BR /&gt;&lt;BR /&gt;You specified that you are working off internal disks of a D class system. As previously stated, if you are patched, the vgextend command will do some of the work for you.</description>
      <pubDate>Wed, 09 Aug 2000 16:20:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435649#M4862</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-08-09T16:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: New disk to VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435650#M4863</link>
      <description>Sanjay,&lt;BR /&gt;&lt;BR /&gt;It would be interesting to know the results of the extend.  Be sure to keep us posted.</description>
      <pubDate>Wed, 09 Aug 2000 16:34:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435650#M4863</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2000-08-09T16:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: New disk to VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435651#M4864</link>
      <description>Sanjay:&lt;BR /&gt;&lt;BR /&gt;You probabably don't have the extendability you're looking for as Cheryl indicates.&lt;BR /&gt;&lt;BR /&gt;Take a look at:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support2.external.hp.com/cki/bin/doc.pl/sid=82f0e7241350e78d0e/screen=ckiDisplayDocument?docId=200000046942437" target="_blank"&gt;http://us-support2.external.hp.com/cki/bin/doc.pl/sid=82f0e7241350e78d0e/screen=ckiDisplayDocument?docId=200000046942437&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 09 Aug 2000 16:47:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435651#M4864</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-08-09T16:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: New disk to VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435652#M4865</link>
      <description>There are a couple of references in this thread to vgextend automatically increasing max_pe, which is simply not the case.&lt;BR /&gt;&lt;BR /&gt;max_pe is set with vgcreate and will be automatically increased only with vgcreate if used on a disk larger than the defaults of PE=4 X max_pe=1016. For instance, if a 9 gig disk was used during the vgcreate, max_pe would be automatically increased to accomodate the larger disk.  This number is determined by taking the PE size and dividing it by the total gig of the disk = max_pe.&lt;BR /&gt;&lt;BR /&gt;There was a LVM thread from 7/20 that began a lengthy discussion on this topic.  See "Default max PE - any methodology changes coming?"  from Tim Malnati. &lt;BR /&gt;&lt;BR /&gt;Best Wishes,&lt;BR /&gt;Cheryl</description>
      <pubDate>Wed, 09 Aug 2000 19:20:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435652#M4865</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2000-08-09T19:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: New disk to VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435653#M4866</link>
      <description>*****************************************&lt;BR /&gt;&lt;BR /&gt;I'm not sure if Sanjay has gotten the answer he needs, so here it is as plain as I can state it. And believe me, I know, because I answer this question constantly :)&lt;BR /&gt;&lt;BR /&gt;When you create a VG under, if you don't specify any options other than the normal disk name and vgname, then the MAX PE per PV will be set to the equivalent of either 4G or the largest disk in the VG (at time of creation).&lt;BR /&gt;&lt;BR /&gt;This means that if you create a VG with only 1G, 2G, or 4G disks in it, then no disk added to that VG will ever have more than 4G of usable space.&lt;BR /&gt;&lt;BR /&gt;If you create a VG with a 2G and an 18G, then you can add disks up to 18G later without losing any space.&lt;BR /&gt;&lt;BR /&gt;The Max PE per PV number is built into the structure of the LVM headers on the disk and CANNOT be changed after the fact. The VG must be recreated from scratch if you wish to use larger disks later.&lt;BR /&gt;&lt;BR /&gt;**********&lt;BR /&gt;&lt;BR /&gt;To avoid this problem, use the -e option with your vgcreate to increase the MAX PE per PV from the get-go.&lt;BR /&gt;&lt;BR /&gt;However, do not assume that you should set this number very large as a matter of course. The larger the number you use, the larger your header/LVM structure will be. This takes up disk space and has an upper limit (effectively), so there's no point in using a value that would accommodate a 48G disk if you don't really expect to ever have anything larger than an 18G in that VG.&lt;BR /&gt;&lt;BR /&gt;I hope this answers you question :)</description>
      <pubDate>Wed, 09 Aug 2000 23:27:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435653#M4866</guid>
      <dc:creator>Dan_4</dc:creator>
      <dc:date>2000-08-09T23:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: New disk to VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435654#M4867</link>
      <description>Hello Sanjay,&lt;BR /&gt;I am pretty shure you *will* have problems adding a 18GB disk. The default for&lt;BR /&gt;a "small" VG is 1016 PE of 4MB each, and only up to 16 PVs. That is way to&lt;BR /&gt;few space for today's disks! In my experience it is much better to create the VGs&lt;BR /&gt;with bigger, but fewer PEs, more PVs, and less LVs (who needs 256 filesystems?),&lt;BR /&gt;i.e. for data VGs something like:&lt;BR /&gt;   vgcreate -s 64 -e 1024 -p 64 -l 64 /dev/vgXX ...&lt;BR /&gt;and for root&amp;amp;boot VGs like:&lt;BR /&gt;   vgcreate -s 64 -e 1024 -p 4 -l 16 /dev/vg00 ... (during installation)&lt;BR /&gt;The bad news are: you will have to re-install your whole OS! Try "Ignite/UX"&lt;BR /&gt;with the command "make_recovery -Aiv", boot from that tape, and boot from&lt;BR /&gt;that tape. Then change the LVM setup, and restore to the "new" disk,&lt;BR /&gt;leaving the "old" untouched.&lt;BR /&gt;Boot from the new disk, "vgimport" your data VGs, relax ;-)&lt;BR /&gt;HTH,&lt;BR /&gt;   Wodisch</description>
      <pubDate>Tue, 15 Aug 2000 18:17:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435654#M4867</guid>
      <dc:creator>Wodisch</dc:creator>
      <dc:date>2000-08-15T18:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: New disk to VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435655#M4868</link>
      <description>Hello Sanjay,&lt;BR /&gt;I am pretty shure you *will* have problems adding a 18GB disk. The default for&lt;BR /&gt;a "small" VG is 1016 PE of 4MB each, and only up to 16 PVs. That is way to&lt;BR /&gt;few space for today's disks! In my experience it is much better to create the VGs&lt;BR /&gt;with bigger, but fewer PEs, more PVs, and less LVs (who needs 256 filesystems?),&lt;BR /&gt;i.e. for data VGs something like:&lt;BR /&gt;   vgcreate -s 64 -e 1024 -p 64 -l 64 /dev/vgXX ...&lt;BR /&gt;and for root&amp;amp;boot VGs like:&lt;BR /&gt;   vgcreate -s 64 -e 1024 -p 4 -l 16 /dev/vg00 ... (during installation)&lt;BR /&gt;The bad news are: you will have to re-install your whole OS! Try "Ignite/UX"&lt;BR /&gt;with the command "make_recovery -Aiv", boot from that tape, and boot from&lt;BR /&gt;that tape. Then change the LVM setup, and restore to the "new" disk,&lt;BR /&gt;leaving the "old" untouched.&lt;BR /&gt;Boot from the new disk, "vgimport" your data VGs, relax ;-)&lt;BR /&gt;HTH,&lt;BR /&gt;   Wodisch</description>
      <pubDate>Tue, 15 Aug 2000 18:20:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-disk-to-vg/m-p/2435655#M4868</guid>
      <dc:creator>Wodisch</dc:creator>
      <dc:date>2000-08-15T18:20:44Z</dc:date>
    </item>
  </channel>
</rss>

