<?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 URGENT:  Mirror question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-mirror-question/m-p/3740910#M256103</link>
    <description>We have an 18 Gb disk going bad...I have a new disk to replace the failing disk.  I have an open slot on my 2405 that i can fit the new disk.  I want to install the new disk, mirror the bad disk to the new disk and remove the bad disk.  This should make the new disk primary.  How do I safely do this?  Can someone give me a procedure?  This is a production system so this must be done live.</description>
    <pubDate>Tue, 28 Feb 2006 11:21:41 GMT</pubDate>
    <dc:creator>Craig A. Sharp</dc:creator>
    <dc:date>2006-02-28T11:21:41Z</dc:date>
    <item>
      <title>URGENT:  Mirror question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-mirror-question/m-p/3740910#M256103</link>
      <description>We have an 18 Gb disk going bad...I have a new disk to replace the failing disk.  I have an open slot on my 2405 that i can fit the new disk.  I want to install the new disk, mirror the bad disk to the new disk and remove the bad disk.  This should make the new disk primary.  How do I safely do this?  Can someone give me a procedure?  This is a production system so this must be done live.</description>
      <pubDate>Tue, 28 Feb 2006 11:21:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-mirror-question/m-p/3740910#M256103</guid>
      <dc:creator>Craig A. Sharp</dc:creator>
      <dc:date>2006-02-28T11:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT:  Mirror question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-mirror-question/m-p/3740911#M256104</link>
      <description>Craig,&lt;BR /&gt;&lt;BR /&gt;This procedure is designed for a root disk.  If this is not a root disk, just use steps 2 and 4:&lt;BR /&gt;&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;&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&lt;BR /&gt;lvlnboot commands. That is because they are not&lt;BR /&gt;necessary - see the man page:&lt;BR /&gt;&lt;BR /&gt;"This command should be run in recovery mode (-R)&lt;BR /&gt;whenever the configuration of the root volume group is&lt;BR /&gt;affected by one of the following commands: lvextend,&lt;BR /&gt;lvmerge, lvreduce, lvsplit, pvmove, lvremove, vgextend,&lt;BR /&gt;or vgreduce (see lvextend(1M), lvmerge(1M), lvreduce(1M),&lt;BR /&gt;lvsplit(1M), pvmove(1M), lvremove(1M), vgextend(1M), and&lt;BR /&gt;vgreduce(1M)). Starting with HP-UX Release 10.0, this is&lt;BR /&gt;done automatically."&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 28 Feb 2006 11:26:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-mirror-question/m-p/3740911#M256104</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-02-28T11:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT:  Mirror question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-mirror-question/m-p/3740912#M256105</link>
      <description>Ok, thanks....once the mirror is established, how to I safely remove the bad disk which was the primary disk?</description>
      <pubDate>Tue, 28 Feb 2006 11:27:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-mirror-question/m-p/3740912#M256105</guid>
      <dc:creator>Craig A. Sharp</dc:creator>
      <dc:date>2006-02-28T11:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT:  Mirror question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-mirror-question/m-p/3740913#M256106</link>
      <description>I think Pete meant use steps 2 &amp;amp; 5 if it is not a root disk.&lt;BR /&gt;&lt;BR /&gt;You will probably need to do step 1 as well, but without the '-B' option.  Just 'pvcreate /dev/rdsk/c?t?d0' should suffice.</description>
      <pubDate>Tue, 28 Feb 2006 11:28:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-mirror-question/m-p/3740913#M256106</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2006-02-28T11:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT:  Mirror question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-mirror-question/m-p/3740914#M256107</link>
      <description>If disk is going bad, you may not be able to mirror it. mirroring may fail. Do you have ignite backup of this disk??&lt;BR /&gt;&lt;BR /&gt;Anyway, you can try.&lt;BR /&gt;You need to have Mirrororing software for this.&lt;BR /&gt;Put the disk in.&lt;BR /&gt;Make sure it is claimed in ioscan.&lt;BR /&gt;&lt;BR /&gt;1) Initialize the disk and make it bootable&lt;BR /&gt;&lt;BR /&gt; pvcreate -B /dev/rdsk/c1t6d0&lt;BR /&gt;&lt;BR /&gt;Note: the -B parameter tell pvcreate that this will be a&lt;BR /&gt;&lt;BR /&gt;bootable disk.&lt;BR /&gt;&lt;BR /&gt;2) Add the physical volume to the volume group&lt;BR /&gt;&lt;BR /&gt;vgextend /dev/vg01 /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;&lt;BR /&gt;mkboot /dev/dsk/c1t6d0&lt;BR /&gt;&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;&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;&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol1&lt;BR /&gt;&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol2&lt;BR /&gt;&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol3&lt;BR /&gt;&lt;BR /&gt;Note: LVM will resynchronize the new mirror copies. This step will takes several minutes &lt;BR /&gt;&lt;BR /&gt;Repeat the lvextend for all other logical volumes on the boot mirror.&lt;BR /&gt;&lt;BR /&gt;6) Modify your alternate boot path to point to the mirror copy of the boot disk.&lt;BR /&gt;&lt;BR /&gt;setboot -a 8/8.6.0 # Use the Hardware path for your new boot disk. &lt;BR /&gt;&lt;BR /&gt;Even if you do not have mirroring software, you can prepare the static copy of root disk. The procedure is slightly different.</description>
      <pubDate>Tue, 28 Feb 2006 11:28:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-mirror-question/m-p/3740914#M256107</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2006-02-28T11:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT:  Mirror question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-mirror-question/m-p/3740915#M256108</link>
      <description>this is not a boot disk...I am taking a guess that I can just lvreduce the bad disk out of the mirror.</description>
      <pubDate>Tue, 28 Feb 2006 11:30:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-mirror-question/m-p/3740915#M256108</guid>
      <dc:creator>Craig A. Sharp</dc:creator>
      <dc:date>2006-02-28T11:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT:  Mirror question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-mirror-question/m-p/3740916#M256109</link>
      <description>Once mirrored, you can do a:&lt;BR /&gt;&lt;BR /&gt;# lvreduce -m 0 /dev/vg??/lvol? /dev/dsk/c?t?d0&lt;BR /&gt;&lt;BR /&gt;where the /dev/dsk/c?t?d0 is the device file for the disk that is going bad.&lt;BR /&gt;&lt;BR /&gt;Once all mirrors are reduced, you can reduce the disk out of the VG.&lt;BR /&gt;&lt;BR /&gt;# vgreduce /dev/vg?? /dev/dsk/c?t?d0</description>
      <pubDate>Tue, 28 Feb 2006 11:30:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-mirror-question/m-p/3740916#M256109</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2006-02-28T11:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT:  Mirror question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-mirror-question/m-p/3740917#M256110</link>
      <description>Thanks, Patrick!  Obviously I wasn't a math major.&lt;BR /&gt;&lt;BR /&gt;;^)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 28 Feb 2006 11:30:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-mirror-question/m-p/3740917#M256110</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-02-28T11:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT:  Mirror question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-mirror-question/m-p/3740918#M256111</link>
      <description>Ok disk is replaced but the ioscan is not seeing the hardware.  This is an FC disk and I have done the fcmsutil /dev/td0 replace_dsk 0xd5 function.  On ioscan we see&lt;BR /&gt;&lt;BR /&gt;disk     11  0/2/0/0.8.0.255.0.8.0   sdisk  NO_HW       DEVICE       HP 36.4GST336607FC&lt;BR /&gt;                          /dev/dsk/c4t8d0   /dev/rdsk/c4t8d0</description>
      <pubDate>Tue, 28 Feb 2006 14:20:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-mirror-question/m-p/3740918#M256111</guid>
      <dc:creator>Craig A. Sharp</dc:creator>
      <dc:date>2006-02-28T14:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT:  Mirror question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/urgent-mirror-question/m-p/3740919#M256112</link>
      <description>got it going&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Feb 2006 15:25:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/urgent-mirror-question/m-p/3740919#M256112</guid>
      <dc:creator>Craig A. Sharp</dc:creator>
      <dc:date>2006-02-28T15:25:40Z</dc:date>
    </item>
  </channel>
</rss>

