<?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 Root disk problem. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-problem/m-p/5068957#M438415</link>
    <description>Hi,&lt;BR /&gt;One of the root disk which is mirrored has failed and we need to replace the disk.&lt;BR /&gt;what is the best way to replace the disk.&lt;BR /&gt;OS is hpux 11.0.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sun, 16 Sep 2007 10:02:13 GMT</pubDate>
    <dc:creator>AnthonySN</dc:creator>
    <dc:date>2007-09-16T10:02:13Z</dc:date>
    <item>
      <title>Root disk problem.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-problem/m-p/5068957#M438415</link>
      <description>Hi,&lt;BR /&gt;One of the root disk which is mirrored has failed and we need to replace the disk.&lt;BR /&gt;what is the best way to replace the disk.&lt;BR /&gt;OS is hpux 11.0.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 16 Sep 2007 10:02:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-problem/m-p/5068957#M438415</guid>
      <dc:creator>AnthonySN</dc:creator>
      <dc:date>2007-09-16T10:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Root disk problem.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-problem/m-p/5068958#M438416</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;If possible break the mirrors.&lt;BR /&gt;&lt;BR /&gt;lvsplit&lt;BR /&gt;lvextend m=0 &lt;LVOL name=""&gt;&lt;BR /&gt;&lt;BR /&gt;Normally its not possible to break the mirrors.&lt;BR /&gt;&lt;BR /&gt;So.&lt;BR /&gt;&lt;BR /&gt;Remove and replace the disk.&lt;BR /&gt;&lt;BR /&gt;If the disk is not hot swappable, restart the system.&lt;BR /&gt;&lt;BR /&gt;vgreduce -f vg00&lt;BR /&gt;&lt;BR /&gt;This will force the now dead disk out of vg00. Follow the post vgreduce instructions strictly and carefully.&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;re-mirror and test vg00 mirror configuration.&lt;BR /&gt;&lt;BR /&gt;pvcreate -B /dev/rdsk/c1t0d0 #use real disk&lt;BR /&gt;&lt;BR /&gt;mkboot -l /dev/rdsk/c1t0d0&lt;BR /&gt;mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t0d0 # use real disk&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?&lt;BR /&gt;&lt;BR /&gt;If you are running 64-bit OS:&lt;BR /&gt;&lt;BR /&gt;# mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;vgextend /dev/vg00 /dev/dsk/c1t0d0 # same thing&lt;BR /&gt;lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t0d0&lt;BR /&gt;&lt;BR /&gt;# real disk. repeat for other lvols&lt;BR /&gt;&lt;BR /&gt;lvlnboot -r /dev/vg00/lvol3 # root fs /&lt;BR /&gt;lvlnboot -s /dev/vg00/lvol2 #swap&lt;BR /&gt;lvlnboot -d /dev/vg00/lvol2 #swap/dump&lt;BR /&gt;lvlnboot -b /dev/vg00/lvol1&lt;BR /&gt;lvlnboot -R&lt;BR /&gt;lvlnboot -v&lt;BR /&gt;setboot&lt;BR /&gt;setboot -a 52.1.0 # second disk&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/LVOL&gt;</description>
      <pubDate>Sun, 16 Sep 2007 11:01:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-problem/m-p/5068958#M438416</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-09-16T11:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Root disk problem.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-problem/m-p/5068959#M438417</link>
      <description>Hi SEP,&lt;BR /&gt;Thanks for the detailed reply.&lt;BR /&gt;&lt;BR /&gt;how abt the below process.&lt;BR /&gt;1.replace the def disk with new disk.&lt;BR /&gt;2.mv /etc/lvmtab /etc/lvmtab.old&lt;BR /&gt;3.pvcreate -f -B /dev/rdsk/newdisk.&lt;BR /&gt;4.mv /etc/lvmtab.old /etc/lvmtab&lt;BR /&gt;5.vgcfgrestore -n vg00&lt;BR /&gt;6.vgchange -a y /dev/vg00&lt;BR /&gt;7.vgsync vg00&lt;BR /&gt;8.mkboot /dev/rdsk/newdisk&lt;BR /&gt;9.mkboot -a "hpux -lq" /dev/rdsk/newdisk&lt;BR /&gt;10.lvlnboot -Rv /dev/vg00&lt;BR /&gt;&lt;BR /&gt;Let me know if im missing anything.</description>
      <pubDate>Mon, 17 Sep 2007 06:22:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-problem/m-p/5068959#M438417</guid>
      <dc:creator>AnthonySN</dc:creator>
      <dc:date>2007-09-17T06:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Root disk problem.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-problem/m-p/5068960#M438418</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;My procedure was developed and tested on 11.11. &lt;BR /&gt;&lt;BR /&gt;I can't test it on 11.00 but you seem to be missing these steps.&lt;BR /&gt;&lt;BR /&gt;# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?&lt;BR /&gt;&lt;BR /&gt;If you are running 64-bit OS:&lt;BR /&gt;&lt;BR /&gt;# mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?&lt;BR /&gt;&lt;BR /&gt;I don't know if they are needed or correct for 11.00.&lt;BR /&gt;&lt;BR /&gt;I like your plan and think it will work though I'd do it in an order more like my procedure (pride of ownership perhaps?).&lt;BR /&gt;&lt;BR /&gt;A test boot off the alternate root disk is the only way to confirm your configuration is correct.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 17 Sep 2007 06:40:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-problem/m-p/5068960#M438418</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-09-17T06:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Root disk problem.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-problem/m-p/5068961#M438419</link>
      <description>As mentioned before, see&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;There is everything you need.&lt;BR /&gt;&lt;BR /&gt;Regarding your steps:&lt;BR /&gt;&lt;BR /&gt;No need for steps 2, 3 and 4&lt;BR /&gt;&lt;BR /&gt;start with step 1 followed by 5 and extend this step with the disk device.&lt;BR /&gt;&lt;BR /&gt;step10:&lt;BR /&gt;lvlnboot -r /dev/vg00/lvol3 &lt;BR /&gt;lvlnboot -b /dev/vg00/lvol1&lt;BR /&gt;lvlnboot -s /dev/vg00/lvol2 &lt;BR /&gt;lvlnboot -d /dev/vg00/lvol2 &lt;BR /&gt;&lt;BR /&gt;step 11:&lt;BR /&gt;lvlnboot -v&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;@SEP:&lt;BR /&gt;&lt;BR /&gt;in current 11.11 the file updatediaglif/2 (offline diagnostics) is no longer there.&lt;BR /&gt;&lt;BR /&gt;It is now avaiolable from &lt;A href="http://software.hp.com" target="_blank"&gt;http://software.hp.com&lt;/A&gt;&lt;BR /&gt;and installed via swinstall (if needed).</description>
      <pubDate>Mon, 17 Sep 2007 07:42:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-problem/m-p/5068961#M438419</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2007-09-17T07:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Root disk problem.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-problem/m-p/5068962#M438420</link>
      <description>Successfully changed the disk without any problem following the above procedure.&lt;BR /&gt;&lt;BR /&gt;Thanks evryone.</description>
      <pubDate>Wed, 26 Sep 2007 07:31:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-problem/m-p/5068962#M438420</guid>
      <dc:creator>AnthonySN</dc:creator>
      <dc:date>2007-09-26T07:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Root disk problem.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-problem/m-p/5068963#M438421</link>
      <description>followed the given procedure.</description>
      <pubDate>Wed, 26 Sep 2007 07:32:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-problem/m-p/5068963#M438421</guid>
      <dc:creator>AnthonySN</dc:creator>
      <dc:date>2007-09-26T07:32:02Z</dc:date>
    </item>
  </channel>
</rss>

