<?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 removing mirrored bad root disk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-mirrored-bad-root-disk/m-p/2920221#M634586</link>
    <description>I have an L class that had a mirrored root disk go bad.&lt;BR /&gt;I have hot swapped the disk.&lt;BR /&gt;I couldn't break the mirror before nor can I now.&lt;BR /&gt;I can't pvcreate it because it's part of vg00.&lt;BR /&gt;I can't remove it because it can't query it.&lt;BR /&gt;I did do the makeboot and makeboot -a commands.&lt;BR /&gt;I did the vgcfgrestore and it complained that it couldn't query it but it did say that it did restore the vg configuration to the disk.&lt;BR /&gt;&lt;BR /&gt;I haven't rebooted. &lt;BR /&gt;&lt;BR /&gt;Any thoughts?</description>
    <pubDate>Wed, 05 Mar 2003 20:57:14 GMT</pubDate>
    <dc:creator>T-Mobile Tech Support</dc:creator>
    <dc:date>2003-03-05T20:57:14Z</dc:date>
    <item>
      <title>removing mirrored bad root disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-mirrored-bad-root-disk/m-p/2920221#M634586</link>
      <description>I have an L class that had a mirrored root disk go bad.&lt;BR /&gt;I have hot swapped the disk.&lt;BR /&gt;I couldn't break the mirror before nor can I now.&lt;BR /&gt;I can't pvcreate it because it's part of vg00.&lt;BR /&gt;I can't remove it because it can't query it.&lt;BR /&gt;I did do the makeboot and makeboot -a commands.&lt;BR /&gt;I did the vgcfgrestore and it complained that it couldn't query it but it did say that it did restore the vg configuration to the disk.&lt;BR /&gt;&lt;BR /&gt;I haven't rebooted. &lt;BR /&gt;&lt;BR /&gt;Any thoughts?</description>
      <pubDate>Wed, 05 Mar 2003 20:57:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-mirrored-bad-root-disk/m-p/2920221#M634586</guid>
      <dc:creator>T-Mobile Tech Support</dc:creator>
      <dc:date>2003-03-05T20:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: removing mirrored bad root disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-mirrored-bad-root-disk/m-p/2920222#M634587</link>
      <description>Your mkboots followed by vgcfgrestore is correct way.&lt;BR /&gt;&lt;BR /&gt;However, you will still have to do&lt;BR /&gt;&lt;BR /&gt;#vgchange -a y vg00&lt;BR /&gt;#vgsync&lt;BR /&gt;&lt;BR /&gt;Once this is done, do a lvlnboot -R and lvlnboot -v to make sure they show up correctly.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 05 Mar 2003 20:59:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-mirrored-bad-root-disk/m-p/2920222#M634587</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-03-05T20:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: removing mirrored bad root disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-mirrored-bad-root-disk/m-p/2920223#M634588</link>
      <description>This is the process I used on my L .. ie after you pluged in the new disk run ..(say c2t2d0 is the new disk)&lt;BR /&gt;&lt;BR /&gt;# pvcreate -B /dev/rdsk/c2t2d0&lt;BR /&gt;# mkboot -l /dev/rdsk/c2t2d0&lt;BR /&gt;# mkboot -a "hpux -lq" /dev/rdsk/c2t2d0&lt;BR /&gt;# vgcfgrestore -n vg00 /dev/rdsk/c2t2d0&lt;BR /&gt;# vgchange -a y vg00&lt;BR /&gt;# vgsync vg00&lt;BR /&gt;&lt;BR /&gt;If the above does not work out (for some reason) then I would do this (only do this if you're very sure your vg00.conf file is good !!)..&lt;BR /&gt;&lt;BR /&gt;Reboot the machine escape the quorum in single user mode.&lt;BR /&gt;ISL&amp;gt; hpux -is -lq (;0)/stand/vmunix&lt;BR /&gt;# pvcreate -f -B /dev/rdsk/c2t2d0&lt;BR /&gt;# vgcfgrestore -n /dev/vg00 /dev/rdsk/c2t2d0&lt;BR /&gt;# vgchange -a y /dev/vg00&lt;BR /&gt;# vgsync /dev/vg00&lt;BR /&gt;# mkboot -l /dev/rdsk/c2t2d0&lt;BR /&gt;# mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c2t2d0&lt;BR /&gt;# lvlnboot -R&lt;BR /&gt;# lvlnboot -v&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Mar 2003 21:13:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-mirrored-bad-root-disk/m-p/2920223#M634588</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2003-03-05T21:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: removing mirrored bad root disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-mirrored-bad-root-disk/m-p/2920224#M634589</link>
      <description>Regarding:&lt;BR /&gt;&lt;BR /&gt;"...I can't remove it because it can't query it...."&lt;BR /&gt;&lt;BR /&gt;Can you dd it?&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/dsk/c2t2d0 of=/dev/null count=1000000&lt;BR /&gt;control c (* break after a minute to get past the cache *)&lt;BR /&gt;&lt;BR /&gt;### blocks in / out&lt;BR /&gt;&lt;BR /&gt;If the cursor doesn't come back after the control c then the disk is bad.&lt;BR /&gt;&lt;BR /&gt;Also, use the following to verify you can't see the PV Number of the old disk.&lt;BR /&gt;&lt;BR /&gt;vgdisplay -v vg00&lt;BR /&gt;&lt;BR /&gt;If so, then use :&lt;BR /&gt;&lt;BR /&gt;reboot&lt;BR /&gt;interrupt&lt;BR /&gt;ISL &amp;gt; hpux -lm -is (* LVM maintenance mode *)&lt;BR /&gt;vgchagne -a y -q y /dev/vg00 (* activate without quorum *)&lt;BR /&gt;vgreduce -f /dev/vg00 (* reduce out old disk *)</description>
      <pubDate>Wed, 05 Mar 2003 21:25:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-mirrored-bad-root-disk/m-p/2920224#M634589</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2003-03-05T21:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: removing mirrored bad root disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-mirrored-bad-root-disk/m-p/2920225#M634590</link>
      <description>This document will be helpful TKB #KBRC00009115:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062909815" target="_blank"&gt;http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062909815&lt;/A&gt;</description>
      <pubDate>Wed, 05 Mar 2003 21:27:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-mirrored-bad-root-disk/m-p/2920225#M634590</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-03-05T21:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: removing mirrored bad root disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-mirrored-bad-root-disk/m-p/2920226#M634591</link>
      <description>One more time ..&lt;BR /&gt;1)I have an L class that had a mirrored root disk go bad.&lt;BR /&gt;-ok &lt;BR /&gt;2) I have hot swapped the disk.&lt;BR /&gt;-ok&lt;BR /&gt;3) I couldn't break the mirror before nor can I now.&lt;BR /&gt;-You need not break the mirror, just followed the process I had earlier.&lt;BR /&gt;4) I can't pvcreate it because it's part of vg00.&lt;BR /&gt;-The pvcreate will fail if the disk that you've inserted belong to another VG previously. You can use "-f" option to force it. Extra CAUTIOUS .. don't pvcreate the wrong disk.&lt;BR /&gt;5) I can't remove it because it can't query it.&lt;BR /&gt;-There's no need to remove it.&lt;BR /&gt;&lt;BR /&gt;The rest of the steps are part of the recovery process after step 2.</description>
      <pubDate>Wed, 05 Mar 2003 21:28:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-mirrored-bad-root-disk/m-p/2920226#M634591</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2003-03-05T21:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: removing mirrored bad root disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-mirrored-bad-root-disk/m-p/2920227#M634592</link>
      <description>Well I finally rebooted the machine. It came up and showed the disk properly and I was able to mirror what I needed. I didn't have to go into single user or less than quorom.&lt;BR /&gt;Thanks!</description>
      <pubDate>Fri, 21 Mar 2003 14:55:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-mirrored-bad-root-disk/m-p/2920227#M634592</guid>
      <dc:creator>T-Mobile Tech Support</dc:creator>
      <dc:date>2003-03-21T14:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: removing mirrored bad root disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-mirrored-bad-root-disk/m-p/2920228#M634593</link>
      <description>Hey that's great!&lt;BR /&gt;&lt;BR /&gt;Any points to award?</description>
      <pubDate>Fri, 21 Mar 2003 14:56:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-mirrored-bad-root-disk/m-p/2920228#M634593</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2003-03-21T14:56:24Z</dc:date>
    </item>
  </channel>
</rss>

