<?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: How to replace internal mirrored defective hot plug drive hpux 11.11 ? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-replace-internal-mirrored-defective-hot-plug-drive-hpux/m-p/5060852#M600404</link>
    <description>Santosh,&lt;BR /&gt;your instruction are very detailed and accurate. But i did the steps (which left out some of your steps) below and it seems&lt;BR /&gt;to have mirrored the drive. I have not really tested booting off the new drive though.&lt;BR /&gt;Thanks a lot.&lt;BR /&gt;&lt;BR /&gt;Luk,&lt;BR /&gt;I had the pdf but was unsure about hot pluggable drives.&lt;BR /&gt;&lt;BR /&gt;Hoang,&lt;BR /&gt;I am sure your steps would work just fine but I was trying to prevent remirroring all the lvs again.&lt;BR /&gt;Seems like Santosh steps work fine for boot as well.&lt;BR /&gt;&lt;BR /&gt;The steps are&lt;BR /&gt;pull disk, insert hot plug disk&lt;BR /&gt;ioscan -fnkC disk (can see disk now)&lt;BR /&gt;vgcfgrestore -n /dev/vg00 /dev/rdsk/c3t0d0&lt;BR /&gt;&lt;BR /&gt; mkboot /dev/rdsk/cXtYdZ &lt;BR /&gt;&lt;BR /&gt; mkboot -a "hpux -lq /stand/vmunix" /dev/rdsk/C3t0d0&lt;BR /&gt;&lt;BR /&gt; lvlnboot -R &lt;BR /&gt;&lt;BR /&gt; lvlnboot -v &lt;BR /&gt;&lt;BR /&gt; vgchange -a y /dev/vg00 &lt;BR /&gt;&lt;BR /&gt; vgsync /dev/vg00 &lt;BR /&gt;</description>
    <pubDate>Fri, 03 Aug 2007 14:03:22 GMT</pubDate>
    <dc:creator>Sammy_2</dc:creator>
    <dc:date>2007-08-03T14:03:22Z</dc:date>
    <item>
      <title>How to replace internal mirrored defective hot plug drive hpux 11.11 ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-replace-internal-mirrored-defective-hot-plug-drive-hpux/m-p/5060847#M600399</link>
      <description>&lt;BR /&gt;One of my root drive failed. Failed one is c3t0d0. running off mirrored c2t1d0.&lt;BR /&gt; Cant see failed drive via ioscan now, guess because I have since rebooted the system.&lt;BR /&gt;I am told by HP my internal drive is hot pluggable (so I assume I need to do something before yanking the bad drive ???).  I have the new disk.&lt;BR /&gt;&lt;BR /&gt;What are the steps to  replace and mirror the drive  to current bootable drive without causing any outage ?if it is possible ?&lt;BR /&gt;&lt;BR /&gt;The only way I know of is lvreduce the mirror on all the volumes on failed root disk to 0 and and vgreduce the failed disk out of vg00.&lt;BR /&gt;Then follow root miror coomand as if mirroring the root disk for the first time.Any other better way.&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Info about the system is below.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# uname -a&lt;BR /&gt;HP-UX testsystem B.11.11 U 9000/800 522788742 unlimited-user license&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ioscan -fnkC disk&lt;BR /&gt;&lt;BR /&gt;disk      1  0/1/1/0.1.0    sdisk    CLAIMED     DEVICE       HP 73.4GST373454LC&lt;BR /&gt;                           /dev/dsk/c2t1d0   /dev/rdsk/c2t1d0&lt;BR /&gt;&lt;BR /&gt;.....&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#strings /etc/lvmtab&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/dsk/c2t1d0&lt;BR /&gt;/dev/dsk/c3t0d0&lt;BR /&gt;...&lt;BR /&gt;...&lt;BR /&gt;</description>
      <pubDate>Tue, 31 Jul 2007 22:52:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-replace-internal-mirrored-defective-hot-plug-drive-hpux/m-p/5060847#M600399</guid>
      <dc:creator>Sammy_2</dc:creator>
      <dc:date>2007-07-31T22:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace internal mirrored defective hot plug drive hpux 11.11 ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-replace-internal-mirrored-defective-hot-plug-drive-hpux/m-p/5060848#M600400</link>
      <description>To list and verify the VG configuration backup file&lt;BR /&gt;&lt;BR /&gt;root [/root]   vgcfgrestore -n /dev/vg00 -l&lt;BR /&gt;Volume Group Configuration information in "/etc/lvmconf/vg00.conf"&lt;BR /&gt;VG Name /dev/vg00&lt;BR /&gt; ---- Physical volumes : 2 ----&lt;BR /&gt;    /dev/rdsk/c0t0d0 (Bootable)&lt;BR /&gt;    /dev/rdsk/c3t0d0 (Bootable)&lt;BR /&gt;&lt;BR /&gt;Pvchange -a n /dev/dsk/c0t0d0&lt;BR /&gt;Replace the disk&lt;BR /&gt;Ioscan -fnH path   #Make sure path is CLAIMED&lt;BR /&gt;Diskinfo /dev/rdsk/c0t0d0 #verify disk &lt;BR /&gt;&lt;BR /&gt;pvcreate â  B /dev/rdsk/c0t0d0&lt;BR /&gt;&lt;BR /&gt;mkboot /dev/rdsk/c0t0d0&lt;BR /&gt;&lt;BR /&gt;mkboot -b /usr/lib/uxbootlf /dev/dsk/c0t0d0  #If -b option is given, boot programs in the pathname specified by boot_file_path are installed on the given device.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -F -n vg00 /dev/rdsk/c0t0d0&lt;BR /&gt;Pvchange -a y /dev/dsk/c0t0d0&lt;BR /&gt;vgchange -a y vg00&lt;BR /&gt;vgsync vg00&lt;BR /&gt;&lt;BR /&gt;lvlnboot -R&lt;BR /&gt;&lt;BR /&gt;for lif_comp in `lifls /dev/dsk/c3t0d0` &lt;BR /&gt;do&lt;BR /&gt;/usr/bin/lifcp /dev/dsk/c3t0d0:${lif_comp} /dev/dsk/c0t0d0:${lif_comp}&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 31 Jul 2007 22:58:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-replace-internal-mirrored-defective-hot-plug-drive-hpux/m-p/5060848#M600400</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-07-31T22:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace internal mirrored defective hot plug drive hpux 11.11 ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-replace-internal-mirrored-defective-hot-plug-drive-hpux/m-p/5060849#M600401</link>
      <description>Hi Sammy, you indicated internal hot-plug disk. If the disk is not hot-swap, the OS may not be able to take care of the online replacement. Hot-plug only allow you to replace the FRU when device is still powered on.</description>
      <pubDate>Wed, 01 Aug 2007 00:18:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-replace-internal-mirrored-defective-hot-plug-drive-hpux/m-p/5060849#M600401</guid>
      <dc:creator>tkc</dc:creator>
      <dc:date>2007-08-01T00:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace internal mirrored defective hot plug drive hpux 11.11 ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-replace-internal-mirrored-defective-hot-plug-drive-hpux/m-p/5060850#M600402</link>
      <description>Follow this procedure&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;</description>
      <pubDate>Wed, 01 Aug 2007 00:39:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-replace-internal-mirrored-defective-hot-plug-drive-hpux/m-p/5060850#M600402</guid>
      <dc:creator>Luk Vandenbussche</dc:creator>
      <dc:date>2007-08-01T00:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace internal mirrored defective hot plug drive hpux 11.11 ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-replace-internal-mirrored-defective-hot-plug-drive-hpux/m-p/5060851#M600403</link>
      <description>Hi Sammy&lt;BR /&gt;&lt;BR /&gt;Steps to replace the broken disk are:&lt;BR /&gt;&lt;BR /&gt;1. Remove the bad disk out of vg00&lt;BR /&gt;#vgreduce /dev/vg00 /dev/dsk/c3t0d0&lt;BR /&gt;do vgscan -a to scan and recreate /etc/lvmtab file.&lt;BR /&gt;2. Replace the new one&lt;BR /&gt;3. Do mirroring to the new disk:&lt;BR /&gt;#pvcreate -f /dev/rdsk/c3t0d0    ///Force format first/////&lt;BR /&gt;#pvcreate -B /dev/rdsk/c3t0d0  ///For boot disk////&lt;BR /&gt;#mkboot -l /dev/dsk/c3t0d0&lt;BR /&gt;#mkboot -a "hpux -lq" /dev/dsk/c3t0d0&lt;BR /&gt;#setboot -a HW_PAHT&lt;BR /&gt;&lt;BR /&gt;Then mirroring all of lvm in vg00, example:&lt;BR /&gt;#lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c3t1d0&lt;BR /&gt;................................&lt;BR /&gt;&lt;BR /&gt;#lvlnboot -r /dev/vg00/lvol3 /dev/vg00&lt;BR /&gt;#lvlnboot -b /dev/vg00/lvol1 /dev/vg00&lt;BR /&gt;#lvlnboot -s /dev/vg00/lvol2 /dev/vg00&lt;BR /&gt;#lvlnboot -d /dev/vg00/lvol2 /dev/vg00&lt;BR /&gt;&lt;BR /&gt;Then #lvlnboot -v to check again.&lt;BR /&gt;&lt;BR /&gt;Goodluck and hope this help&lt;BR /&gt;Hoang Chi Cong</description>
      <pubDate>Wed, 01 Aug 2007 19:56:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-replace-internal-mirrored-defective-hot-plug-drive-hpux/m-p/5060851#M600403</guid>
      <dc:creator>Hoang Chi Cong_1</dc:creator>
      <dc:date>2007-08-01T19:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace internal mirrored defective hot plug drive hpux 11.11 ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-replace-internal-mirrored-defective-hot-plug-drive-hpux/m-p/5060852#M600404</link>
      <description>Santosh,&lt;BR /&gt;your instruction are very detailed and accurate. But i did the steps (which left out some of your steps) below and it seems&lt;BR /&gt;to have mirrored the drive. I have not really tested booting off the new drive though.&lt;BR /&gt;Thanks a lot.&lt;BR /&gt;&lt;BR /&gt;Luk,&lt;BR /&gt;I had the pdf but was unsure about hot pluggable drives.&lt;BR /&gt;&lt;BR /&gt;Hoang,&lt;BR /&gt;I am sure your steps would work just fine but I was trying to prevent remirroring all the lvs again.&lt;BR /&gt;Seems like Santosh steps work fine for boot as well.&lt;BR /&gt;&lt;BR /&gt;The steps are&lt;BR /&gt;pull disk, insert hot plug disk&lt;BR /&gt;ioscan -fnkC disk (can see disk now)&lt;BR /&gt;vgcfgrestore -n /dev/vg00 /dev/rdsk/c3t0d0&lt;BR /&gt;&lt;BR /&gt; mkboot /dev/rdsk/cXtYdZ &lt;BR /&gt;&lt;BR /&gt; mkboot -a "hpux -lq /stand/vmunix" /dev/rdsk/C3t0d0&lt;BR /&gt;&lt;BR /&gt; lvlnboot -R &lt;BR /&gt;&lt;BR /&gt; lvlnboot -v &lt;BR /&gt;&lt;BR /&gt; vgchange -a y /dev/vg00 &lt;BR /&gt;&lt;BR /&gt; vgsync /dev/vg00 &lt;BR /&gt;</description>
      <pubDate>Fri, 03 Aug 2007 14:03:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-replace-internal-mirrored-defective-hot-plug-drive-hpux/m-p/5060852#M600404</guid>
      <dc:creator>Sammy_2</dc:creator>
      <dc:date>2007-08-03T14:03:22Z</dc:date>
    </item>
  </channel>
</rss>

