<?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: Replacing Internal Hot-Swap Drive on an rp7400 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-internal-hot-swap-drive-on-an-rp7400/m-p/2993824#M124952</link>
    <description>The pvcreate was not necessary.&lt;BR /&gt;&lt;BR /&gt;1) vgcfgrestore -n /dev/vg00 /dev/rdsk/c1t6d0&lt;BR /&gt;2) vgchange -a y /dev/vg00&lt;BR /&gt;3) mkboot /dev/rdsk/c1t6d0&lt;BR /&gt;4) mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t6d0&lt;BR /&gt;5) lvlnboot -R&lt;BR /&gt;6) vgsync /dev/vg00&lt;BR /&gt;&lt;BR /&gt;When possible, shutdown and make certain that you can boot from the new disk.&lt;BR /&gt;&lt;BR /&gt;I'm a little surprised that you needed to reboot because the box should have stayed up.&lt;BR /&gt;&lt;BR /&gt;P.S. Truly paranoid Sysadmins will keep spare drives on-hand even when under maintenance.&lt;BR /&gt;</description>
    <pubDate>Tue, 10 Jun 2003 20:20:58 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2003-06-10T20:20:58Z</dc:date>
    <item>
      <title>Replacing Internal Hot-Swap Drive on an rp7400</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-internal-hot-swap-drive-on-an-rp7400/m-p/2993821#M124949</link>
      <description>Ok... Yesterday morning the primary internal disk on one of our rp7400's died.  I rebooted off of the second drive, which was mirroring the primary drive, and everything came back up.  I have since recieved the replacement drive, and swapped out the failed drive with it.  While I've been an HP-UX admin for about 4 years now, this is the first time I've done this, and I want to make sure I don't screw anything up seeing as this is the PeopleSoft server (which cuts our paychecks :))  All I've done is a:&lt;BR /&gt;&lt;BR /&gt;pvcreate -B /dev/rdsk/c1t6d0&lt;BR /&gt;&lt;BR /&gt;And I'm not quite positive where to go from here.  The backup disk (which it booted off of) is:&lt;BR /&gt;&lt;BR /&gt;/dev/dsk/c2t6d0&lt;BR /&gt;&lt;BR /&gt;What do I need to do to get the new disk mirrored and synced up?</description>
      <pubDate>Tue, 10 Jun 2003 20:07:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-internal-hot-swap-drive-on-an-rp7400/m-p/2993821#M124949</guid>
      <dc:creator>Andrew Griffin</dc:creator>
      <dc:date>2003-06-10T20:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing Internal Hot-Swap Drive on an rp7400</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-internal-hot-swap-drive-on-an-rp7400/m-p/2993822#M124950</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It's quite easy and straightforward with hot-swappable disks. Below is the procedure.&lt;BR /&gt;&lt;BR /&gt;#vgcfgrestore -n vg00 /dev/rdsk/c1t6d0&lt;BR /&gt;#vgchange -a y vg00&lt;BR /&gt;#mkboot -l /dev/rdsk/c1t6d0&lt;BR /&gt;#cd /usr/sbin/diag/lif&lt;BR /&gt;(update offline diag tools)&lt;BR /&gt;#mkboot -vb updatediaglif2 -p ISL -p AUTO -p HPUX -p LABEL /dev/rdsk/c1t6d0&lt;BR /&gt;#mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t6d0&lt;BR /&gt;#lvlnboot -b /dev/vg00/lvol1&lt;BR /&gt;#lvlnboot -s /dev/vg00/lvol2&lt;BR /&gt;#lvlnboot -r /dev/vg00/lvol3&lt;BR /&gt;#lvlnboot -d /dev/vg00/lvol2&lt;BR /&gt;#lvlnboot -R&lt;BR /&gt;#lvlnboot -v&lt;BR /&gt;&lt;BR /&gt;(make sure both the disks are showing up as boot disks)&lt;BR /&gt;&lt;BR /&gt;Now sync up the mirrors&lt;BR /&gt;&lt;BR /&gt;#vgsync vg00&lt;BR /&gt;#vgchange -a y vg00&lt;BR /&gt;&lt;BR /&gt;Verify that there are no stale entries&lt;BR /&gt;&lt;BR /&gt;#vgdisplay -v vg00 |grep stale&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Jun 2003 20:17:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-internal-hot-swap-drive-on-an-rp7400/m-p/2993822#M124950</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-06-10T20:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing Internal Hot-Swap Drive on an rp7400</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-internal-hot-swap-drive-on-an-rp7400/m-p/2993823#M124951</link>
      <description>Here's what I do:&lt;BR /&gt;&lt;BR /&gt;# pvcreate -f -B /dev/rdsk/c1t6d0&lt;BR /&gt;# vgcfgrestre -n vg00 /dev/rdsk/c1t6d0&lt;BR /&gt;# mkboot /dev/rdsk/c1t6d0&lt;BR /&gt;# mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t6d0&lt;BR /&gt;# vgchange -a y vg00&lt;BR /&gt;# vgsync&lt;BR /&gt;&lt;BR /&gt;# lvlnboot -v&lt;BR /&gt;&lt;BR /&gt;just to verify that everything is still OK after the above steps.&lt;BR /&gt;&lt;BR /&gt;All this can safely be done while the machine is up and people are working.&lt;BR /&gt;&lt;BR /&gt;Also just a point -- If your disks were mirrored correctly, you should not have had to reboot in order for the mirror to take over.  It should have just taken over automagically.</description>
      <pubDate>Tue, 10 Jun 2003 20:20:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-internal-hot-swap-drive-on-an-rp7400/m-p/2993823#M124951</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-06-10T20:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing Internal Hot-Swap Drive on an rp7400</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-internal-hot-swap-drive-on-an-rp7400/m-p/2993824#M124952</link>
      <description>The pvcreate was not necessary.&lt;BR /&gt;&lt;BR /&gt;1) vgcfgrestore -n /dev/vg00 /dev/rdsk/c1t6d0&lt;BR /&gt;2) vgchange -a y /dev/vg00&lt;BR /&gt;3) mkboot /dev/rdsk/c1t6d0&lt;BR /&gt;4) mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t6d0&lt;BR /&gt;5) lvlnboot -R&lt;BR /&gt;6) vgsync /dev/vg00&lt;BR /&gt;&lt;BR /&gt;When possible, shutdown and make certain that you can boot from the new disk.&lt;BR /&gt;&lt;BR /&gt;I'm a little surprised that you needed to reboot because the box should have stayed up.&lt;BR /&gt;&lt;BR /&gt;P.S. Truly paranoid Sysadmins will keep spare drives on-hand even when under maintenance.&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Jun 2003 20:20:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-internal-hot-swap-drive-on-an-rp7400/m-p/2993824#M124952</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-06-10T20:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing Internal Hot-Swap Drive on an rp7400</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-internal-hot-swap-drive-on-an-rp7400/m-p/2993825#M124953</link>
      <description>Hi,&lt;BR /&gt;there are two ways of getting c1t6d0 return the primary boot disk.&lt;BR /&gt;&lt;BR /&gt;The first one is proceding as mirroring it from the secondary disk:&lt;BR /&gt;first extend the vg (vgextend /dev/vg00 /dev/dsk/c1t6d0)&lt;BR /&gt;then make HP_UX know that disk is bootable and where finding the kernel (mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t6d0);&lt;BR /&gt;then extend all logical volumes&lt;BR /&gt;&lt;BR /&gt;- lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t6d0&lt;BR /&gt;- lvextend -m1 lvolx&lt;BR /&gt;- lvext...&lt;BR /&gt;..&lt;BR /&gt;- lvextend -m 1 lvol9 on c1t6d0&lt;BR /&gt;&lt;BR /&gt;the last thing is make the three firs lvol being the boot ones (lvlnboot -Rv /dev/vg00)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The second way is backing up the vg structure from a previously backed up file (vgcfgrestore)&lt;BR /&gt;&lt;BR /&gt;Gino</description>
      <pubDate>Tue, 10 Jun 2003 20:28:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-internal-hot-swap-drive-on-an-rp7400/m-p/2993825#M124953</guid>
      <dc:creator>Gino Casella</dc:creator>
      <dc:date>2003-06-10T20:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing Internal Hot-Swap Drive on an rp7400</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-internal-hot-swap-drive-on-an-rp7400/m-p/2993826#M124954</link>
      <description>All good suggestions - I called in a software support call before I had a chance to re-check this thread and the software support person said basically the same things.  However, I needed to boot in to single-user mode to do it.  Now I have an even bigger problem, I can't get the system to boot in to single-user mode.  After I put in "hpux -is -lq" in the ISL menu, it panics on a VFS_MOUNTROOTFSs type of error.  I've seen this before - you know how when you do a "lvlnboot -v" command, and it tells you the boot, root, and swap logical volumes.  I've seen the exact same errors on a system where the boot logical volume information was dropped because of a mis-type lvlnboot command.  Now I'm trying to boot from the install CD and I'm going to try to recover this lvlnboot setting via a recovery session.  However, it's taking forever for it to boot from the CD, it's been booting for ~15 minutes now.... Please, any suggestions are more than welcome.</description>
      <pubDate>Tue, 10 Jun 2003 23:09:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-internal-hot-swap-drive-on-an-rp7400/m-p/2993826#M124954</guid>
      <dc:creator>Andrew Griffin</dc:creator>
      <dc:date>2003-06-10T23:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing Internal Hot-Swap Drive on an rp7400</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-internal-hot-swap-drive-on-an-rp7400/m-p/2993827#M124955</link>
      <description>The first time I saw this error, I wasn't the one recovering the system and the other sys admin ended up having to re-install the system.  It was only after he was done re-installing the system that he figured out that the culprit was the lvlnboot command.  What should I do once I get this booted in to the recovery shell?</description>
      <pubDate>Tue, 10 Jun 2003 23:11:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-internal-hot-swap-drive-on-an-rp7400/m-p/2993827#M124955</guid>
      <dc:creator>Andrew Griffin</dc:creator>
      <dc:date>2003-06-10T23:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing Internal Hot-Swap Drive on an rp7400</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-internal-hot-swap-drive-on-an-rp7400/m-p/2993828#M124956</link>
      <description>or maybe there's a way to specify the boot logical volume in the boot menu or ISL menu?  It's still booting off of the CD - up to ~30 minutes now... It's stopped at the memory information section - there's 10Gb of memory in this system, could that be what's causing it to take so long?</description>
      <pubDate>Tue, 10 Jun 2003 23:13:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-internal-hot-swap-drive-on-an-rp7400/m-p/2993828#M124956</guid>
      <dc:creator>Andrew Griffin</dc:creator>
      <dc:date>2003-06-10T23:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Replacing Internal Hot-Swap Drive on an rp7400</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-internal-hot-swap-drive-on-an-rp7400/m-p/2993829#M124957</link>
      <description>Don't worry about being in single-user mode.  There really is no real need for it.  Go ahead and boot back up into multi-user mode and go ahead with the procedure.&lt;BR /&gt;&lt;BR /&gt;This is a "hot-swap" drive so really there is never any need to reboot at all if you are correctly mirrored.</description>
      <pubDate>Tue, 10 Jun 2003 23:29:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-internal-hot-swap-drive-on-an-rp7400/m-p/2993829#M124957</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-06-10T23:29:50Z</dc:date>
    </item>
  </channel>
</rss>

