<?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: mirrored system disk replacement procedure question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-system-disk-replacement-procedure-question/m-p/3732178#M254697</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;vgreduce -f &lt;VGNAME&gt; &lt;DISK device=""&gt;&lt;BR /&gt;&lt;BR /&gt;May be helfpul.&lt;BR /&gt;&lt;BR /&gt;follow the instructions displayed after the command.&lt;BR /&gt;&lt;BR /&gt;then pvcreate,lvextend, etc.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/DISK&gt;&lt;/VGNAME&gt;</description>
    <pubDate>Wed, 15 Feb 2006 11:12:08 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2006-02-15T11:12:08Z</dc:date>
    <item>
      <title>mirrored system disk replacement procedure question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-system-disk-replacement-procedure-question/m-p/3732177#M254696</link>
      <description>A HP CE came onsite yesterday to replace a failing mirror system disk.&lt;BR /&gt;&lt;BR /&gt;- I was able to break the mirrors for each logical volume.&lt;BR /&gt;&lt;BR /&gt;ie.&lt;BR /&gt;lvextend -m 0 /dev/vgxx /dev/dsk/c2t2d0&lt;BR /&gt;&lt;BR /&gt;HP CE recommended that I perform the next step, vgreduce command below, due to this hot swappable mirror disk volume group, vg00, containing logical volumes with Oracle binaries in it.&lt;BR /&gt;&lt;BR /&gt;- I was not able to perform a vgreduce to remove the special device (mirror disk) from vg00 (system disk volume group).&lt;BR /&gt;&lt;BR /&gt;ie. vgreduce /dev/vg00 /dev/dsk/c2t2d0 (system mirror disk)&lt;BR /&gt;&lt;BR /&gt;From the HP "BreakMirror.txt" instructions that HP provided me, I do not need to perform a "vgreduce" for the system mirror disk.&lt;BR /&gt;&lt;BR /&gt;Please advise if breaking the logical volume mirrors is enough or do I need to also perform a "vgreduce" to reduce the system mirror disk out of the volume group.&lt;BR /&gt;&lt;BR /&gt;Thank you in advance for your assistance.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Feb 2006 11:08:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-system-disk-replacement-procedure-question/m-p/3732177#M254696</guid>
      <dc:creator>Cara Tock</dc:creator>
      <dc:date>2006-02-15T11:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: mirrored system disk replacement procedure question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-system-disk-replacement-procedure-question/m-p/3732178#M254697</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;vgreduce -f &lt;VGNAME&gt; &lt;DISK device=""&gt;&lt;BR /&gt;&lt;BR /&gt;May be helfpul.&lt;BR /&gt;&lt;BR /&gt;follow the instructions displayed after the command.&lt;BR /&gt;&lt;BR /&gt;then pvcreate,lvextend, etc.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/DISK&gt;&lt;/VGNAME&gt;</description>
      <pubDate>Wed, 15 Feb 2006 11:12:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-system-disk-replacement-procedure-question/m-p/3732178#M254697</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-02-15T11:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: mirrored system disk replacement procedure question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-system-disk-replacement-procedure-question/m-p/3732179#M254698</link>
      <description>Take a look at the software recovery handbook under the chapter 'Replacing a faild LVM disk' &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www4.itrc.hp.com/service/iv/docDisplay.do?docId=prodITRC/DE_SW_UX_swrec_EN_01_E/LVM.pdf" target="_blank"&gt;http://www4.itrc.hp.com/service/iv/docDisplay.do?docId=prodITRC/DE_SW_UX_swrec_EN_01_E/LVM.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Rainer</description>
      <pubDate>Wed, 15 Feb 2006 11:15:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-system-disk-replacement-procedure-question/m-p/3732179#M254698</guid>
      <dc:creator>Rainer von Bongartz</dc:creator>
      <dc:date>2006-02-15T11:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: mirrored system disk replacement procedure question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-system-disk-replacement-procedure-question/m-p/3732180#M254699</link>
      <description>Or take a look at this excellent doc from HP:&lt;BR /&gt;&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;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 15 Feb 2006 11:19:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-system-disk-replacement-procedure-question/m-p/3732180#M254699</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-02-15T11:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: mirrored system disk replacement procedure question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-system-disk-replacement-procedure-question/m-p/3732181#M254700</link>
      <description>Hi&lt;BR /&gt;Pls have a look this might be useful:&lt;BR /&gt;&lt;A href="http://unix.derkeiler.com/Mailing-Lists/HP-UX-Admin/2005-05/0010.html" target="_blank"&gt;http://unix.derkeiler.com/Mailing-Lists/HP-UX-Admin/2005-05/0010.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers</description>
      <pubDate>Wed, 15 Feb 2006 11:27:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-system-disk-replacement-procedure-question/m-p/3732181#M254700</guid>
      <dc:creator>Vipulinux</dc:creator>
      <dc:date>2006-02-15T11:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: mirrored system disk replacement procedure question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-system-disk-replacement-procedure-question/m-p/3732182#M254701</link>
      <description>Thank you all for your responses.&lt;BR /&gt;&lt;BR /&gt;I am reviewing all of the documentation/responses now and will be assigning points later on.</description>
      <pubDate>Wed, 15 Feb 2006 11:45:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-system-disk-replacement-procedure-question/m-p/3732182#M254701</guid>
      <dc:creator>Cara Tock</dc:creator>
      <dc:date>2006-02-15T11:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: mirrored system disk replacement procedure question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-system-disk-replacement-procedure-question/m-p/3732183#M254702</link>
      <description>Two ways to replace:&lt;BR /&gt;&lt;BR /&gt;1) If the disk is completely "dead", such as if you run ioscan and status is "no_hw" then you can hot swap the disk online.&lt;BR /&gt;&lt;BR /&gt;2) However in circumstances where the disk has not fully failed please do one of the following to avoid data corruption :&lt;BR /&gt;&lt;BR /&gt;a) reduce mirror before replacing the disk&lt;BR /&gt;b) deactivate VG before replacing the disk&lt;BR /&gt;c) shutdown system to replace the disk&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;For # 1 - this is fine:&lt;BR /&gt;&lt;BR /&gt;After failed disk has been replaced by HP (assuming the disk is c1t5d0):&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -n /dev/vg00 /dev/rdsk/c1t5d0&lt;BR /&gt;&lt;BR /&gt;mkboot /dev/rdsk/c1t5d0&lt;BR /&gt;&lt;BR /&gt;mkboot -a "hpux -lq (;0) /stand/vmunix" /dev/rdsk/c1t5d0&lt;BR /&gt;&lt;BR /&gt;vgchange -a y /dev/vg00&lt;BR /&gt;&lt;BR /&gt;lvlnboot -Rv /dev/vg00&lt;BR /&gt;&lt;BR /&gt;vgsync /dev/vg00&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;For 2, reduce the lv by the mirrors and recreate:&lt;BR /&gt;&lt;BR /&gt;Say /dev/dsk/c0t6d0 is the root disk and /dev/dsk/c3t6d0 is the disk you want to make a mirror of.&lt;BR /&gt;&lt;BR /&gt;1. Create a bootable LVM disk to be used for the mirror.&lt;BR /&gt;pvcreate -B /dev/rdsk/c3t6d0&lt;BR /&gt;2. Add this disk to the current root volume group.&lt;BR /&gt;vgextend /dev/vg00 /dev/dsk/c3t6d0&lt;BR /&gt;3. Make the new disk a boot disk.&lt;BR /&gt;mkboot -l /dev/rdsk/c3t6d0&lt;BR /&gt;4. Copy the correct AUTO file into the new LIF area.&lt;BR /&gt;mkboot -a "hpux -lq (;0)/vmunix" /dev/rdsk/c3t6d0&lt;BR /&gt;5. Mirror the boot, root and primary swap logical volumes to the new&lt;BR /&gt;bootable disk. Ensure that all devices in vg00, such as /usr, /swap,&lt;BR /&gt;etc., are mirrored.&lt;BR /&gt;The following is an example of mirroring the boot logical volume:&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c3t6d0&lt;BR /&gt;The following is an example of mirroring the primary swap logical&lt;BR /&gt;volume:&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c3t6d0&lt;BR /&gt;The following is an example of mirroring the root logical volume:&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c3t6d0&lt;BR /&gt;6. Update the boot information contained in the BDRA for the mirror&lt;BR /&gt;copies of boot, primary swap and root.&lt;BR /&gt;/usr/sbin/lvlnboot -b /dev/vg00/lvol1&lt;BR /&gt;/usr/sbin/lvlnboot -s /dev/vg00/lvol2&lt;BR /&gt;/usr/sbin/lvlnboot -r /dev/vg00/lvol3&lt;BR /&gt;7. Check if the BDRA is correct.&lt;BR /&gt;/usr/sbin/lvlnboot -R /dev/vg00&lt;BR /&gt;8. Verify that the mirrors were properly created.&lt;BR /&gt;lvlnboot -v /dev/vg00&lt;BR /&gt;The output of this command is shown in a display like the following:&lt;BR /&gt;Boot Definitions for Volume Group /dev/vg00:&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/c0t6d0 (1/0/0/3/0.6.0) -- Boot Disk&lt;BR /&gt;/dev/dsk/c3t6d0 (1/0/1/0/0/1/1.6.0) -- Boot Disk&lt;BR /&gt;Boot: lvol1 on: /dev/dsk/c0t6d0&lt;BR /&gt;/dev/dsk/c3t6d0&lt;BR /&gt;Root: lvol3 on: /dev/dsk/c0t6d0&lt;BR /&gt;/dev/dsk/c3t6d0&lt;BR /&gt;Swap: lvol2 on: /dev/dsk/c0t6d0&lt;BR /&gt;/dev/dsk/c3t6d0&lt;BR /&gt;Dump: lvol2 on: /dev/dsk/c0t6d0, 0&lt;BR /&gt;&lt;BR /&gt;vgdisplay -v vg00&lt;BR /&gt;&lt;BR /&gt;Then lvextend for all other lvols:&lt;BR /&gt;&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c3t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c3t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/c3t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/c3t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c3t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol9 /dev/dsk/c3t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol10 /dev/dsk/c3t6d0&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol11 /dev/dsk/c3t6d0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Feb 2006 12:03:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirrored-system-disk-replacement-procedure-question/m-p/3732183#M254702</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-02-15T12:03:44Z</dc:date>
    </item>
  </channel>
</rss>

