<?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 many physical volumes can and should you have in one VG? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-many-physical-volumes-can-and-should-you-have-in-one-vg/m-p/2637676#M646306</link>
    <description>Well you've already discovered that you MAX PV's is 16. Thus no more disks, and no mirroring.  Remeber mirroring is performed at the logical volume level, thus inside a vg. So, I would move 8 of you data disk to vg02 and then add 8 disks to vg01 and vg02 so you can mirror properly.&lt;BR /&gt;&lt;BR /&gt;GL,&lt;BR /&gt;C</description>
    <pubDate>Wed, 02 Jan 2002 17:54:46 GMT</pubDate>
    <dc:creator>Craig Rants</dc:creator>
    <dc:date>2002-01-02T17:54:46Z</dc:date>
    <item>
      <title>How many physical volumes can and should you have in one VG?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-many-physical-volumes-can-and-should-you-have-in-one-vg/m-p/2637671#M646301</link>
      <description>This was configured poorly (I wasn't involded but I need to remedy)and we need to mirror the data but we need extents and the 16 PV's in VG01 are all used up?   &lt;BR /&gt;&lt;BR /&gt;My question is can we add anymore disks to vg01 so that we can complete the mirroring or is there a work around to mirror outside vg01.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The error recieved when trying to extend the volume group:&lt;BR /&gt;# vgextend /dev/vg01 /dev/dsk/c0t10d0&lt;BR /&gt;vgextend: Couldn't install the physical volume "/dev/dsk/c0t10d0".&lt;BR /&gt;Too many links&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here is the contents of /dev/vg01:&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010001 Sep 16  2000 /dev/vg01/lvol1&lt;BR /&gt;brw-r-----   1 root       sys         64 0x01000d Sep 16  2000 /dev/vg01/lvol13&lt;BR /&gt;brw-r-----   1 root       sys         64 0x01000e Sep 16  2000 /dev/vg01/lvol14&lt;BR /&gt;brw-r-----   1 root       sys         64 0x01000f Sep 16  2000 /dev/vg01/lvol15&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010010 Sep 16  2000 /dev/vg01/lvol16&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010011 Sep 16  2000 /dev/vg01/lvol17&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010012 Sep 16  2000 /dev/vg01/lvol18&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010013 Sep 16  2000 /dev/vg01/lvol19&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010002 Sep 16  2000 /dev/vg01/lvol2&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010014 Sep 16  2000 /dev/vg01/lvol20&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010015 Sep 16  2000 /dev/vg01/lvol21&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010016 Sep 16  2000 /dev/vg01/lvol22&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010017 Sep 16  2000 /dev/vg01/lvol23&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010018 Sep 16  2000 /dev/vg01/lvol24&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010019 Sep 16  2000 /dev/vg01/lvol25&lt;BR /&gt;brw-r-----   1 root       sys         64 0x01001a Sep 16  2000 /dev/vg01/lvol26&lt;BR /&gt;brw-r-----   1 root       sys         64 0x01001b Sep 16  2000 /dev/vg01/lvol27&lt;BR /&gt;brw-r-----   1 root       sys         64 0x01001c Sep 16  2000 /dev/vg01/lvol28&lt;BR /&gt;brw-r-----   1 root       sys         64 0x01001d Sep 16  2000 /dev/vg01/lvol29&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010003 Sep 16  2000 /dev/vg01/lvol3&lt;BR /&gt;brw-r-----   1 root       sys         64 0x01001e Sep 16  2000 /dev/vg01/lvol30&lt;BR /&gt;brw-r-----   1 root       sys         64 0x01001f Sep 16  2000 /dev/vg01/lvol31&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010020 Sep 16  2000 /dev/vg01/lvol32&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010022 Sep 16  2000 /dev/vg01/lvol33&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010023 Sep 16  2000 /dev/vg01/lvol34&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010024 Sep 16  2000 /dev/vg01/lvol35&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010025 Sep 16  2000 /dev/vg01/lvol36&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010009 Oct 18 20:39 /dev/vg01/lvol37&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010004 Sep 16  2000 /dev/vg01/lvol4&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010005 Sep 16  2000 /dev/vg01/lvol5&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010006 Sep 16  2000 /dev/vg01/lvol6&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010007 Sep 16  2000 /dev/vg01/lvol7&lt;BR /&gt;brw-r-----   1 root       sys         64 0x010008 Sep 16  2000 /dev/vg01/lvol8&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here is the lvmtab output for vg01:&lt;BR /&gt;&lt;BR /&gt;/dev/vg01&lt;BR /&gt;/dev/dsk/c0t3d0&lt;BR /&gt;/dev/dsk/c0t4d0&lt;BR /&gt;/dev/dsk/c1t6d0&lt;BR /&gt;/dev/dsk/c2t3d0&lt;BR /&gt;/dev/dsk/c2t4d0&lt;BR /&gt;/dev/dsk/c2t5d0&lt;BR /&gt;/dev/dsk/c1t5d0&lt;BR /&gt;/dev/dsk/c1t8d0&lt;BR /&gt;/dev/dsk/c1t9d0&lt;BR /&gt;/dev/dsk/c2t11d0&lt;BR /&gt;/dev/dsk/c2t12d0&lt;BR /&gt;/dev/dsk/c2t13d0&lt;BR /&gt;/dev/dsk/c2t14d0&lt;BR /&gt;/dev/dsk/c2t15d0&lt;BR /&gt;/dev/dsk/c2t2d0&lt;BR /&gt;/dev/dsk/c2t6d0&lt;BR /&gt;&lt;BR /&gt;Any assistance would be GREAT!!!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tony Escujuri</description>
      <pubDate>Wed, 02 Jan 2002 17:45:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-many-physical-volumes-can-and-should-you-have-in-one-vg/m-p/2637671#M646301</guid>
      <dc:creator>Tony Escujuri_1</dc:creator>
      <dc:date>2002-01-02T17:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: How many physical volumes can and should you have in one VG?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-many-physical-volumes-can-and-should-you-have-in-one-vg/m-p/2637672#M646302</link>
      <description>Oh yeah,&lt;BR /&gt;&lt;BR /&gt;We don't won't to lose the data on the LV's in VG01&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Tony Escujuri&lt;BR /&gt;tony@unixadm.net</description>
      <pubDate>Wed, 02 Jan 2002 17:47:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-many-physical-volumes-can-and-should-you-have-in-one-vg/m-p/2637672#M646302</guid>
      <dc:creator>Tony Escujuri_1</dc:creator>
      <dc:date>2002-01-02T17:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: How many physical volumes can and should you have in one VG?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-many-physical-volumes-can-and-should-you-have-in-one-vg/m-p/2637673#M646303</link>
      <description>Hi Tony,&lt;BR /&gt;&lt;BR /&gt;The default value for the number of PVs in a volume group is 16. If you don't specify -p option while creating the volume group, then you will be limited to 16 and you need to recreate the volume group. Take backup, recreate the volume group and logical volumes and then restore.&lt;BR /&gt;&lt;BR /&gt;The maximum number of PVs a VG can have is 255. Checkout the vgcreate man page for limits on PVs, LVs, Alt Links etc.,&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Jan 2002 17:49:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-many-physical-volumes-can-and-should-you-have-in-one-vg/m-p/2637673#M646303</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-01-02T17:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: How many physical volumes can and should you have in one VG?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-many-physical-volumes-can-and-should-you-have-in-one-vg/m-p/2637674#M646304</link>
      <description>Hi Tony:&lt;BR /&gt;&lt;BR /&gt;Unless vg01 was created with a specification of 'max_pv' that was larger than the default value of 16, you are "out-of-luck"!&lt;BR /&gt;&lt;BR /&gt;The value of 'max_pv' (among others) is set during the volume group creation ('vgcreate').&lt;BR /&gt;A 'vgdisplay /dev/vg01' (in this case) will show the limit as "Max PV".  In order to increase it, you will need to destroy and recreate the volume group.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 02 Jan 2002 17:53:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-many-physical-volumes-can-and-should-you-have-in-one-vg/m-p/2637674#M646304</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-01-02T17:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: How many physical volumes can and should you have in one VG?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-many-physical-volumes-can-and-should-you-have-in-one-vg/m-p/2637675#M646305</link>
      <description>I disagree....&lt;BR /&gt;&lt;BR /&gt;You can not recreate a volume group....&lt;BR /&gt;If you hit the max on physical volumes, then&lt;BR /&gt;JUST CREATE A NEW VOLUME GROUP..&lt;BR /&gt;and apply the option as mentioned above &lt;BR /&gt;vgcreate -p _ _ _&lt;BR /&gt;&lt;BR /&gt;I generally slice mine up into 4gb for each disk (it's how they sliced up the EMC before I came..so I held with it for continuity).  At 4gb you can create a volume group that will allow for 60 disks.  Obviously a larger slice on disk and less physical volumes. So a disk at 1gb slice you could have 255 physical volumes....&lt;BR /&gt;&lt;BR /&gt;BUT the easiest way is to just create another volume group.....honest the developers and dba's will gobble them up no matter what vg the disks are connected to..&lt;BR /&gt;&lt;BR /&gt;Rgrds,&lt;BR /&gt;Rit</description>
      <pubDate>Wed, 02 Jan 2002 17:54:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-many-physical-volumes-can-and-should-you-have-in-one-vg/m-p/2637675#M646305</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2002-01-02T17:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: How many physical volumes can and should you have in one VG?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-many-physical-volumes-can-and-should-you-have-in-one-vg/m-p/2637676#M646306</link>
      <description>Well you've already discovered that you MAX PV's is 16. Thus no more disks, and no mirroring.  Remeber mirroring is performed at the logical volume level, thus inside a vg. So, I would move 8 of you data disk to vg02 and then add 8 disks to vg01 and vg02 so you can mirror properly.&lt;BR /&gt;&lt;BR /&gt;GL,&lt;BR /&gt;C</description>
      <pubDate>Wed, 02 Jan 2002 17:54:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-many-physical-volumes-can-and-should-you-have-in-one-vg/m-p/2637676#M646306</guid>
      <dc:creator>Craig Rants</dc:creator>
      <dc:date>2002-01-02T17:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: How many physical volumes can and should you have in one VG?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-many-physical-volumes-can-and-should-you-have-in-one-vg/m-p/2637677#M646307</link>
      <description>Tony,&lt;BR /&gt;&lt;BR /&gt;As stated, you need to "rebuild" your VG. So make sure you have TWO good and verifiable backups. Then delete the VG, recreate it with enough PV's (-p 32 [or higher] in vgcreate), then restore your data!&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Wed, 02 Jan 2002 17:59:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-many-physical-volumes-can-and-should-you-have-in-one-vg/m-p/2637677#M646307</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-01-02T17:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: How many physical volumes can and should you have in one VG?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-many-physical-volumes-can-and-should-you-have-in-one-vg/m-p/2637678#M646308</link>
      <description>I will let all of you know what procedure we under take to do this.  &lt;BR /&gt;&lt;BR /&gt;More input:&lt;BR /&gt;Unfortunately, where I'm at they don't like backups other than mirroring.  &lt;BR /&gt;&lt;BR /&gt;So my game plane is this.&lt;BR /&gt;&lt;BR /&gt;Break all the mirrors&lt;BR /&gt;Throw in a few jamicais with 18Gbytes drives (they are currenently using 8G disks) and then mirror to this.   Break the newly mirrored drives and then make the lovl*b lv's the primary in the fstab.&lt;BR /&gt;&lt;BR /&gt;Then switch out the old drives after the database is proven to be functioning correclty for a few days and then rename the lvol*b minus the "b"&lt;BR /&gt;&lt;BR /&gt;Next I will swith out the 8gig drives with 18G drives.&lt;BR /&gt;&lt;BR /&gt;Since I'm stuck with poor mirror, no "REAL" backups and I can't lose the data....  is this a good way to proceed with this. &lt;BR /&gt;&lt;BR /&gt;Any suggestions would be GREAT.....   Thanks!!</description>
      <pubDate>Wed, 02 Jan 2002 18:18:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-many-physical-volumes-can-and-should-you-have-in-one-vg/m-p/2637678#M646308</guid>
      <dc:creator>Tony Escujuri_1</dc:creator>
      <dc:date>2002-01-02T18:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: How many physical volumes can and should you have in one VG?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-many-physical-volumes-can-and-should-you-have-in-one-vg/m-p/2637679#M646309</link>
      <description>Your game plan will work, I have used the same method before, however, it may just delay the problem you are facing, eventually those 18GB disks will run into the same space considerations.&lt;BR /&gt;&lt;BR /&gt;GL,&lt;BR /&gt;C</description>
      <pubDate>Wed, 02 Jan 2002 18:23:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-many-physical-volumes-can-and-should-you-have-in-one-vg/m-p/2637679#M646309</guid>
      <dc:creator>Craig Rants</dc:creator>
      <dc:date>2002-01-02T18:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: How many physical volumes can and should you have in one VG?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-many-physical-volumes-can-and-should-you-have-in-one-vg/m-p/2637680#M646310</link>
      <description>One thing I wound encourage you to lobby for STRONGLY is a REAL backup procedure.&lt;BR /&gt;&lt;BR /&gt;What would happen if someone accidentally did an 'rm -r *' from a database directory or from the / directory?&lt;BR /&gt;&lt;BR /&gt;You have absolutely GOT to have some sort of backup other than mirroring.  Mirroring will not solve the problem of someone doing an rm from a really bad location.</description>
      <pubDate>Wed, 02 Jan 2002 19:11:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-many-physical-volumes-can-and-should-you-have-in-one-vg/m-p/2637680#M646310</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2002-01-02T19:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: How many physical volumes can and should you have in one VG?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-many-physical-volumes-can-and-should-you-have-in-one-vg/m-p/2637681#M646311</link>
      <description>Tony,&lt;BR /&gt;&lt;BR /&gt;I am afraid your solution may not work unless the you already have the first PV in the volume group is of 18G size or you created the volume group with a non-default -e (max_pe) value. If not, when you extend the volume group with this 18GB, it will allocate only 8GB out of it.&lt;BR /&gt;&lt;BR /&gt;Backup method is only the best way here.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 02 Jan 2002 19:22:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-many-physical-volumes-can-and-should-you-have-in-one-vg/m-p/2637681#M646311</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-01-02T19:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: How many physical volumes can and should you have in one VG?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-many-physical-volumes-can-and-should-you-have-in-one-vg/m-p/2637682#M646312</link>
      <description>Hi (again) Tony:&lt;BR /&gt;&lt;BR /&gt;Sridhar's point is well taken.  In all likelihood, your volume group was created with default values for 'max_pv' but also other even more important attributes like 'max_pe'.  Again, have a look at the man pages for 'vgcreate'.  Once set, 'max_pe', 'max_lv', 'max_pv' and 'pe_size' are fixed.&lt;BR /&gt;&lt;BR /&gt;For the long term, I would urge you to use your new 18GB disk as the starting point for creating a *new* volume group to which you then copy your existing data.&lt;BR /&gt;&lt;BR /&gt;Once you create a new volume group, with appropriate values for the aforementioned attributes, create a temporary mountpoint for the new volume group's logical volumes, and using 'cpio' copy your data from the old mountpoint to the new one (below).  Then simply edit /etc/fstab replacing the new mountpoint name with the old.  When you remount, your data will be visible on the new physical disk.  Thus:&lt;BR /&gt;&lt;BR /&gt;# cd olddir &lt;BR /&gt;# find . -depth -print|cpio -pudlmv newdir &lt;BR /&gt;&lt;BR /&gt;...then unmount both 'olddir' and 'newdir'; edit /etc/fstab to mount 'olddir' on the *new* volume group's logical volume(s); edit /etc/fstab to eliminate mounting 'newdir' and re-mount 'olddir'.&lt;BR /&gt;&lt;BR /&gt;The 'cpio' options used preserve modification timestamps of files and creates (sub)directories as necessary.&lt;BR /&gt;&lt;BR /&gt;BTW, remember that mirroring is done at the *logical volume* level, not by physical disk.  Thus, mirroring is confined to a logical volume *within* its associated volume group.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 02 Jan 2002 19:50:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-many-physical-volumes-can-and-should-you-have-in-one-vg/m-p/2637682#M646312</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-01-02T19:50:00Z</dc:date>
    </item>
  </channel>
</rss>

