<?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 boot disk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-boot-disk/m-p/2494084#M637262</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;One thing to note about boot disk mirroring is that mirroring does not prevent data corruption if both the boot disk and its mirror are always in sync. In this case, mirroring simply increases the availability of your hardware storage.&lt;BR /&gt;&lt;BR /&gt;For me, I create 2 mirror copies instead of one, with the first copy always in sync with the boot disk while the second copy lvsplit'ed away most of the time and only lvmerged occasionally.&lt;BR /&gt;&lt;BR /&gt;The first copy protects storage availability while the second copy protects against boot disk data corruption. So, even if someone accidentally erases data off the boot disk and its first mirror copy and render both the boot disk and its first mirror copy useless, I can always boot up using the second mirror copy which is not in sync with the boot disk but at the very least bootable.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong&lt;BR /&gt;Brainbench MVP for Unix Admin&lt;BR /&gt;&lt;A href="http://www.brainbench.com" target="_blank"&gt;http://www.brainbench.com&lt;/A&gt;</description>
    <pubDate>Thu, 15 Feb 2001 14:39:47 GMT</pubDate>
    <dc:creator>Steven Sim Kok Leong</dc:creator>
    <dc:date>2001-02-15T14:39:47Z</dc:date>
    <item>
      <title>Mirroring boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-boot-disk/m-p/2494077#M637255</link>
      <description>Hi&lt;BR /&gt;   I want to mirror my boot disk . Does the new disk need to be a bootable disk or can I just pvcreate then vgextend onto that disk.&lt;BR /&gt;&lt;BR /&gt;thanks in advance&lt;BR /&gt;Praveen</description>
      <pubDate>Thu, 15 Feb 2001 08:57:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-boot-disk/m-p/2494077#M637255</guid>
      <dc:creator>Praveen Bezawada</dc:creator>
      <dc:date>2001-02-15T08:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-boot-disk/m-p/2494078#M637256</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Yes, you will need to make it bootable and put the lvln areas.&lt;BR /&gt;&lt;BR /&gt;pvcreate -B /dev/rdsk/(device)&lt;BR /&gt;mkboot /dev/dsk/(device) (this will do dump, boot and root areas)&lt;BR /&gt;&lt;BR /&gt;lvextend -m 1 /dev/vgxx/lvolx&lt;BR /&gt;&lt;BR /&gt;Th -m is the number of mirror copies, and you must do it for lvol1 to lvoln&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;MND</description>
      <pubDate>Thu, 15 Feb 2001 09:08:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-boot-disk/m-p/2494078#M637256</guid>
      <dc:creator>Russell Davy</dc:creator>
      <dc:date>2001-02-15T09:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-boot-disk/m-p/2494079#M637257</link>
      <description>Go read the manual at &lt;A href="http://www.docs.hp.com" target="_blank"&gt;http://www.docs.hp.com&lt;/A&gt;&lt;BR /&gt;specifically:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/hpux/onlinedocs/B2355-90701/B2355-90701.html" target="_blank"&gt;http://www.docs.hp.com/hpux/onlinedocs/B2355-90701/B2355-90701.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Read the section:&lt;BR /&gt;Mirroring Root, Boot, and Primary Swap Logical Volumes &lt;BR /&gt;&lt;BR /&gt;This gives you step by step instructions.&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Feb 2001 09:10:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-boot-disk/m-p/2494079#M637257</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2001-02-15T09:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-boot-disk/m-p/2494080#M637258</link>
      <description>Hi Russell&lt;BR /&gt;   DO i have to vgextend after mkboot</description>
      <pubDate>Thu, 15 Feb 2001 09:19:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-boot-disk/m-p/2494080#M637258</guid>
      <dc:creator>Praveen Bezawada</dc:creator>
      <dc:date>2001-02-15T09:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-boot-disk/m-p/2494081#M637259</link>
      <description>Oops, yeah!&lt;BR /&gt;&lt;BR /&gt;the pvcreate -B will make the PV bootable then extend the VG with vgextend /dev/vgxx /dev/dsk/(second device)&lt;BR /&gt;&lt;BR /&gt;the important part of this is to do the boot, root and swap areas first:&lt;BR /&gt;lvol1 (/stand)&lt;BR /&gt;lvol2 (swap/dump)&lt;BR /&gt;lvol3 (/)&lt;BR /&gt;&lt;BR /&gt;Then the rest.&lt;BR /&gt;MND</description>
      <pubDate>Thu, 15 Feb 2001 09:45:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-boot-disk/m-p/2494081#M637259</guid>
      <dc:creator>Russell Davy</dc:creator>
      <dc:date>2001-02-15T09:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-boot-disk/m-p/2494082#M637260</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;just for making the mirroring proccess simpler i put you a script at the attachment.&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Thu, 15 Feb 2001 10:50:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-boot-disk/m-p/2494082#M637260</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2001-02-15T10:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-boot-disk/m-p/2494083#M637261</link>
      <description>Hi !&lt;BR /&gt;I make it the next steps &amp;gt;&lt;BR /&gt;&lt;BR /&gt;#pvcreate -B /dev/rdsk/device&lt;BR /&gt;#vgextend vg00 /dev/dsk/device&lt;BR /&gt;#mkboot /dev/rdsk/device&lt;BR /&gt;#mkboot -a "hpux -lq(;0)/stand/vmunix" /dev/rdsk/device&lt;BR /&gt;#for i in $(ls /dev/vg00/lv*)&lt;BR /&gt;&amp;gt;do&lt;BR /&gt;&amp;gt;lvextend -m 1 /dev/dsk/device&lt;BR /&gt;&amp;gt;done&lt;BR /&gt;&lt;BR /&gt;regards, Saa</description>
      <pubDate>Thu, 15 Feb 2001 14:28:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-boot-disk/m-p/2494083#M637261</guid>
      <dc:creator>Sandor Horvath_2</dc:creator>
      <dc:date>2001-02-15T14:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-boot-disk/m-p/2494084#M637262</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;One thing to note about boot disk mirroring is that mirroring does not prevent data corruption if both the boot disk and its mirror are always in sync. In this case, mirroring simply increases the availability of your hardware storage.&lt;BR /&gt;&lt;BR /&gt;For me, I create 2 mirror copies instead of one, with the first copy always in sync with the boot disk while the second copy lvsplit'ed away most of the time and only lvmerged occasionally.&lt;BR /&gt;&lt;BR /&gt;The first copy protects storage availability while the second copy protects against boot disk data corruption. So, even if someone accidentally erases data off the boot disk and its first mirror copy and render both the boot disk and its first mirror copy useless, I can always boot up using the second mirror copy which is not in sync with the boot disk but at the very least bootable.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong&lt;BR /&gt;Brainbench MVP for Unix Admin&lt;BR /&gt;&lt;A href="http://www.brainbench.com" target="_blank"&gt;http://www.brainbench.com&lt;/A&gt;</description>
      <pubDate>Thu, 15 Feb 2001 14:39:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-boot-disk/m-p/2494084#M637262</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2001-02-15T14:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-boot-disk/m-p/2494085#M637263</link>
      <description>Thanks to Sandor Horvath for this script. I realize this is almost a year old but it was helpful to me.  I do have one small addition to make after trying to use it and getting an error - you need a "$i" in the lvextend command as follows: &lt;BR /&gt;&lt;BR /&gt;lvextend -m 1 $i /dev/dsk/device &lt;BR /&gt;&lt;BR /&gt;It might also be helpful to others if you point out that the word "device" has to be replaced by a disk address like "c2t2d0" which can be found by doing the command, "ioscan -fnCdisk" and correlating that with an unused disk the same size as vg00.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Steve Tucker</description>
      <pubDate>Mon, 09 Sep 2002 19:28:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-boot-disk/m-p/2494085#M637263</guid>
      <dc:creator>Steve Tucker</dc:creator>
      <dc:date>2002-09-09T19:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring boot disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-boot-disk/m-p/2494086#M637264</link>
      <description>At the end don't forget to update the BDRA . Do&lt;BR /&gt;#lvlnboot -R&lt;BR /&gt;&lt;BR /&gt;And then verify&lt;BR /&gt;#lvlnboot -v&lt;BR /&gt;&lt;BR /&gt;Ash</description>
      <pubDate>Mon, 09 Sep 2002 19:41:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring-boot-disk/m-p/2494086#M637264</guid>
      <dc:creator>Ashwani Kashyap</dc:creator>
      <dc:date>2002-09-09T19:41:56Z</dc:date>
    </item>
  </channel>
</rss>

