<?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: mirroring root drive in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-drive/m-p/2610263#M35955</link>
    <description>Hi Glenn:&lt;BR /&gt;&lt;BR /&gt;This error indicates that the new disk has a larger number of physical extents than the value of 'max_pe' (see "man vgcreate" that was set or chosen when the volume group was originally created.&lt;BR /&gt;&lt;BR /&gt;If you do a 'vgdisplay /dev/vg00' and look at the "Max PE per PV" value you will see it is 2000 in your case.  This is the limit, and your new disk exceeds this number of PE.&lt;BR /&gt;&lt;BR /&gt;Your new disk has probably been added to the volume group, but you will not be able to utilize extents on it that exist beyond the original volume group limit of 2000.&lt;BR /&gt;&lt;BR /&gt;Unfortunately, the only way to alter parameters like 'max_pe' is to recreate the volume group from scratch, which for vg00, would mean an Ignite cold-install as the safest, sane approach.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Thu, 08 Nov 2001 20:15:59 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2001-11-08T20:15:59Z</dc:date>
    <item>
      <title>mirroring root drive</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-drive/m-p/2610259#M35951</link>
      <description>E35 running 10.20.  I'm trying to mirror my root (vg00) drive, which is a 4.3Gb hot swappable drive to a 9.1Gb hot swappable.&lt;BR /&gt;&lt;BR /&gt;Commands used:&lt;BR /&gt;pvcreate -B /dev/rdsk/c2t11d0  (9.1GB drive)&lt;BR /&gt;mkboot /dev/rdsk/c2t11d0&lt;BR /&gt;mkboot -a "hpux -lq" /dev/rdsk/c2t11d0&lt;BR /&gt;vgextend /dev/vg00 /dev/dsk/c2t11d0  &lt;BR /&gt;I get the following response on my vgextend command:&lt;BR /&gt;vgextend: Not enough physical extents per physical volume.&lt;BR /&gt;Need: 2170, Have: 2000.&lt;BR /&gt;Volume group "/dev/vg00" has been successfully extended.&lt;BR /&gt;Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf&lt;BR /&gt;&lt;BR /&gt;Not sure why it thinks that there are only 2000 PE's on this drive.&lt;BR /&gt;&lt;BR /&gt;If I do a vgdisplay -v vg03 on another drive that is the exact same drive as c2t11d0 (the one I'm trying to mirror to) it shows this:&lt;BR /&gt;&lt;BR /&gt;  --- Physical volumes ---&lt;BR /&gt;   PV Name                     /dev/dsk/c2t9d0&lt;BR /&gt;   PV Status                   available    &lt;BR /&gt;   Total PE                    2170    &lt;BR /&gt;   Free PE                     170     &lt;BR /&gt;&lt;BR /&gt;It shows Total PE's are 2170, why aren't there 2170 total PE's on the drive (c2t11d0) I'm trying to mirror to?&lt;BR /&gt;&lt;BR /&gt;Any help would be greatly appreciate.</description>
      <pubDate>Thu, 08 Nov 2001 19:56:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-drive/m-p/2610259#M35951</guid>
      <dc:creator>Glenn Mitchell_4</dc:creator>
      <dc:date>2001-11-08T19:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: mirroring root drive</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-drive/m-p/2610260#M35952</link>
      <description>Hi Glenn:&lt;BR /&gt;&lt;BR /&gt;You have discovered an LVM feature. You are limited to the number of Physical Extents/Drive that were allocated when the Volume Group was created. If you had started with the 9GB drive there would have been no problem. Your could do a make tape recovery and recreate your system or load from scratch on your 9GB drive and then mirror. Ideally, you would mirror to identical disks but this is not necessary it just keeps you out of trouble.</description>
      <pubDate>Thu, 08 Nov 2001 20:06:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-drive/m-p/2610260#M35952</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-11-08T20:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: mirroring root drive</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-drive/m-p/2610261#M35953</link>
      <description>This is what my 9GB disk looks like with the pvdisplay command:&lt;BR /&gt;&lt;BR /&gt;PV Name                     /dev/dsk/c0t9d0&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                      8      &lt;BR /&gt;PE Size (Mbytes)            4               &lt;BR /&gt;Total PE                    2169    &lt;BR /&gt;Free PE                     845     &lt;BR /&gt;Allocated PE                1324        &lt;BR /&gt;Stale PE                    0       &lt;BR /&gt;IO Timeout (Seconds)        default             &lt;BR /&gt;Autoswitch                  On   &lt;BR /&gt;&lt;BR /&gt;What does yours show?&lt;BR /&gt;C</description>
      <pubDate>Thu, 08 Nov 2001 20:11:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-drive/m-p/2610261#M35953</guid>
      <dc:creator>Craig Rants</dc:creator>
      <dc:date>2001-11-08T20:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: mirroring root drive</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-drive/m-p/2610262#M35954</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I suppose you created vg00 with a 4 GB drive and now you are trying to add a 9Gb drive. &lt;BR /&gt;When you created vg00 you set a MAX PE in the vg00 volume group. can you give us the complete output of &lt;BR /&gt;&lt;BR /&gt;vgdisplay -v vg00&lt;BR /&gt;&lt;BR /&gt;Gideon</description>
      <pubDate>Thu, 08 Nov 2001 20:11:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-drive/m-p/2610262#M35954</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2001-11-08T20:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: mirroring root drive</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-drive/m-p/2610263#M35955</link>
      <description>Hi Glenn:&lt;BR /&gt;&lt;BR /&gt;This error indicates that the new disk has a larger number of physical extents than the value of 'max_pe' (see "man vgcreate" that was set or chosen when the volume group was originally created.&lt;BR /&gt;&lt;BR /&gt;If you do a 'vgdisplay /dev/vg00' and look at the "Max PE per PV" value you will see it is 2000 in your case.  This is the limit, and your new disk exceeds this number of PE.&lt;BR /&gt;&lt;BR /&gt;Your new disk has probably been added to the volume group, but you will not be able to utilize extents on it that exist beyond the original volume group limit of 2000.&lt;BR /&gt;&lt;BR /&gt;Unfortunately, the only way to alter parameters like 'max_pe' is to recreate the volume group from scratch, which for vg00, would mean an Ignite cold-install as the safest, sane approach.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 08 Nov 2001 20:15:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-drive/m-p/2610263#M35955</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-11-08T20:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: mirroring root drive</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-drive/m-p/2610264#M35956</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you add a disk to volume group it must be of equal size or smaller. You cannot add a 9Gb to a VG that was created with a 4GB. When a VG is constructed is is built around the 4Gb disk. &lt;BR /&gt;&lt;BR /&gt;-Michael</description>
      <pubDate>Thu, 08 Nov 2001 22:26:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-drive/m-p/2610264#M35956</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2001-11-08T22:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: mirroring root drive</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-drive/m-p/2610265#M35957</link>
      <description>Thanks for the responses. I understand why I can't create this mirror now.  What is the easiest way to undo what's been done, ie; remove this disk from /etc/lvmtab and it's association to my root drive?&lt;BR /&gt;&lt;BR /&gt;henrcc # strings /etc/lvmtab&lt;BR /&gt;/dev/vg02&lt;BR /&gt;/dev/dsk/c2t8d0&lt;BR /&gt;/dev/dsk/c2t12d0&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/dsk/c0t5d0&lt;BR /&gt;/dev/dsk/c2t11d0 - NEED TO REMOVE THIS!&lt;BR /&gt;/dev/vg01&lt;BR /&gt;/dev/dsk/c0t6d0&lt;BR /&gt;/dev/dsk/c2t15d0&lt;BR /&gt;/dev/vg03&lt;BR /&gt;/dev/dsk/c2t9d0&lt;BR /&gt;/dev/dsk/c2t13d0</description>
      <pubDate>Fri, 09 Nov 2001 15:21:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-drive/m-p/2610265#M35957</guid>
      <dc:creator>Glenn Mitchell_4</dc:creator>
      <dc:date>2001-11-09T15:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: mirroring root drive</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-drive/m-p/2610266#M35958</link>
      <description>Hi Glenn:&lt;BR /&gt;&lt;BR /&gt;If you have already mirrored (do an lvdisplay to find out) any logical volumes. You need to do an lvreduce -m 0 /dev/vg00/lvoln /dev/dsk/c2t11d0 for lvol.&lt;BR /&gt;Then do a vgreduce /dev/vg00 /dev/dsk/c2t11d0.&lt;BR /&gt;&lt;BR /&gt;Man lvreduce and vgreduce for details before your do this.&lt;BR /&gt;&lt;BR /&gt;Clay</description>
      <pubDate>Fri, 09 Nov 2001 15:33:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-drive/m-p/2610266#M35958</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-11-09T15:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: mirroring root drive</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-drive/m-p/2610267#M35959</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;vgreduce vg00&lt;BR /&gt;should remove unused disk(s) from the volum group&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Thierry</description>
      <pubDate>Fri, 09 Nov 2001 15:38:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-root-drive/m-p/2610267#M35959</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2001-11-09T15:38:16Z</dc:date>
    </item>
  </channel>
</rss>

