<?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: root disk missing? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-missing/m-p/5048422#M434397</link>
    <description>Thank you everyone.</description>
    <pubDate>Tue, 22 May 2007 12:27:14 GMT</pubDate>
    <dc:creator>Mike Boswell_1</dc:creator>
    <dc:date>2007-05-22T12:27:14Z</dc:date>
    <item>
      <title>root disk missing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-missing/m-p/5048410#M434385</link>
      <description>I have a server hpux 11.0 that has a failed root disk.  It is mirrored and hot-swappable. Ioscan does not show the device. Insf -e does not create the dev file.  I would like to replace the bad drive.  2 things, are the following steps correct? and how do I vgreduce when there is no device file? &lt;BR /&gt;&lt;BR /&gt;Thanks Mike&lt;BR /&gt;&lt;BR /&gt;1) vgreduce /dev/vg00 /dev/dsk/c2t2d0&lt;BR /&gt;2) physically pull out the bad disk and put in the good.&lt;BR /&gt;3) mkboot -l /dev/rdsk/c2t2d0&lt;BR /&gt;4) mkboot -a "hpux -lq" /dev/rdsk/c2t2d0&lt;BR /&gt;5) vgsync vg00&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;  vgdisplay -v vg00&lt;BR /&gt;vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t2d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;vgdisplay: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vg00&lt;BR /&gt;VG Write Access             read/write&lt;BR /&gt;VG Status                   available&lt;BR /&gt;Max LV                      255&lt;BR /&gt;Cur LV                      8&lt;BR /&gt;Open LV                     8&lt;BR /&gt;Max PV                      16&lt;BR /&gt;Cur PV                      2&lt;BR /&gt;Act PV                      1&lt;BR /&gt;Max PE per PV               2500&lt;BR /&gt;VGDA                        2&lt;BR /&gt;PE Size (Mbytes)            4&lt;BR /&gt;Total PE                    2169&lt;BR /&gt;Alloc PE                    1704&lt;BR /&gt;Free PE                     465&lt;BR /&gt;Total PVG                   0&lt;BR /&gt;Total Spare PVs             0&lt;BR /&gt;Total Spare PVs in use      0&lt;BR /&gt;&lt;BR /&gt;~~~~~~~   cut ~~~~~~~~&lt;BR /&gt;&lt;BR /&gt; --- Physical volumes ---&lt;BR /&gt;   PV Name                     /dev/dsk/c1t2d0&lt;BR /&gt;vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t2d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;vgdisplay: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    2169&lt;BR /&gt;   Free PE                     465&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;</description>
      <pubDate>Tue, 22 May 2007 08:42:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-missing/m-p/5048410#M434385</guid>
      <dc:creator>Mike Boswell_1</dc:creator>
      <dc:date>2007-05-22T08:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: root disk missing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-missing/m-p/5048411#M434386</link>
      <description>you do not need to vgreduce.&lt;BR /&gt;omit step 1&lt;BR /&gt;after installing the new disk, use vgcfgrestore to restore LVM layout to the disc.&lt;BR /&gt;Then do the vgsync&lt;BR /&gt;</description>
      <pubDate>Tue, 22 May 2007 08:45:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-missing/m-p/5048411#M434386</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2007-05-22T08:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: root disk missing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-missing/m-p/5048412#M434387</link>
      <description>Clarify.  Ioscan does not show c2t2d0 but the device file exists in /dev/dsk/ and /dev/rdsk.</description>
      <pubDate>Tue, 22 May 2007 08:47:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-missing/m-p/5048412#M434387</guid>
      <dc:creator>Mike Boswell_1</dc:creator>
      <dc:date>2007-05-22T08:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: root disk missing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-missing/m-p/5048413#M434388</link>
      <description>1) Pull drive and replace&lt;BR /&gt;2) Use vgcfgrestore on the replaced drive&lt;BR /&gt;3) vgsync</description>
      <pubDate>Tue, 22 May 2007 08:49:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-missing/m-p/5048413#M434388</guid>
      <dc:creator>David Child_1</dc:creator>
      <dc:date>2007-05-22T08:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: root disk missing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-missing/m-p/5048414#M434389</link>
      <description>Sorry, I believe you will need to do a pvcreate -B on the drive before vgcfgrestore. It's been a little while since I've had to replace on.&lt;BR /&gt;&lt;BR /&gt;David</description>
      <pubDate>Tue, 22 May 2007 08:51:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-missing/m-p/5048414#M434389</guid>
      <dc:creator>David Child_1</dc:creator>
      <dc:date>2007-05-22T08:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: root disk missing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-missing/m-p/5048415#M434390</link>
      <description>After putting the replacing the drive, do an ioscan to verify that it can be seen.  You could try doing a diskinfo on the drive to make sure it is accessable.&lt;BR /&gt;&lt;BR /&gt;After that, do the vgcfgrestore as recommended above.  I would then do 'vgchange -a y vg00' and then a 'vgsync vg00' to sync all VGs.</description>
      <pubDate>Tue, 22 May 2007 08:51:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-missing/m-p/5048415#M434390</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2007-05-22T08:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: root disk missing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-missing/m-p/5048416#M434391</link>
      <description>Thanks, Few more questions.&lt;BR /&gt;&lt;BR /&gt;Anyway for me to confirm the vg00.conf file is good?&lt;BR /&gt;&lt;BR /&gt;What about mkboot commands?  Will the vgcfgrestore restore those configs ?&lt;BR /&gt;&lt;BR /&gt;Mike</description>
      <pubDate>Tue, 22 May 2007 09:07:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-missing/m-p/5048416#M434391</guid>
      <dc:creator>Mike Boswell_1</dc:creator>
      <dc:date>2007-05-22T09:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: root disk missing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-missing/m-p/5048417#M434392</link>
      <description>Patrick,&lt;BR /&gt;Why the vgchange?  Wouldn't you expect it to already be active?  Or does this accomplish something else?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;</description>
      <pubDate>Tue, 22 May 2007 09:50:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-missing/m-p/5048417#M434392</guid>
      <dc:creator>Mike Boswell_1</dc:creator>
      <dc:date>2007-05-22T09:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: root disk missing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-missing/m-p/5048418#M434393</link>
      <description>Hi,&lt;BR /&gt;From ypur input the procedure to be followed is&lt;BR /&gt;Replace the disk&lt;BR /&gt;run &lt;BR /&gt;#vgcfgrestore vg00 &lt;BR /&gt;for restoring the vg details to new disk.&lt;BR /&gt;Then create the mkboot&lt;BR /&gt;mkboot /dev/rdsk/c2t2d0&lt;BR /&gt;mkboot -a "hpux -lq" /dev/dsk/c2t2d0 &lt;BR /&gt;lvextend -m 1 /dev/vg00/boot /dev/dsk/c2t2d0 &lt;BR /&gt;similarly root,swap and all other Lvols in your vg00 volume.&lt;BR /&gt;Then update the vg00&lt;BR /&gt;lvlnboot -R&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 22 May 2007 09:59:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-missing/m-p/5048418#M434393</guid>
      <dc:creator>mavrick</dc:creator>
      <dc:date>2007-05-22T09:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: root disk missing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-missing/m-p/5048419#M434394</link>
      <description>For a root disk: &lt;BR /&gt;&lt;BR /&gt;After failed disk has been replaced by HP (assuming the disk is c2t2d0):&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -n /dev/vg00 /dev/rdsk/c2t2d0&lt;BR /&gt;&lt;BR /&gt;mkboot /dev/rdsk/c2t2d0&lt;BR /&gt;&lt;BR /&gt;mkboot -a "hpux -lq (;0) /stand/vmunix" /dev/rdsk/c2t2d0&lt;BR /&gt;&lt;BR /&gt;vgchange -a y /dev/vg00&lt;BR /&gt;&lt;BR /&gt;lvlnboot -Rv /dev/vg00&lt;BR /&gt;&lt;BR /&gt;vgsync /dev/vg00&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1) If the disk is completely "dead", such as if you run ioscan and status is "no_hw" then you can hot swap the disk online.&lt;BR /&gt;&lt;BR /&gt;2) However in circumstances where the disk has not fully failed please do one of the following to avoid data corruption :&lt;BR /&gt;&lt;BR /&gt;a) reduce mirror before replacing the disk&lt;BR /&gt;b) deactivate VG before replacing the disk&lt;BR /&gt;c) shutdown system to replace the disk&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Tue, 22 May 2007 12:04:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-missing/m-p/5048419#M434394</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2007-05-22T12:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: root disk missing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-missing/m-p/5048420#M434395</link>
      <description>Geoff,&lt;BR /&gt;&lt;BR /&gt;I am still wondering why the vgchange?  Vg00 will be online during the replacement.  c1t2d0, the mirror, will be accessed during the replacement.   Will you explain.  Also,  c2t2d0  does not show at all in ioscan.  Would you say its safe to pull out HOT?&lt;BR /&gt;&lt;BR /&gt;Mike</description>
      <pubDate>Tue, 22 May 2007 12:17:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-missing/m-p/5048420#M434395</guid>
      <dc:creator>Mike Boswell_1</dc:creator>
      <dc:date>2007-05-22T12:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: root disk missing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-missing/m-p/5048421#M434396</link>
      <description>Yes, you need the vgchange to activate the new disk in the vg.&lt;BR /&gt;&lt;BR /&gt;As far as ioscan, you should see something like:&lt;BR /&gt;&lt;BR /&gt;disk     13  1/0/4/0/0.1.19.0.0.0.0   sdisk    NO_HW       DEVICE       EMC     SYMMETRIX&lt;BR /&gt;                            /dev/dsk/c11t0d0   /dev/rdsk/c11t0d0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;But if c2t2d0, then it is really gone...&lt;BR /&gt;&lt;BR /&gt;Does the device file show in a ll /dev/dsk/c2t2d0 ?&lt;BR /&gt;&lt;BR /&gt;You may have to do a total re-mirror and may have to do a vgreduce -f&lt;BR /&gt;&lt;BR /&gt;I would try hot swapping it, then run a ioscan -fnC disk and an insf -eC disk&lt;BR /&gt;&lt;BR /&gt;Then see if it shows in your ioscan again...&lt;BR /&gt;&lt;BR /&gt;If yes, then just do the vgcfgrestore commands...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Tue, 22 May 2007 12:24:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-missing/m-p/5048421#M434396</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2007-05-22T12:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: root disk missing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-missing/m-p/5048422#M434397</link>
      <description>Thank you everyone.</description>
      <pubDate>Tue, 22 May 2007 12:27:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-missing/m-p/5048422#M434397</guid>
      <dc:creator>Mike Boswell_1</dc:creator>
      <dc:date>2007-05-22T12:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: root disk missing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-missing/m-p/5048423#M434398</link>
      <description>You are running 11.00 only - but, for newer versions there is a new command (switch):&lt;BR /&gt;&lt;BR /&gt;pvchange -a y|n ...&lt;BR /&gt;&lt;BR /&gt;to (de-)activate the disk for LVM use to make the hot-swap safe, 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;</description>
      <pubDate>Tue, 22 May 2007 12:57:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-disk-missing/m-p/5048423#M434398</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2007-05-22T12:57:34Z</dc:date>
    </item>
  </channel>
</rss>

