<?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: Extending Mirror L2000 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirror-l2000/m-p/3107548#M905421</link>
    <description>Grace,&lt;BR /&gt;&lt;BR /&gt;1.  mkdir /dev/vg00&lt;BR /&gt;2.  mknod /dev/vg02/group c 64 0x020000&lt;BR /&gt;3.  pvcreate /dev/rdsk/&lt;NEW disk=""&gt;&lt;BR /&gt;4.  vgcreate -s 2 /dev/vg02 /dev/dsk/&lt;NEW disk=""&gt;&lt;BR /&gt;5.  lvcreate /dev/vg02&lt;BR /&gt;6.  newfs &lt;OPTIONS&gt; /dev/vg02/rlvol1&lt;BR /&gt;7.  Copy the contents of the existing vg01 to vg02 using backup/restore or cpio&lt;BR /&gt;8.  vgexport vg01 (no preview, no mapfile, we're destroying it)&lt;BR /&gt;9.  Use vgextend to extend vg02 onto the disks that used to be in vg01&lt;BR /&gt;10  Use lvextend to create the mirror(s) on the just added disks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/OPTIONS&gt;&lt;/NEW&gt;&lt;/NEW&gt;</description>
    <pubDate>Fri, 31 Oct 2003 12:28:57 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2003-10-31T12:28:57Z</dc:date>
    <item>
      <title>Extending Mirror L2000</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirror-l2000/m-p/3107544#M905417</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;Thank you for reading this at present I have 2 x 18 Gig Disks, which are mirrored to volume group vg01. What I want to achieve is to add a third disk to this mirror, which is 36 Gig in size.&lt;BR /&gt;&lt;BR /&gt;I am a bit confused on how I would go about this because my first thought was to:&lt;BR /&gt;&lt;BR /&gt;1. pvcreate  &lt;NEW disk=""&gt;&lt;BR /&gt;2. vgextend /dev/vg01 /dev/dsk/&lt;NEW disk=""&gt;&lt;BR /&gt;3. lvextend -m 2 /dev/vg00/lvol6 /dev/dsk/&lt;NEW disk=""&gt;&lt;BR /&gt;&lt;BR /&gt;But I have been told I need to export the 18Gig to the new disk can anyone please advise me on the correct way to achieve this.&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;Grace&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;O/P from lvdisplay &lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vg01/lvol12&lt;BR /&gt;VG Name                     /dev/vg01&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)            17360           &lt;BR /&gt;Current LE                  4340      &lt;BR /&gt;Allocated PE                8680        &lt;BR /&gt;Stripes                     0       &lt;BR /&gt;Stripe Size (Kbytes)        0                   &lt;BR /&gt;Bad block                   on           &lt;BR /&gt;Allocation                  PVG-strict                &lt;BR /&gt;IO Timeout (Seconds)        default             &lt;BR /&gt;&lt;BR /&gt;   --- Distribution of logical volume ---&lt;BR /&gt;   PV Name            LE on PV  PE on PV  &lt;BR /&gt;   /dev/dsk/c5t9d0    4340      4340      &lt;BR /&gt;   /dev/dsk/c7t9d0    4340      4340      &lt;BR /&gt;&lt;BR /&gt;   --- Logical extents ---&lt;BR /&gt;   LE    PV1                PE1   Status 1 PV2                PE2   Status 2 &lt;BR /&gt;   00000 /dev/dsk/c5t9d0    00000 current  /dev/dsk/c7t9d0    00000 current  &lt;BR /&gt;   00001 /dev/dsk/c5t9d0    00001 current  /dev/dsk/c7t9d0    00001 current  &lt;BR /&gt;   00002 /dev/dsk/c5t9d0    00002 current  /dev/dsk/c7t9d0    00002 current  &lt;BR /&gt;&lt;BR /&gt;&lt;/NEW&gt;&lt;/NEW&gt;&lt;/NEW&gt;</description>
      <pubDate>Fri, 31 Oct 2003 11:44:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirror-l2000/m-p/3107544#M905417</guid>
      <dc:creator>grace white</dc:creator>
      <dc:date>2003-10-31T11:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Extending Mirror L2000</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirror-l2000/m-p/3107545#M905418</link>
      <description>Grace,&lt;BR /&gt;&lt;BR /&gt;At the risk of repeating myself from your last posting, I'll say again:  the PE size of the VG won't allow full utilization of the new 36GB drive.&lt;BR /&gt;&lt;BR /&gt;The easiest way to do this will be to create a new VG on the 36GB disk, copy the contents of vg01 into the new VG, destroy vg01 (you can just vgextport it), then add the two 18GB disks into the new vg and then lvextend the mirror(s) onto the newly added disks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 31 Oct 2003 12:10:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirror-l2000/m-p/3107545#M905418</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-10-31T12:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Extending Mirror L2000</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirror-l2000/m-p/3107546#M905419</link>
      <description>I have got what you say there but how do i do this as i am not sure about.&lt;BR /&gt;&lt;BR /&gt;Do i simple just do as followed :-&lt;BR /&gt;&lt;BR /&gt;1. pvcreate /dev/rdsk/&lt;NEW disk=""&gt;&lt;BR /&gt;2. vgchange -a n /dev/vg01&lt;BR /&gt;3. vgexport -p -m mapfile vg01&lt;BR /&gt;4. vgexport -m mapfile vg01&lt;BR /&gt;5. vgimport -p -v -m mapfile /dev/dsk/cxtydz /dev/dsk/&lt;NEW disk=""&gt;&lt;BR /&gt;&lt;BR /&gt;then simply just do a lvextend -m 2 /dev/vg00/lvol6 /dev/dsk/&lt;BR /&gt;&lt;BR /&gt;This is where i am not sure&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;Grace&lt;/NEW&gt;&lt;/NEW&gt;</description>
      <pubDate>Fri, 31 Oct 2003 12:17:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirror-l2000/m-p/3107546#M905419</guid>
      <dc:creator>grace white</dc:creator>
      <dc:date>2003-10-31T12:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Extending Mirror L2000</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirror-l2000/m-p/3107547#M905420</link>
      <description>If you have resolved the issue Pete points out, your procedure is correct.&lt;BR /&gt;&lt;BR /&gt;Try it.&lt;BR /&gt;&lt;BR /&gt;A second mirror copy will not really help performance at all. It helps reliability to the  extent that you're on a different disk, but almost always 1 copy is enough.&lt;BR /&gt;&lt;BR /&gt;Seems its time to try it.&lt;BR /&gt;&lt;BR /&gt;Nothing you have posted is dangerous.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 31 Oct 2003 12:28:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirror-l2000/m-p/3107547#M905420</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-10-31T12:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Extending Mirror L2000</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirror-l2000/m-p/3107548#M905421</link>
      <description>Grace,&lt;BR /&gt;&lt;BR /&gt;1.  mkdir /dev/vg00&lt;BR /&gt;2.  mknod /dev/vg02/group c 64 0x020000&lt;BR /&gt;3.  pvcreate /dev/rdsk/&lt;NEW disk=""&gt;&lt;BR /&gt;4.  vgcreate -s 2 /dev/vg02 /dev/dsk/&lt;NEW disk=""&gt;&lt;BR /&gt;5.  lvcreate /dev/vg02&lt;BR /&gt;6.  newfs &lt;OPTIONS&gt; /dev/vg02/rlvol1&lt;BR /&gt;7.  Copy the contents of the existing vg01 to vg02 using backup/restore or cpio&lt;BR /&gt;8.  vgexport vg01 (no preview, no mapfile, we're destroying it)&lt;BR /&gt;9.  Use vgextend to extend vg02 onto the disks that used to be in vg01&lt;BR /&gt;10  Use lvextend to create the mirror(s) on the just added disks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/OPTIONS&gt;&lt;/NEW&gt;&lt;/NEW&gt;</description>
      <pubDate>Fri, 31 Oct 2003 12:28:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirror-l2000/m-p/3107548#M905421</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-10-31T12:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Extending Mirror L2000</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirror-l2000/m-p/3107549#M905422</link>
      <description>Thanks &lt;BR /&gt;&lt;BR /&gt;Guys i am about to issue this in production next Thursday so that has been a great help.&lt;BR /&gt;&lt;BR /&gt;Grace</description>
      <pubDate>Fri, 31 Oct 2003 12:30:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirror-l2000/m-p/3107549#M905422</guid>
      <dc:creator>grace white</dc:creator>
      <dc:date>2003-10-31T12:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Extending Mirror L2000</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirror-l2000/m-p/3107550#M905423</link>
      <description>A small correction and a couple of additional steps you'll need.&lt;BR /&gt;In Step 1, that should be vg02.  You likely already have a vg00 for your operating system.  That mkdir as written should just generate an error.&lt;BR /&gt;&lt;BR /&gt;Between Steps 6 and 7, you will need to create a temporary mount point and mount the new file system you have just created.  Then you can copy all of your data over to the new file system.&lt;BR /&gt;After the copy is completed you can unmount the opiginal and new file systems.  Then mount the new file system on the original mount point.  That way all paths remain the same.&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Nov 2003 10:34:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extending-mirror-l2000/m-p/3107550#M905423</guid>
      <dc:creator>Dave Wherry</dc:creator>
      <dc:date>2003-11-03T10:34:07Z</dc:date>
    </item>
  </channel>
</rss>

