<?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: Online Mirror Boot Disk Replacement Clarification in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/online-mirror-boot-disk-replacement-clarification/m-p/4964691#M618652</link>
    <description>Hi Devender,&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply. From your response regarding the boot disk, you're saying the failed boot disk should be removed/reduce from vg00 (as pvcreate will not work unless the -f is used), and then start the boot disk mirroring process from scratch?&lt;BR /&gt;&lt;BR /&gt;So what official procedure does HP support?&lt;BR /&gt;&lt;BR /&gt;As for the alternate link question you're right, I should have used "-S n". I missed it under the circumstances and late night.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Jov&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 06 Mar 2006 23:06:21 GMT</pubDate>
    <dc:creator>Jov</dc:creator>
    <dc:date>2006-03-06T23:06:21Z</dc:date>
    <item>
      <title>Online Mirror Boot Disk Replacement Clarification</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/online-mirror-boot-disk-replacement-clarification/m-p/4964687#M618648</link>
      <description>Hi Guys,&lt;BR /&gt;&lt;BR /&gt;Over the weekend I do a migration of disks from one server to another, but (pretty) sure when I was replacing the alt (secondary) boot disk to mirror vg00 I was not able to succesfully execute "mkboot /dev/rdsk/cXtXdx" on a new disk.&lt;BR /&gt;&lt;BR /&gt;According the some official sources, texts and forum answers, to replace a boot disk, execute the following:&lt;BR /&gt;&lt;BR /&gt;# vgcfgrestore -n /dev/vg00 /dev/rdsk/cXtXdx&lt;BR /&gt;&lt;BR /&gt;# vgchange -a y /dev/vg00  # This might or shure not be required given system is still up&lt;BR /&gt;&lt;BR /&gt;# vgsync /dev/vg00&lt;BR /&gt;&lt;BR /&gt;Now the boot disk is mirrored, update the boot block:&lt;BR /&gt;&lt;BR /&gt;# mkboot -v /dev/rdsk/cXtXdx&lt;BR /&gt;&lt;BR /&gt;# mkboot -a "hpux -lq" /dev/rdsk/cXtXdx&lt;BR /&gt;&lt;BR /&gt;The issue I recall was the above failed because the new disk did not have the boot area created with "pvcreate -B".&lt;BR /&gt;&lt;BR /&gt;Has anyone had success replacing a mirror boot disk while online with the above procedure without using "pvcreate -B"?&lt;BR /&gt;&lt;BR /&gt;If pvcreate is required, then the above procedure is invalid as most if not all new disks will not have the boot area created.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Jov</description>
      <pubDate>Sun, 05 Mar 2006 19:01:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/online-mirror-boot-disk-replacement-clarification/m-p/4964687#M618648</guid>
      <dc:creator>Jov</dc:creator>
      <dc:date>2006-03-05T19:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Online Mirror Boot Disk Replacement Clarification</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/online-mirror-boot-disk-replacement-clarification/m-p/4964688#M618649</link>
      <description>The vgcfgrestore command does the work of a pvcreate (with or without -B depending upon the vgcfgbackup image) plus additional LVM work so that no explicit pvcreate is needed. In fact, if a pvcreate is done after the vgcfgrestore then you have destroyed data.</description>
      <pubDate>Sun, 05 Mar 2006 19:49:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/online-mirror-boot-disk-replacement-clarification/m-p/4964688#M618649</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-03-05T19:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Online Mirror Boot Disk Replacement Clarification</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/online-mirror-boot-disk-replacement-clarification/m-p/4964689#M618650</link>
      <description>Hi A. Clay,&lt;BR /&gt;&lt;BR /&gt;Thanks for the quick response. I am pretty sure I did a vgcfgrestore, but can not be 100% sure given the late hours.&lt;BR /&gt;&lt;BR /&gt;I'll test it again when I get the chance.&lt;BR /&gt;&lt;BR /&gt;Since I have you attention, there is another interesting behaviour I noticed with LVM. The system was attached to a FC60 with 2 SC10, thus provided 2 LUNs (via 2 Fibre cards) to the server. Each LUN has an alternate link and the VG has for for example the follwing PV setup:&lt;BR /&gt;&lt;BR /&gt;PV1  /dev/dsk/c10t0d4&lt;BR /&gt;     /dev/dsk/c12t0d4 Altermate Link&lt;BR /&gt;&lt;BR /&gt;PV2  /dev/dsk/c10t0d0&lt;BR /&gt;     /dev/dsk/c12t0d0 Altermate Link&lt;BR /&gt;&lt;BR /&gt;I changed the PV2 with pvchange -s to use /dev/dsk/c12t0d0 (thus utilising both FCs) as the primary sucessfully, thus vgdisplay -v showed:&lt;BR /&gt;&lt;BR /&gt;PV1  /dev/dsk/c10t0d4&lt;BR /&gt;     /dev/dsk/c12t0d4 Altermate Link&lt;BR /&gt;&lt;BR /&gt;PV2  /dev/dsk/c12t0d0&lt;BR /&gt;     /dev/dsk/c10t0d0 Altermate Link&lt;BR /&gt;&lt;BR /&gt;What was interesting was this changed to back to its original state after a reboot.&lt;BR /&gt;&lt;BR /&gt;Was this be due to the fact it didn't save the pvchange or new vg state? &lt;BR /&gt;&lt;BR /&gt;I thought pvchange does an auto-backup of the change, no?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Jov</description>
      <pubDate>Sun, 05 Mar 2006 21:08:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/online-mirror-boot-disk-replacement-clarification/m-p/4964689#M618650</guid>
      <dc:creator>Jov</dc:creator>
      <dc:date>2006-03-05T21:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Online Mirror Boot Disk Replacement Clarification</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/online-mirror-boot-disk-replacement-clarification/m-p/4964690#M618651</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Allthough I do not restore the mirrored boot disks using vgcfgrestore as it is not a HP supported method of doing it for a root disk atleast, it has to be done having recreate the mirror all over again.&lt;BR /&gt;&lt;BR /&gt;For the other question, you should have been used&lt;BR /&gt;&lt;BR /&gt;#pvchange -S n /dev/dsk/c12t0d0&lt;BR /&gt;as &lt;BR /&gt;#pvchange -s /dev/dsk/c12t0d0&lt;BR /&gt;&lt;BR /&gt;Will use the other path but revert to original path.&lt;BR /&gt;&lt;BR /&gt;Just see if it works even after reboot/reactivation of the VG. To test this reboot is in fact not required. Just deactivae and activate back the VG. The behaviour should be same as will be on reboot.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Mon, 06 Mar 2006 22:13:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/online-mirror-boot-disk-replacement-clarification/m-p/4964690#M618651</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2006-03-06T22:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Online Mirror Boot Disk Replacement Clarification</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/online-mirror-boot-disk-replacement-clarification/m-p/4964691#M618652</link>
      <description>Hi Devender,&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply. From your response regarding the boot disk, you're saying the failed boot disk should be removed/reduce from vg00 (as pvcreate will not work unless the -f is used), and then start the boot disk mirroring process from scratch?&lt;BR /&gt;&lt;BR /&gt;So what official procedure does HP support?&lt;BR /&gt;&lt;BR /&gt;As for the alternate link question you're right, I should have used "-S n". I missed it under the circumstances and late night.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Jov&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Mar 2006 23:06:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/online-mirror-boot-disk-replacement-clarification/m-p/4964691#M618652</guid>
      <dc:creator>Jov</dc:creator>
      <dc:date>2006-03-06T23:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Online Mirror Boot Disk Replacement Clarification</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/online-mirror-boot-disk-replacement-clarification/m-p/4964692#M618653</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The supported method of replacing a mirrored boot disk is to reduce it from the VG, then replace and then do the complete mirroring procedure all over again.&lt;BR /&gt;&lt;BR /&gt;The same is also mentioned here in official disk replacement guide&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf" target="_blank"&gt;http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Mar 2006 04:33:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/online-mirror-boot-disk-replacement-clarification/m-p/4964692#M618653</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2006-03-08T04:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Online Mirror Boot Disk Replacement Clarification</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/online-mirror-boot-disk-replacement-clarification/m-p/4964693#M618654</link>
      <description>Hi Devender,&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply. I am aware of the PDF, but wanted to see if there was another official source.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;Jov</description>
      <pubDate>Wed, 08 Mar 2006 06:21:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/online-mirror-boot-disk-replacement-clarification/m-p/4964693#M618654</guid>
      <dc:creator>Jov</dc:creator>
      <dc:date>2006-03-08T06:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Online Mirror Boot Disk Replacement Clarification</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/online-mirror-boot-disk-replacement-clarification/m-p/4964694#M618655</link>
      <description>No more info required.</description>
      <pubDate>Wed, 08 Mar 2006 06:22:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/online-mirror-boot-disk-replacement-clarification/m-p/4964694#M618655</guid>
      <dc:creator>Jov</dc:creator>
      <dc:date>2006-03-08T06:22:12Z</dc:date>
    </item>
  </channel>
</rss>

