<?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: replace bad root disk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-bad-root-disk/m-p/4626788#M378089</link>
    <description>Navin,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1) setboot -v shows that there was alternate boot disk device is specified and autoboot ON in case of a disk failure. So i would assume in case of a bad root disk it automatically failed over to the mirror disk.But how do i make sure this had happened ? and how should i confirm currently i'm running ona mirror disk not on root disk(because still the drive has green lights)&lt;BR /&gt;&lt;BR /&gt;- If mirroring is in place and the alternate disk is getting mirrored data, it will switch automatically during a boot disk failure of primary , make sure -lq (low quorum )option is specified in the boot string.&lt;BR /&gt;&lt;BR /&gt;To check -lq option is set in the boot string or not&lt;BR /&gt;# efi_ls -d/dev/rdisk/$TARGET_DSK'_s1' EFI/&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2)How should we find from which disk the server boot up in the first place (before the failure)&lt;BR /&gt;- setboot will so which one is primary and which one is alternate.&lt;BR /&gt;- Keep an eye on the LED while the server is booting through the ISL.&lt;BR /&gt;- dd if=/dev/dsk/ctd of=/dev/null &lt;BR /&gt;# By seeing the LED activity you can figure out which disk it is refering. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;3) This is lvm and vxfs - what is th eprocedure to replace a drive and do the mirroring.Also do i have to boot off th e mirror and do the replacement - or with out down time can it be done while system is running on the root mirror .&lt;BR /&gt;&lt;BR /&gt;- &lt;A href="http://www.docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf" target="_blank"&gt;http://www.docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hth,&lt;BR /&gt;Raj.</description>
    <pubDate>Fri, 30 Apr 2010 18:19:32 GMT</pubDate>
    <dc:creator>Raj D.</dc:creator>
    <dc:date>2010-04-30T18:19:32Z</dc:date>
    <item>
      <title>replace bad root disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-bad-root-disk/m-p/4626787#M378088</link>
      <description>Hello - &lt;BR /&gt;&lt;BR /&gt;I have an itanium box which has bad root disk.&lt;BR /&gt;I would lik eto know the answer for couple of questions - pls help.&lt;BR /&gt;&lt;BR /&gt;1) setboot -v shows that there was alternate boot disk device is specified and autoboot ON in case of a disk failure. So i would assume in case of a bad root disk it automatically failed over to the mirror disk.But how do i make sure this had happened ? and how should i confirm currently i'm running ona mirror disk not on root disk(because still the drive has green lights)&lt;BR /&gt;2)How should we find from which disk the server boot up in the first place (before the failure)&lt;BR /&gt;3) This is lvm and vxfs - what is th eprocedure to replace a drive and do the mirroring.Also do i have to boot off th e mirror and do the replacement - or with out down time can it be done while system is running on the root mirror .&lt;BR /&gt;&lt;BR /&gt;Server rx4640 - hpux 11.23&lt;BR /&gt;&lt;BR /&gt;Please advice   - much appreciated&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Apr 2010 18:07:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-bad-root-disk/m-p/4626787#M378088</guid>
      <dc:creator>navin</dc:creator>
      <dc:date>2010-04-30T18:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: replace bad root disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-bad-root-disk/m-p/4626788#M378089</link>
      <description>Navin,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1) setboot -v shows that there was alternate boot disk device is specified and autoboot ON in case of a disk failure. So i would assume in case of a bad root disk it automatically failed over to the mirror disk.But how do i make sure this had happened ? and how should i confirm currently i'm running ona mirror disk not on root disk(because still the drive has green lights)&lt;BR /&gt;&lt;BR /&gt;- If mirroring is in place and the alternate disk is getting mirrored data, it will switch automatically during a boot disk failure of primary , make sure -lq (low quorum )option is specified in the boot string.&lt;BR /&gt;&lt;BR /&gt;To check -lq option is set in the boot string or not&lt;BR /&gt;# efi_ls -d/dev/rdisk/$TARGET_DSK'_s1' EFI/&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2)How should we find from which disk the server boot up in the first place (before the failure)&lt;BR /&gt;- setboot will so which one is primary and which one is alternate.&lt;BR /&gt;- Keep an eye on the LED while the server is booting through the ISL.&lt;BR /&gt;- dd if=/dev/dsk/ctd of=/dev/null &lt;BR /&gt;# By seeing the LED activity you can figure out which disk it is refering. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;3) This is lvm and vxfs - what is th eprocedure to replace a drive and do the mirroring.Also do i have to boot off th e mirror and do the replacement - or with out down time can it be done while system is running on the root mirror .&lt;BR /&gt;&lt;BR /&gt;- &lt;A href="http://www.docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf" target="_blank"&gt;http://www.docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hth,&lt;BR /&gt;Raj.</description>
      <pubDate>Fri, 30 Apr 2010 18:19:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-bad-root-disk/m-p/4626788#M378089</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2010-04-30T18:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: replace bad root disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-bad-root-disk/m-p/4626789#M378090</link>
      <description>Navin Also,&lt;BR /&gt;&lt;BR /&gt;&amp;gt; and how should i confirm currently i'm running ona mirror disk not on root disk(because still the drive has green lights)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-  1. If your disks are mirrored, use lvdisplay and you will see two disk .&lt;BR /&gt;&lt;BR /&gt;# lvdisplay -v /dev/vg00/lvol1  # to...8&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;- 2. Verify the content of AUTO file on both the disks primary and in the mirror.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# efi_cp -d /dev/rdsk/c2t1d0s1 -u /EFI/HPUX/AUTO /tmp/AUTO.pri&lt;BR /&gt;# efi_cp -d /dev/rdsk/c3t2d0s1 -u /EFI/HPUX/AUTO /tmp/AUTO.alt&lt;BR /&gt;&lt;BR /&gt;# cat /tmp/AUTO.pri&lt;BR /&gt;# cat /tmp/AUTO.alt&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hth,&lt;BR /&gt;Raj.&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Apr 2010 18:27:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-bad-root-disk/m-p/4626789#M378090</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2010-04-30T18:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: replace bad root disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-bad-root-disk/m-p/4626790#M378091</link>
      <description>Navin , &lt;BR /&gt;simple steps outlined to replace the faulty disk:&lt;BR /&gt;&lt;BR /&gt;1. Identify the faulty disk.&lt;BR /&gt;# lvdisplay -v /dev/vg00/[lvol1 to lvol8 ] &lt;BR /&gt;# look for stale PE. That stale PE disk is faulty. If the disk is completely dead you will see NO_HW in ioscan.&lt;BR /&gt;&lt;BR /&gt;2. Remove the mirror (separate the faulty disk):&lt;BR /&gt;LV reduce :&lt;BR /&gt;# lvreduce -m 0 /dev/vg00/lvol1 &lt;BAD_DISK_CTD&gt;&lt;BR /&gt;[ Do for all the lvols till lvol8 ]&lt;BR /&gt;&lt;BR /&gt;3. Remove the Bad disk from the vg00:&lt;BR /&gt;# vgreduce /dev/vg00 &lt;BAD_DISK_CTD&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;4. # pvchange -a N  &lt;BAD_DISK_CTD&gt;&lt;BR /&gt;&lt;BR /&gt;5. # Remove the faulty hotplug disk.&lt;BR /&gt;&lt;BR /&gt;6. # Insert the NEW hotplug disk.&lt;BR /&gt;&lt;BR /&gt;7. # Run ioscan , make sure it is visible.&lt;BR /&gt;&lt;BR /&gt;8. # Partition the disk using idisk , (mentioned in the doc).&lt;BR /&gt;&lt;BR /&gt;9. # insf -eC disk&lt;BR /&gt;&lt;BR /&gt;10. # vgcfgrestore -n vg00 &lt;NEW_PV_CTD_S2&gt;&lt;BR /&gt;&lt;BR /&gt;11. # pvchange -a y &lt;NEW_PV_CTD_S2&gt;&lt;BR /&gt;&lt;BR /&gt;12. # vgchange -a y vg00&lt;BR /&gt;    # vgsync vg00   &lt;BR /&gt;&lt;BR /&gt;It will start resyncing the mirror with the primary disk. The process will take around 1 hour . Once the mirroring done you will see the messages and the command prompt will be back. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hth,&lt;BR /&gt;Raj.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/NEW_PV_CTD_S2&gt;&lt;/NEW_PV_CTD_S2&gt;&lt;/BAD_DISK_CTD&gt;&lt;/BAD_DISK_CTD&gt;&lt;/BAD_DISK_CTD&gt;</description>
      <pubDate>Fri, 30 Apr 2010 18:41:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-bad-root-disk/m-p/4626790#M378091</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2010-04-30T18:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: replace bad root disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-bad-root-disk/m-p/4626791#M378092</link>
      <description>Raj appreciate your replies - mine is itanium server - so i ahve to do the disk format and once the data sync is done - do i have to do the steboot etc?&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 30 Apr 2010 19:12:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-bad-root-disk/m-p/4626791#M378092</guid>
      <dc:creator>navin</dc:creator>
      <dc:date>2010-04-30T19:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: replace bad root disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-bad-root-disk/m-p/4626792#M378093</link>
      <description>If your ctd number is not changing you don't have to do the setboot.&lt;BR /&gt;&lt;BR /&gt;- In case ctd number changes it is simple:&lt;BR /&gt;After the vgsync just do ( setboot -a Alt_path ):&lt;BR /&gt;&lt;BR /&gt;# setboot     #Verify the listed Pri &amp;amp; Alt paths.&lt;BR /&gt;&lt;BR /&gt;# Set alternate boot disk path: &lt;BR /&gt;# setboot -a ${ALT_HWPATH}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HW_Path can be found with the following commands.&lt;BR /&gt;# ioscan -fnC disk   #Look for the Alt disk.&lt;BR /&gt;# vgdisplay -v vg00 | grep "PV Name"&lt;BR /&gt;# lvlnboot -v vg00   &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hth,&lt;BR /&gt;Raj.</description>
      <pubDate>Fri, 30 Apr 2010 19:27:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-bad-root-disk/m-p/4626792#M378093</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2010-04-30T19:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: replace bad root disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-bad-root-disk/m-p/4626793#M378094</link>
      <description>Appreciate your time and expert solutions</description>
      <pubDate>Fri, 30 Apr 2010 19:47:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-bad-root-disk/m-p/4626793#M378094</guid>
      <dc:creator>navin</dc:creator>
      <dc:date>2010-04-30T19:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: replace bad root disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-bad-root-disk/m-p/4626794#M378095</link>
      <description>Navin, &lt;BR /&gt;If you want to show appreciation when others&lt;BR /&gt;take time to reply to your questions, at a&lt;BR /&gt;minimum you should assign points.&lt;BR /&gt;&lt;BR /&gt;I can see 930+ responses (in your profile) has not assigned any points and so called the appreciation.  &lt;BR /&gt;  &lt;BR /&gt;"I have assigned points to   577  of   1512  responses to my questions."&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Check it out:&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?&amp;amp;threadId=1377483" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?&amp;amp;threadId=1377483&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://66.34.90.71/ITRCForumsEtiquette/after.html" target="_blank"&gt;http://66.34.90.71/ITRCForumsEtiquette/after.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I was checking your profile and found this:&lt;BR /&gt;Your 930+ Questions with unassigned points: &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/pageList.do?forumId=1&amp;amp;userId=CA712686&amp;amp;listType=unassigned&amp;amp;" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/pageList.do?forumId=1&amp;amp;userId=CA712686&amp;amp;listType=unassigned&amp;amp;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Probably you can take a day off or do it in the weekend :   appreciate them in terms of "assigning points" to these 930+ responses who deserve points to their valuable time &amp;amp;  valuable answers. If you ignore this ll be reminded again soon.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Apr 2010 21:44:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-bad-root-disk/m-p/4626794#M378095</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2010-04-30T21:44:01Z</dc:date>
    </item>
  </channel>
</rss>

