<?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: Boot disk replacement. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-disk-replacement/m-p/2636460#M42507</link>
    <description>I would add disk2 and mirror it before you remove disk0.&lt;BR /&gt;&lt;BR /&gt;Also this will change your primary boot path if you remove disk0 from vg00.&lt;BR /&gt;&lt;BR /&gt;You can change this in the gsp.&lt;BR /&gt;&lt;BR /&gt;That should work although I have to admit I have never done it that way.&lt;BR /&gt;&lt;BR /&gt;I have always just replaced the failed disk.&lt;BR /&gt;then did a &lt;BR /&gt;&lt;BR /&gt;vgcfgbackup /dev/vg00&lt;BR /&gt;vgchange -a y /dev/vg00&lt;BR /&gt;vgsynce /dev/vg00 /dev/dsk/c#t#d#</description>
    <pubDate>Fri, 28 Dec 2001 15:57:33 GMT</pubDate>
    <dc:creator>Krishna Prasad</dc:creator>
    <dc:date>2001-12-28T15:57:33Z</dc:date>
    <item>
      <title>Boot disk replacement.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-disk-replacement/m-p/2636458#M42505</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a situation where my boot disk DISK0 need to be replaced. &lt;BR /&gt;&lt;BR /&gt;The system has booted of DISK0 which is mirrored to DISK1 in vg00.&lt;BR /&gt;&lt;BR /&gt;Now that DISK0 is failing, Can i remove DISK0 from vg00 leaving only DISK1 in vg00 even though i booted of DISK0.&lt;BR /&gt;&lt;BR /&gt;My plan is to remove DISK0 from vg00 and add another free disk DISK2 to vg00 and mirror it to DISK1. &lt;BR /&gt;&lt;BR /&gt;I intend to replace DISK0 during our maintenance window.&lt;BR /&gt;&lt;BR /&gt;I know the procedure to mirror boot disk. But&lt;BR /&gt;i am not sure if i can remove the disk that i booted of, from VG00 and still have the system running.&lt;BR /&gt;&lt;BR /&gt;thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; i was wondering if i can remove DISK1 from VG00</description>
      <pubDate>Fri, 28 Dec 2001 15:49:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-disk-replacement/m-p/2636458#M42505</guid>
      <dc:creator>Jack Daniels_1</dc:creator>
      <dc:date>2001-12-28T15:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Boot disk replacement.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-disk-replacement/m-p/2636459#M42506</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This doc might helpful for creating a root disk.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support2.external.hp.com/cki/bin/doc.pl/sid=01a26460086dbbad44/screen=ckiDisplayDocument?docId=200000056639312" target="_blank"&gt;http://us-support2.external.hp.com/cki/bin/doc.pl/sid=01a26460086dbbad44/screen=ckiDisplayDocument?docId=200000056639312&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Goodluck,&lt;BR /&gt;-USA..</description>
      <pubDate>Fri, 28 Dec 2001 15:53:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-disk-replacement/m-p/2636459#M42506</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2001-12-28T15:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Boot disk replacement.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-disk-replacement/m-p/2636460#M42507</link>
      <description>I would add disk2 and mirror it before you remove disk0.&lt;BR /&gt;&lt;BR /&gt;Also this will change your primary boot path if you remove disk0 from vg00.&lt;BR /&gt;&lt;BR /&gt;You can change this in the gsp.&lt;BR /&gt;&lt;BR /&gt;That should work although I have to admit I have never done it that way.&lt;BR /&gt;&lt;BR /&gt;I have always just replaced the failed disk.&lt;BR /&gt;then did a &lt;BR /&gt;&lt;BR /&gt;vgcfgbackup /dev/vg00&lt;BR /&gt;vgchange -a y /dev/vg00&lt;BR /&gt;vgsynce /dev/vg00 /dev/dsk/c#t#d#</description>
      <pubDate>Fri, 28 Dec 2001 15:57:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-disk-replacement/m-p/2636460#M42507</guid>
      <dc:creator>Krishna Prasad</dc:creator>
      <dc:date>2001-12-28T15:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Boot disk replacement.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-disk-replacement/m-p/2636461#M42508</link>
      <description>Hi Jack,&lt;BR /&gt;&lt;BR /&gt;It shouldn't be a problem. In fact, your system is running by making use of the mirror copies.&lt;BR /&gt;&lt;BR /&gt;If you are replacing DISK0 with DISK2, then the process is easy.&lt;BR /&gt;&lt;BR /&gt;Replace the disk and run the following commands. You would boot up by hpux -lq by interrupting the ISL.&lt;BR /&gt;&lt;BR /&gt;#vgcfgrestore -n /dev/vg00 /dev/rdsk/c?t?d?&lt;BR /&gt;#vgchange -a y vg00&lt;BR /&gt;#mkboot /dev/rdsk/c?t?d?&lt;BR /&gt;#mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c?t?d?&lt;BR /&gt;#cd /usr/sbin/diag/lif&lt;BR /&gt;#mkboot -vb $LIF -p ISL -p HPUX -p AUTO&lt;BR /&gt;(LIF is updatediaglif2 for 11.0 updatediaglif for 10.20)&lt;BR /&gt;#vgsync&lt;BR /&gt;#lvlnboot -R&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If DISK2 is a seperate disk than DISK0, then you need to remove DISK0 from vg00. To reduce it, you need to remove the logical volumes on the disk from the configuration.&lt;BR /&gt;&lt;BR /&gt;Do an lvdisplay -v -k /dev/vg00/lvol1 and note the pvkey (k) number. Then use lvreduce -m 0 -k /dev/vg00/lvol1 pvkey&lt;BR /&gt;&lt;BR /&gt;Repeat this process for every logical volume. Each will take pretty long time if the disk is inaccessable. Once all the lvs are removed from the failed disk, you can vgreduce the disk without any problem.&lt;BR /&gt;&lt;BR /&gt;Then you can use regular procedure to mirror DISK2.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Dec 2001 16:06:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-disk-replacement/m-p/2636461#M42508</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-12-28T16:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Boot disk replacement.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-disk-replacement/m-p/2636462#M42509</link>
      <description>I did this just yesterday.&lt;BR /&gt;&lt;BR /&gt;I broke the mirror by making disk 1 primary. Then vgexported disk 0 out of vg00. Changed setboot to use the disk 1 hardware address. Shutdown the system replaced the disk with a new one and booted back up.  Once up mirrored disk 1 to disk 0 and then broke the mirror moving disk 0 to primary, then remirrored to disk 1. Changed setboot to use hardware address of 0. Thus the server was in the original configuration. The whole thing took less than an hour.&lt;BR /&gt;&lt;BR /&gt;GL,&lt;BR /&gt;C</description>
      <pubDate>Fri, 28 Dec 2001 16:17:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-disk-replacement/m-p/2636462#M42509</guid>
      <dc:creator>Craig Rants</dc:creator>
      <dc:date>2001-12-28T16:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Boot disk replacement.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/boot-disk-replacement/m-p/2636463#M42510</link>
      <description>Is this disk a hot-swappable disk?&lt;BR /&gt;&lt;BR /&gt;If so, you can do this:&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -n /dev/vg00 /dev/dsk/c?t?d0&lt;BR /&gt;&lt;BR /&gt;mkboot (all steps to make bootable disk)&lt;BR /&gt;&lt;BR /&gt;vgsync&lt;BR /&gt;&lt;BR /&gt;That is all it takes to replace a hot swappable disk.  There isn't any reason to go through all the work of removing the disk from the VG and then re-extending the VG and re-mirroring.&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Dec 2001 20:19:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/boot-disk-replacement/m-p/2636463#M42510</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-12-28T20:19:37Z</dc:date>
    </item>
  </channel>
</rss>

