<?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 Mirror OS in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-os/m-p/3434338#M206306</link>
    <description>I have an L2000 server with HP-UX 11.0 installed.  Last week I was in the process of upgrading my OS to HP-UX 11.i when I ran into a lv size problem.  I have two hard drives in my server and they were mirrored.  Prior to starting the upgrade I broke the mirror and then booted on the second drive.  When I found that I wasn't able to finish the install I booted the server on the first drive.&lt;BR /&gt;I was told that the next time that I will be able to do the upgrade the server will be in the middle of January.  &lt;BR /&gt;I need to re-mirror my drives and don't know how to do that.  Could someone give me the steps to perform the task?  Can I mirror the drives without having to boot my server?&lt;BR /&gt;Thanks for the help.</description>
    <pubDate>Wed, 01 Dec 2004 14:21:37 GMT</pubDate>
    <dc:creator>Jeffrey F. Goldsmith</dc:creator>
    <dc:date>2004-12-01T14:21:37Z</dc:date>
    <item>
      <title>Mirror OS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-os/m-p/3434338#M206306</link>
      <description>I have an L2000 server with HP-UX 11.0 installed.  Last week I was in the process of upgrading my OS to HP-UX 11.i when I ran into a lv size problem.  I have two hard drives in my server and they were mirrored.  Prior to starting the upgrade I broke the mirror and then booted on the second drive.  When I found that I wasn't able to finish the install I booted the server on the first drive.&lt;BR /&gt;I was told that the next time that I will be able to do the upgrade the server will be in the middle of January.  &lt;BR /&gt;I need to re-mirror my drives and don't know how to do that.  Could someone give me the steps to perform the task?  Can I mirror the drives without having to boot my server?&lt;BR /&gt;Thanks for the help.</description>
      <pubDate>Wed, 01 Dec 2004 14:21:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-os/m-p/3434338#M206306</guid>
      <dc:creator>Jeffrey F. Goldsmith</dc:creator>
      <dc:date>2004-12-01T14:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror OS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-os/m-p/3434339#M206307</link>
      <description>It's just the same as when you originally mirrored it - the pvcreate will destroy the LVM structures left behind by the install:&lt;BR /&gt;&lt;BR /&gt;The steps to mirror your boot volume are:&lt;BR /&gt;&lt;BR /&gt;1. Create a physical volume with a boot reserved area&lt;BR /&gt;"pvcreate -B /dev/rdsk/c1t6d0"&lt;BR /&gt;&lt;BR /&gt;2. Add the physical volume to the root VG&lt;BR /&gt;"vgextend /dev/vg00 /dev/dsk/c1t6d0"&lt;BR /&gt;&lt;BR /&gt;3. Use mkboot to place the boot utilities in the boot area and add the AUTO file&lt;BR /&gt;"mkboot /dev/rdsk/c1t6d0"&lt;BR /&gt;"mkboot -a "hpux -lq" /dev/rdsk/c1t6d0"&lt;BR /&gt;&lt;BR /&gt;4. Use mkboot to update the AUTO file on the primary boot disk&lt;BR /&gt;"mkboot -a "hpux -lq" /dev/rdsk/c0t6d0"&lt;BR /&gt;&lt;BR /&gt;5. Mirror the stand, root and swap logical volumes&lt;BR /&gt;"lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t6d0"&lt;BR /&gt;"lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c1t6d0"&lt;BR /&gt;"lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c1t6d0"&lt;BR /&gt;Repeat for other lvols&lt;BR /&gt;&lt;BR /&gt;6. Modify your alternate boot path&lt;BR /&gt;"setboot -a 8/8.6.0 # use the path of your new boot disk"&lt;BR /&gt;&lt;BR /&gt;7. Edit /stand/bootconf and add your new mirrored boot disk.&lt;BR /&gt;&lt;BR /&gt;That's all there is to it.  You may notice that I left out any lvlnboot commands&lt;BR /&gt;. That is because they are not necessary - see the man page:&lt;BR /&gt;&lt;BR /&gt;"This command should be run in recovery mode (-R) whenever the configuration of&lt;BR /&gt;the root volume group is affected by one of the following commands: lvextend, lv&lt;BR /&gt;merge, lvreduce, lvsplit, pvmove, lvremove, vgextend, or vgreduce (see lvextend(&lt;BR /&gt;1M), lvmerge(1M), lvreduce(1M), lvsplit(1M), pvmove(1M), lvremove(1M), vgextend(&lt;BR /&gt;1M), and vgreduce(1M)). Starting with HP-UX Release 10.0, this is done automatic&lt;BR /&gt;ally."&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 01 Dec 2004 14:25:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-os/m-p/3434339#M206307</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-12-01T14:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror OS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-os/m-p/3434340#M206308</link>
      <description>Just to add to Petes reply.&lt;BR /&gt;&lt;BR /&gt;It is imperative that lvol1, lvol2 &amp;amp; lvol3 are mirrored in the correct order (as above) otherwise the system may not boot.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Wed, 01 Dec 2004 14:50:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-os/m-p/3434340#M206308</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2004-12-01T14:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror OS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-os/m-p/3434341#M206309</link>
      <description>Pete, I took the information you gave me and made the changes to reflect my system.  I am attaching a doc so that you can look it over to see if I made the correct changes.  The only thing I don't understand is #6.  I am also giving a copy of my /stand/bootconf.  Also, what do you mean about running this command in recovery mode?</description>
      <pubDate>Wed, 01 Dec 2004 15:03:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-os/m-p/3434341#M206309</guid>
      <dc:creator>Jeffrey F. Goldsmith</dc:creator>
      <dc:date>2004-12-01T15:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror OS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-os/m-p/3434342#M206310</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;could you also post &lt;BR /&gt;&lt;BR /&gt;vgdisplay -v vg00&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Wed, 01 Dec 2004 15:08:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-os/m-p/3434342#M206310</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2004-12-01T15:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror OS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-os/m-p/3434343#M206311</link>
      <description>Jeffery,&lt;BR /&gt;&lt;BR /&gt;I couldn't open your attachment, but I'm sure if all you did was change devices to fit your disk drive situation, it will be fine.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Step # 6 alters your alternate boot path to point to the new mirror.  That way, if the primary fails, a re-boot should automatically go to the mirror, assuming autoboot and autosearch are enabled.&lt;BR /&gt;&lt;BR /&gt;The mention of recovery mood is from the man page for lvnboot.  People tend to include a lvlnboot step in their mirroring instructions, but it's not necessary and I was just quoting the lvlnboot man page to show that isn't required.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Dec 2004 15:09:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-os/m-p/3434343#M206311</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-12-01T15:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror OS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-os/m-p/3434344#M206312</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;to the /stand/bootconf add&lt;BR /&gt;l /dev/dsk/c2t2d0.&lt;BR /&gt;&lt;BR /&gt;The lvlnbot command is to ensure it is possible to boot form both disks.&lt;BR /&gt;&lt;BR /&gt;lvlnboot -Rv&lt;BR /&gt;(please post out put too)&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Wed, 01 Dec 2004 15:10:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-os/m-p/3434344#M206312</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2004-12-01T15:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror OS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-os/m-p/3434345#M206313</link>
      <description>Jeffery,&lt;BR /&gt;&lt;BR /&gt;OK, I managed to open the attachment.  It looks good to me except you've skipped lvol2 in the lvextend steps - probably because it's swap and you didn't notice it.  It's import that lvol1, 2, and 3 be mirrored in exactly that order.&lt;BR /&gt;&lt;BR /&gt;Your /stand/bootconf should also have your /dev/dsk/c2t2d0 listed in it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Dec 2004 15:13:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-os/m-p/3434345#M206313</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-12-01T15:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror OS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-os/m-p/3434346#M206314</link>
      <description>Hmmm.&lt;BR /&gt;&lt;BR /&gt;As Pete (&amp;amp; I) pointed out it is important to mirror lvols1,2,3 in that order.  You will need to lvreduce lvol's 3-8 &amp;amp; re-mirror.  DONT just try &amp;amp; mirror lvol2.&lt;BR /&gt;&lt;BR /&gt;The only "special" thing that "could" be done with lvol2 to improve performance (well do less writing) is to turn off mirror write cache consistency (lvchange -M n /dev/vg00/lvol2), but I'm not sure that this is really such a great idea...&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Wed, 01 Dec 2004 15:19:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-os/m-p/3434346#M206314</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2004-12-01T15:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror OS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-os/m-p/3434347#M206315</link>
      <description>Here is the vgdisplay that was requested:&lt;BR /&gt;&lt;BR /&gt;root: / ==&amp;gt; vgdisplay -v vg00&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vg00&lt;BR /&gt;VG Write Access             read/write     &lt;BR /&gt;VG Status                   available                 &lt;BR /&gt;Max LV                      255    &lt;BR /&gt;Cur LV                      10     &lt;BR /&gt;Open LV                     10     &lt;BR /&gt;Max PV                      16     &lt;BR /&gt;Cur PV                      1      &lt;BR /&gt;Act PV                      1      &lt;BR /&gt;Max PE per PV               2500         &lt;BR /&gt;VGDA                        2   &lt;BR /&gt;PE Size (Mbytes)            4               &lt;BR /&gt;Total PE                    2169    &lt;BR /&gt;Alloc PE                    2107    &lt;BR /&gt;Free PE                     62      &lt;BR /&gt;Total PVG                   0        &lt;BR /&gt;Total Spare PVs             0              &lt;BR /&gt;Total Spare PVs in use      0                     &lt;BR /&gt;&lt;BR /&gt;   --- Logical volumes ---&lt;BR /&gt;   LV Name                     /dev/vg00/lvol1&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            180             &lt;BR /&gt;   Current LE                  45        &lt;BR /&gt;   Allocated PE                45          &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol2&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            1024            &lt;BR /&gt;   Current LE                  256       &lt;BR /&gt;   Allocated PE                256         &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol3&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            200             &lt;BR /&gt;   Current LE                  50        &lt;BR /&gt;   Allocated PE                50          &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/swap01&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            1024            &lt;BR /&gt;   Current LE                  256       &lt;BR /&gt;   Allocated PE                256         &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol4&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            600             &lt;BR /&gt;   Current LE                  150       &lt;BR /&gt;   Allocated PE                150         &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol5&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            400             &lt;BR /&gt;   Current LE                  100       &lt;BR /&gt;   Allocated PE                100         &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol6&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            1000            &lt;BR /&gt;   Current LE                  250       &lt;BR /&gt;   Allocated PE                250         &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol7&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            1300            &lt;BR /&gt;   Current LE                  325       &lt;BR /&gt;   Allocated PE                325         &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol8&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            2400            &lt;BR /&gt;   Current LE                  600       &lt;BR /&gt;   Allocated PE                600         &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lpreq&lt;BR /&gt;   LV Status                   available/syncd           &lt;BR /&gt;   LV Size (Mbytes)            300             &lt;BR /&gt;   Current LE                  75        &lt;BR /&gt;   Allocated PE                75          &lt;BR /&gt;   Used PV                     1       &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   --- Physical volumes ---&lt;BR /&gt;   PV Name                     /dev/dsk/c1t2d0&lt;BR /&gt;   PV Status                   available                &lt;BR /&gt;   Total PE                    2169    &lt;BR /&gt;   Free PE                     62      &lt;BR /&gt;   Autoswitch                  On        &lt;BR /&gt;</description>
      <pubDate>Wed, 01 Dec 2004 17:25:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-os/m-p/3434347#M206315</guid>
      <dc:creator>Jeffrey F. Goldsmith</dc:creator>
      <dc:date>2004-12-01T17:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror OS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-os/m-p/3434348#M206316</link>
      <description>I also did an ioscan to get the path needed for step #6.  Is this the correct way to do this step?&lt;BR /&gt;&lt;BR /&gt;setboot -a 0/0/1/1.2.0 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;root: /home ==&amp;gt; ioscan -fnC disk&lt;BR /&gt;Class     I  H/W Path     Driver S/W State   H/W Type     Description&lt;BR /&gt;=====================================================================&lt;BR /&gt;disk      0  0/0/1/1.2.0  sdisk CLAIMED     DEVICE       IBM     DMVS09D&lt;BR /&gt;                         /dev/dsk/c1t2d0   /dev/rdsk/c1t2d0&lt;BR /&gt;disk      1  0/0/2/0.2.0  sdisk CLAIMED     DEVICE       IBM     DMVS09D&lt;BR /&gt;                         /dev/dsk/c2t2d0   /dev/rdsk/c2t2d0&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Dec 2004 17:31:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-os/m-p/3434348#M206316</guid>
      <dc:creator>Jeffrey F. Goldsmith</dc:creator>
      <dc:date>2004-12-01T17:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror OS</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirror-os/m-p/3434349#M206317</link>
      <description>Jeffrey F. Goldsmith&lt;BR /&gt;If you set it Correctly. It look like:&lt;BR /&gt;===========================================&lt;BR /&gt;[trn0:/] lvlnboot -v&lt;BR /&gt;Boot Definitions for Volume Group /dev/vg00:&lt;BR /&gt;Physical Volumes belonging in Root Volume Group:&lt;BR /&gt;        /dev/dsk/c2t0d0 (0/0/2/0.0.0) -- Boot Disk&lt;BR /&gt;        /dev/dsk/c1t2d0 (0/0/1/1.2.0) -- Boot Disk&lt;BR /&gt;Boot: lvol1     on:     /dev/dsk/c2t0d0&lt;BR /&gt;                        /dev/dsk/c1t2d0&lt;BR /&gt;Root: lvol3     on:     /dev/dsk/c2t0d0&lt;BR /&gt;                        /dev/dsk/c1t2d0&lt;BR /&gt;Swap: lvol2     on:     /dev/dsk/c2t0d0&lt;BR /&gt;                        /dev/dsk/c1t2d0&lt;BR /&gt;Dump: lvol2     on:     /dev/dsk/c2t0d0, 0&lt;BR /&gt;============================================&lt;BR /&gt;If it doesn't, do as Pete Randall saying &lt;BR /&gt;and type 3 commands more&lt;BR /&gt;#lvlnboot -r lvol1 /dev/vg00 &lt;BR /&gt;#lvlnboot -s lvol2 /dev/vg00&lt;BR /&gt;#lvlnboot -b lvol1 /dev/vg00 &lt;BR /&gt;</description>
      <pubDate>Wed, 01 Dec 2004 20:25:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirror-os/m-p/3434349#M206317</guid>
      <dc:creator>Nguyen Anh Tien</dc:creator>
      <dc:date>2004-12-01T20:25:04Z</dc:date>
    </item>
  </channel>
</rss>

