<?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: Primary boot disk replacement in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/primary-boot-disk-replacement/m-p/4113384#M598945</link>
    <description>Hi Brian,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf" target="_blank"&gt;http://www.docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;What kind of server is this?&lt;BR /&gt;&lt;BR /&gt;# uname -a&lt;BR /&gt;&lt;BR /&gt;# model&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
    <pubDate>Fri, 07 Dec 2007 13:11:36 GMT</pubDate>
    <dc:creator>Robert-Jan Goossens</dc:creator>
    <dc:date>2007-12-07T13:11:36Z</dc:date>
    <item>
      <title>Primary boot disk replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/primary-boot-disk-replacement/m-p/4113383#M598944</link>
      <description>I have two disks c1t2d0 (primary)  and c2t2d0. I have to replace the primary disk as there are some stale extents. should i shutdown the box to change the disk since the machine was booted off the primary disk? since these are hot swappable disk what would be the best way to replace them without shutting down the box.&lt;BR /&gt;&lt;BR /&gt;Please help&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Brian.</description>
      <pubDate>Fri, 07 Dec 2007 13:08:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/primary-boot-disk-replacement/m-p/4113383#M598944</guid>
      <dc:creator>brian_31</dc:creator>
      <dc:date>2007-12-07T13:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Primary boot disk replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/primary-boot-disk-replacement/m-p/4113384#M598945</link>
      <description>Hi Brian,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf" target="_blank"&gt;http://www.docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;What kind of server is this?&lt;BR /&gt;&lt;BR /&gt;# uname -a&lt;BR /&gt;&lt;BR /&gt;# model&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Fri, 07 Dec 2007 13:11:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/primary-boot-disk-replacement/m-p/4113384#M598945</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2007-12-07T13:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Primary boot disk replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/primary-boot-disk-replacement/m-p/4113385#M598946</link>
      <description>Brian,&lt;BR /&gt;&lt;BR /&gt;Here's a great reference for exactly your situation:&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;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 07 Dec 2007 13:11:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/primary-boot-disk-replacement/m-p/4113385#M598946</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2007-12-07T13:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Primary boot disk replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/primary-boot-disk-replacement/m-p/4113386#M598947</link>
      <description>if mirrored corecly shuting down is not needed, but when you are making the replacement make sure the os know that the disk is removed befor you are putting in the new disk, if you do it to fast you will os will be lost! so make sure it is on NO_HW before you are pleasing the new disk in the server.&lt;BR /&gt;you can prevent this by unmirroring it in the first please, &lt;BR /&gt;I this shuting down will give you more problems than it solves.....&lt;BR /&gt;&lt;BR /&gt;ater repleasment (whitout the unmirroring)&lt;BR /&gt;Restore LVM info &lt;BR /&gt;   vgcfgrestore -n /dev/vg00 /dev/rdsk/cXtYdZ&lt;BR /&gt;Re-activate vg &lt;BR /&gt;   vgchange -a y vgname&lt;BR /&gt;Synchronise vg &lt;BR /&gt;   vgsync vgname &lt;BR /&gt;For boot disk: &lt;BR /&gt;   mkboot /dev/rdsk/cXtYdZ&lt;BR /&gt;  XtYdZ&lt;BR /&gt;   mkboot -a "hpux (0;)/stand/vmunix" /dev/rdsk/cXtYdZ &lt;BR /&gt;Check: &lt;BR /&gt;&lt;BR /&gt;   lvdisplay -v /dev/vgname/lvol*&lt;BR /&gt;   vgdisplay -v vgname&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Dec 2007 13:13:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/primary-boot-disk-replacement/m-p/4113386#M598947</guid>
      <dc:creator>F Verschuren</dc:creator>
      <dc:date>2007-12-07T13:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Primary boot disk replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/primary-boot-disk-replacement/m-p/4113387#M598948</link>
      <description>this is a lclass server. when i do the the lvdisplay the alternate mirrors are in current state.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Brian.</description>
      <pubDate>Fri, 07 Dec 2007 13:17:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/primary-boot-disk-replacement/m-p/4113387#M598948</guid>
      <dc:creator>brian_31</dc:creator>
      <dc:date>2007-12-07T13:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Primary boot disk replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/primary-boot-disk-replacement/m-p/4113388#M598949</link>
      <description>Replacing mirrored primary boot disk is discussed here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1179693" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1179693&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Dec 2007 13:18:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/primary-boot-disk-replacement/m-p/4113388#M598949</guid>
      <dc:creator>Shrikant Lavhate</dc:creator>
      <dc:date>2007-12-07T13:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: Primary boot disk replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/primary-boot-disk-replacement/m-p/4113389#M598950</link>
      <description>Hi Brian:&lt;BR /&gt;&lt;BR /&gt;Save yourself grief and take a few minutes to read the whitepaper cited by Robert-Jan: 'When_Good_Disks_Go_Bad'.  Then proceed.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 07 Dec 2007 13:21:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/primary-boot-disk-replacement/m-p/4113389#M598950</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-12-07T13:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Primary boot disk replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/primary-boot-disk-replacement/m-p/4113390#M598951</link>
      <description>No need to shutdown anything.&lt;BR /&gt;Read and follow the mentioned manual.&lt;BR /&gt;If this is an L-class server (aka rp54xx), hardware pathes are written next to the disks - you cannot go wrong.</description>
      <pubDate>Fri, 07 Dec 2007 13:23:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/primary-boot-disk-replacement/m-p/4113390#M598951</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2007-12-07T13:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Primary boot disk replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/primary-boot-disk-replacement/m-p/4113391#M598952</link>
      <description>Hi Brian,&lt;BR /&gt;&lt;BR /&gt;I would suggest you to ensure the is installed with LVM OLR patches before replacing the disk online (if os is 11.11 or 11.23).&lt;BR /&gt;&lt;BR /&gt;If yes then you can deactivate the PV with the below command.&lt;BR /&gt;&lt;BR /&gt;#pvchange -a n /dev/dsk/c1t2d0&lt;BR /&gt;Replace the disk&lt;BR /&gt;Run ioscan&lt;BR /&gt;Check the the disk status in ioscan if its claimed or not.&lt;BR /&gt;&lt;BR /&gt;then run&lt;BR /&gt;&lt;BR /&gt;#vgcfgrestore /dev/rdsk/c1t2d0&lt;BR /&gt;#pvchange -a y /dev/dsk/c1t2d0&lt;BR /&gt;#vgchnage -a y vg00&lt;BR /&gt;# mkboot -l /dev/rdsk/c1t2d0&lt;BR /&gt;# mkboot -a "hpux -lq" /dev/rdsk/c1t2d0&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;# lvlnboot -R&lt;BR /&gt;# lvlnboot -v&lt;BR /&gt;# vgsync vg00&lt;BR /&gt;&lt;BR /&gt;NOTE: The synchronization process can be time consuming, depending on the hardware characteristics and the amount of data&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Prashanth&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 08 Dec 2007 08:26:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/primary-boot-disk-replacement/m-p/4113391#M598952</guid>
      <dc:creator>Prashanth.D.S</dc:creator>
      <dc:date>2007-12-08T08:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: Primary boot disk replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/primary-boot-disk-replacement/m-p/4113392#M598953</link>
      <description>Here is what i follow&lt;BR /&gt;&lt;BR /&gt;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>Sun, 09 Dec 2007 23:13:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/primary-boot-disk-replacement/m-p/4113392#M598953</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-12-09T23:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Primary boot disk replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/primary-boot-disk-replacement/m-p/4113393#M598954</link>
      <description>hi brian,&lt;BR /&gt;&lt;BR /&gt;Last moonth, I have changed my primary boot disk with same problem with your system. No need to reboot to replace the primary boot disk  failed (disk is hot swappable). First, I try to break mirror but failed, system said the lvol is busy. Than i unplug the primary disk (make sure that all logical volume is mirrored and the all PE of secondary disk is on "current" state), than plug your new disk.&lt;BR /&gt;&lt;BR /&gt;below the steps i have done (primary disk is c0t0d0):&lt;BR /&gt;# vgcfgrestore -n /dev/vg00 /dev/rdsk/c0t0d0&lt;BR /&gt;vgcfgrestore: Cannot restore Physical Volume "/dev/dsk/c0t0d0",&lt;BR /&gt;Detach the PV or detactivate the VG, before restoring the PV.&lt;BR /&gt;# pvchange -a n /dev/dsk/c0t0d0&lt;BR /&gt;# vgcfgrestore -n /dev/vg00 /dev/rdsk/c0t0d0&lt;BR /&gt;# pvchange -a y /dev/dsk/c0t0d0&lt;BR /&gt;# vgchange -a y /dev/vg00 &lt;BR /&gt;# mkboot -l /dev/dsk/c0t0d0&lt;BR /&gt;# mkboot -a "hpux -lq" /dev/rdsk/c0t0d0&lt;BR /&gt;# lvlnboot -R &lt;BR /&gt;&lt;BR /&gt;VG will automatically sysc data from secondary to primary when I run "vgchange -a y /dev/vg00".&lt;BR /&gt;&lt;BR /&gt;-yut-</description>
      <pubDate>Wed, 12 Dec 2007 07:01:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/primary-boot-disk-replacement/m-p/4113393#M598954</guid>
      <dc:creator>yulianto piyut</dc:creator>
      <dc:date>2007-12-12T07:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Primary boot disk replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/primary-boot-disk-replacement/m-p/4113394#M598955</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;#pvchange -a n /dev/c0t0d0&lt;BR /&gt;&lt;BR /&gt;Replace the disk.&lt;BR /&gt;&lt;BR /&gt;#vcfgrestore -n /dev/vg00 /dev/rdsk/c0t0d0&lt;BR /&gt;&lt;BR /&gt;#pvchange -a y /dev/cotodo&lt;BR /&gt;&lt;BR /&gt;#vgsync /dev/vg00&lt;BR /&gt;&lt;BR /&gt;#mkboot /dev/rdsk/cotodo&lt;BR /&gt;&lt;BR /&gt;#mkboot -a "hp -ux" /dev/rdsk/c0t0d0&lt;BR /&gt;&lt;BR /&gt;#shutdown -r -y now</description>
      <pubDate>Fri, 14 Dec 2007 16:37:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/primary-boot-disk-replacement/m-p/4113394#M598955</guid>
      <dc:creator>Indrajit Bhagat</dc:creator>
      <dc:date>2007-12-14T16:37:21Z</dc:date>
    </item>
  </channel>
</rss>

