<?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: Internal drive failure in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/internal-drive-failure/m-p/2736522#M66640</link>
    <description>Actually, the vgcfgrestore command should take care of all the LVM stuff for you. This does assume that a vgcfgbackup was done. By default, most of the LVM commands do a vgcfgbackup automatically. Man vgcfgrestore for details. NOTE: This will only restore the LVM stuff; the actual data (e.g. filesystems) is up to you.&lt;BR /&gt;</description>
    <pubDate>Mon, 03 Jun 2002 16:56:34 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2002-06-03T16:56:34Z</dc:date>
    <item>
      <title>Internal drive failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/internal-drive-failure/m-p/2736521#M66639</link>
      <description>Hi all.&lt;BR /&gt;&lt;BR /&gt;Our production server has a bad internal drive in it.  Running HPUX 11.0, hardware is an L3000.&lt;BR /&gt;&lt;BR /&gt;The drive is one of two internal drives, and luckily not the primary boot disk.  It is identified as an alternate drive though.&lt;BR /&gt;&lt;BR /&gt;I am NOT running Mirror/UX, however I do have the drive configured as a boot disk.  I manually keep it in sync with the primary root drive every month or so.    I also have a good Ignite-UX recovery tape ready to go.&lt;BR /&gt;&lt;BR /&gt;Is there anything special I should do before the HP tech swaps the drive?  I'm assuming I will need to rebuild the drive from the ground up, but I was more concerned about the LVM information being corrupted.&lt;BR /&gt;&lt;BR /&gt;It seems I would want to remove all the logical volumes and the volume group first, but I cannot communicate with the drive right now.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for any advice.&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Mon, 03 Jun 2002 16:52:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/internal-drive-failure/m-p/2736521#M66639</guid>
      <dc:creator>Tim Medford</dc:creator>
      <dc:date>2002-06-03T16:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Internal drive failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/internal-drive-failure/m-p/2736522#M66640</link>
      <description>Actually, the vgcfgrestore command should take care of all the LVM stuff for you. This does assume that a vgcfgbackup was done. By default, most of the LVM commands do a vgcfgbackup automatically. Man vgcfgrestore for details. NOTE: This will only restore the LVM stuff; the actual data (e.g. filesystems) is up to you.&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Jun 2002 16:56:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/internal-drive-failure/m-p/2736522#M66640</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-06-03T16:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Internal drive failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/internal-drive-failure/m-p/2736523#M66641</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Was your failed drive configured in VG00 ???&lt;BR /&gt;&lt;BR /&gt;If your drive has failed then you cannot modify the vg paramaters in it.&lt;BR /&gt;&lt;BR /&gt;When u get a new drive, I recommend that you should do a mirroring of the new drive ( root mirror )&lt;BR /&gt;You can do a vgcfgrestore for restoring the vg info on the new drive.&lt;BR /&gt;&lt;BR /&gt;#vgcfgrestore /dev/vg00 /dev/dsk/c1t1d0 ( new disk)&lt;BR /&gt;&lt;BR /&gt;Piyush</description>
      <pubDate>Mon, 03 Jun 2002 17:01:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/internal-drive-failure/m-p/2736523#M66641</guid>
      <dc:creator>PIYUSH D. PATEL</dc:creator>
      <dc:date>2002-06-03T17:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Internal drive failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/internal-drive-failure/m-p/2736524#M66642</link>
      <description>Hi Tim,&lt;BR /&gt;&lt;BR /&gt;If you don't have Mirror/UX on this system, how are you syncing the alternate disk with the primary root. Are you using dd. IF so, there is no problem, just get the drive repalced and then again do a dd. There is no question of any vgremove or anything in this sort of situation. &lt;BR /&gt;&lt;BR /&gt;I think the situation would be more clear if you can tell us, how you are syncing the disk in the absence of mirror/ux.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;regds&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Jun 2002 17:05:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/internal-drive-failure/m-p/2736524#M66642</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-06-03T17:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Internal drive failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/internal-drive-failure/m-p/2736525#M66643</link>
      <description>Thanks for the information guys.  I followed directions from an HP instructor for manually mirroring the drive.&lt;BR /&gt;&lt;BR /&gt;I created the boot disk using all the standard commands, pvcreate, vgcreate, lvcreate mkboot, lifcp, etc....  I then copied the root data over in this manner: &lt;BR /&gt;&lt;BR /&gt;cd /stand&lt;BR /&gt;find . -xdev -depth -print | cpio -pdxm /newroot/stand&lt;BR /&gt;&lt;BR /&gt;Repeated this for all root LVs.  Once a month a cron job runs which synchronizes the data using a find/cpio.&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Jun 2002 17:18:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/internal-drive-failure/m-p/2736525#M66643</guid>
      <dc:creator>Tim Medford</dc:creator>
      <dc:date>2002-06-03T17:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Internal drive failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/internal-drive-failure/m-p/2736526#M66644</link>
      <description>Instead of doing cpio you can go for rdist for distributing the data.&lt;BR /&gt;&lt;BR /&gt;Sandip</description>
      <pubDate>Mon, 03 Jun 2002 17:24:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/internal-drive-failure/m-p/2736526#M66644</guid>
      <dc:creator>Sandip Ghosh</dc:creator>
      <dc:date>2002-06-03T17:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Internal drive failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/internal-drive-failure/m-p/2736527#M66645</link>
      <description>Hi Tim,&lt;BR /&gt;&lt;BR /&gt;If you have created another vg for this other disk, once you have done the pvcreate -B and vgcfgrestore for the disk, do lvlnboot for the boot/swap/root/dump volumes for this vg's lv.&lt;BR /&gt;&lt;BR /&gt;then mount the LV's to the directories where they get mounted and then do a copy like you do on a monthly basis.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Jun 2002 17:48:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/internal-drive-failure/m-p/2736527#M66645</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-06-03T17:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Internal drive failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/internal-drive-failure/m-p/2736528#M66646</link>
      <description>Thanks again for all the advice.&lt;BR /&gt;&lt;BR /&gt;The new drive is now installed.  When I try to do a pvcreate -B to initialize it I get a message "pvcreate: The physical volume "/dev/dsk/c2t2d0" is already recorded in the "/etc/lvmtab" file."&lt;BR /&gt;&lt;BR /&gt;Can I simply start with the vgcfgrestore or do I need to use pvcreate -B to make it a bootable disk first?&lt;BR /&gt;&lt;BR /&gt;I have all the LVM info printed on hard copy.  It might be safer and easier just to vgexport the /dev/vgroot volume and start over?&lt;BR /&gt;&lt;BR /&gt;Just bouncing some ideas off you.  Thanks again.</description>
      <pubDate>Mon, 03 Jun 2002 22:53:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/internal-drive-failure/m-p/2736528#M66646</guid>
      <dc:creator>Tim Medford</dc:creator>
      <dc:date>2002-06-03T22:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Internal drive failure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/internal-drive-failure/m-p/2736529#M66647</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Try running the 'vgcfgrestore' first before attempting to make the disk bootable. I think this will explain why the message was appearing.&lt;BR /&gt;&lt;BR /&gt;# vgcfgrestore -n /dev/yourvg /dev/dsk/cxtydz&lt;BR /&gt;&lt;BR /&gt;To create the first part of the root disk. &lt;BR /&gt;Replace the hardware address and device as necessary&lt;BR /&gt;in the mkboot command.&lt;BR /&gt;&lt;BR /&gt;# pvcreate -Bf /dev/rdsk/c2t6d0&lt;BR /&gt;# mkboot /dev/rdsk/c2t6d0&lt;BR /&gt;# mkboot -a "hpux -lq (0/0/2/1.6.0;0)/stand/vmunix" /dev/dsk/c2t6d0&lt;BR /&gt;&lt;BR /&gt;Then do your 'cpio' I think that should &lt;BR /&gt;do it....&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;~Michael~</description>
      <pubDate>Tue, 04 Jun 2002 02:24:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/internal-drive-failure/m-p/2736529#M66647</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-06-04T02:24:08Z</dc:date>
    </item>
  </channel>
</rss>

