<?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: Failed disk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/failed-disk/m-p/4872402#M623830</link>
    <description>All sorted now</description>
    <pubDate>Fri, 26 Nov 2004 04:25:17 GMT</pubDate>
    <dc:creator>Mike Duffy_1</dc:creator>
    <dc:date>2004-11-26T04:25:17Z</dc:date>
    <item>
      <title>Failed disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/failed-disk/m-p/4872392#M623820</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Failed disk in jamaca enclosure.  Does not show up in ioscan.&lt;BR /&gt;New disk inserted, now shows up in ioscan and diskinfo -v show details.&lt;BR /&gt;Next step...create the pv&lt;BR /&gt;&lt;BR /&gt;pvcreate -f /dev/rdsk/c7t13d0&lt;BR /&gt;pvcreate: The physical volume "/dev/dsk/c7t13d0" is already recorded in the "/etc/lvmtab" file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any one got any ideas? Quick please I would like to go home</description>
      <pubDate>Thu, 25 Nov 2004 13:41:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/failed-disk/m-p/4872392#M623820</guid>
      <dc:creator>Mike Duffy_1</dc:creator>
      <dc:date>2004-11-25T13:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Failed disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/failed-disk/m-p/4872393#M623821</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you have to use vgcfgrestore command to restore&lt;BR /&gt;disk structures because your disk c7t13d0 belongs to some vg group.&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -n vg_name /dev/rdsk/c7t13d0&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Nov 2004 14:22:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/failed-disk/m-p/4872393#M623821</guid>
      <dc:creator>Slawomir Gora</dc:creator>
      <dc:date>2004-11-25T14:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Failed disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/failed-disk/m-p/4872394#M623822</link>
      <description>The new disk is not going to have any data structures on it. Your /etc/lvmtab information may be confused.&lt;BR /&gt;&lt;BR /&gt;If vgcfgrestore doews not work, you'll need to vgreduce /dev/vg01 /dev/rdsk/c7t13d0&lt;BR /&gt;&lt;BR /&gt;then vgextend /dev/vg01 dev/rdsk/c7t13d0&lt;BR /&gt;&lt;BR /&gt;Use the actual volume group, not vg01 which I gave for example purposes.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 25 Nov 2004 14:33:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/failed-disk/m-p/4872394#M623822</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-11-25T14:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Failed disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/failed-disk/m-p/4872395#M623823</link>
      <description>You have to do vgcfgrestore to restore LVM volume group configuration and than restore from backup. If this disk is a part of vg00 than you have to do more steps. Pl. clarify and I can post more information.Because device file is same and it already present in /etc/lvmtab.</description>
      <pubDate>Thu, 25 Nov 2004 14:34:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/failed-disk/m-p/4872395#M623823</guid>
      <dc:creator>SS_6</dc:creator>
      <dc:date>2004-11-25T14:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Failed disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/failed-disk/m-p/4872396#M623824</link>
      <description>Hi&lt;BR /&gt;you don't need to do the pvcreate command, all that you need to do is the vgcfgrestor&lt;BR /&gt;vgcfgrestore -n /dev/vg01 /dev/rdsk/c7t13d0&lt;BR /&gt;vgchange -a y /dev/vg01&lt;BR /&gt;&lt;BR /&gt;that should restore your volume group structure, then you have to restore the lvols and data attached to it..&lt;BR /&gt;&lt;BR /&gt;hope this helps&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Nov 2004 15:27:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/failed-disk/m-p/4872396#M623824</guid>
      <dc:creator>OZ_4</dc:creator>
      <dc:date>2004-11-25T15:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Failed disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/failed-disk/m-p/4872397#M623825</link>
      <description>Thanks for all the info but I have tried all the stuff and nothing worked.&lt;BR /&gt;&lt;BR /&gt;I have now logged a call with Hp anf they are looking into it.&lt;BR /&gt;&lt;BR /&gt;I will let you know how it goes.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Nov 2004 15:49:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/failed-disk/m-p/4872397#M623825</guid>
      <dc:creator>Mike Duffy_1</dc:creator>
      <dc:date>2004-11-25T15:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: Failed disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/failed-disk/m-p/4872398#M623826</link>
      <description>All of the suggestions assume that you have disk mirroring enabled. Without disk mirroring, all you will have with the new disk is empty disk space. If this volume group has files stored on all the disks, the filesystem is completely corrupt so you'll have to rebuild the VG and restore the data from your backups.&lt;BR /&gt; &lt;BR /&gt;Now if this disk is indeed mirrored, the vgcfgrestore should work just fine. If you are getting error messages, please post them so we can provide more help.</description>
      <pubDate>Thu, 25 Nov 2004 19:30:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/failed-disk/m-p/4872398#M623826</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-11-25T19:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Failed disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/failed-disk/m-p/4872399#M623827</link>
      <description>Hi Mike&lt;BR /&gt;&lt;BR /&gt;As mentioned in other posts, if mirror ux is there , then just vgcfgrstore will work. do like this&lt;BR /&gt;#vgcfgrestore -n /dev/&lt;VGNAME&gt; /dev/rdsk/&lt;DEVCEFILENAE&gt;&lt;BR /&gt;#vgchange -a y /dev/&lt;VGNAME&gt;&lt;BR /&gt;&lt;BR /&gt;In above case you will not loose the data,as mirror copy exists.&lt;BR /&gt;&lt;BR /&gt;If mirroring is not ther, then&lt;BR /&gt;1) Remove the disk from VG&lt;BR /&gt;#ioscan -f ( This may take time)&lt;BR /&gt;#ioscan -funC disk&lt;BR /&gt;#vgreduce -f /dev/&lt;VGNAME&gt;&lt;BR /&gt;This will remove the disk, which is not accesible .&lt;BR /&gt;2) Then create PV in new disk&lt;BR /&gt;#ioscan -f&lt;BR /&gt;#ioscan -funC disk&lt;BR /&gt;( confirm the corect device)&lt;BR /&gt;#pvcreate /dev/rdsk/&lt;DEVICE file="" name=""&gt;&lt;BR /&gt;#vgextend /dev/&lt;VGNAME&gt; /dev/dsk/&lt;DEVICE file=""&gt;&lt;BR /&gt;#vgdisplay -v /dev/&lt;VGNAME&gt;&lt;BR /&gt;( This will display the disks in VG)&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Suraj&lt;BR /&gt;&lt;/VGNAME&gt;&lt;/DEVICE&gt;&lt;/VGNAME&gt;&lt;/DEVICE&gt;&lt;/VGNAME&gt;&lt;/VGNAME&gt;&lt;/DEVCEFILENAE&gt;&lt;/VGNAME&gt;</description>
      <pubDate>Thu, 25 Nov 2004 22:56:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/failed-disk/m-p/4872399#M623827</guid>
      <dc:creator>SYS ADMIN_7</dc:creator>
      <dc:date>2004-11-25T22:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Failed disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/failed-disk/m-p/4872400#M623828</link>
      <description>I would expect that you should be able to restore the LVM structure to the disk using vgcfgrestore as already discussed - this should work even if the volumes aren't mirrored using Mirrordisk-UX - this will simply re-write the LVM information to the new physical device - difference is that if you had no mirroring you will have lost data and will subsequently have to restore that from tape.&lt;BR /&gt;&lt;BR /&gt;I have had these sort of issues before. A good start point is to run :&lt;BR /&gt;&lt;BR /&gt;#strings /etc/lvmtab&lt;BR /&gt;&lt;BR /&gt;This will at least tell you what the system THINKS is in LVM at the moment.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.</description>
      <pubDate>Fri, 26 Nov 2004 04:21:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/failed-disk/m-p/4872400#M623828</guid>
      <dc:creator>Ian Foster_2</dc:creator>
      <dc:date>2004-11-26T04:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Failed disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/failed-disk/m-p/4872401#M623829</link>
      <description>Thanks for all the replies.&lt;BR /&gt;HP could not do much with this problem because although the disk was find it would not allow the cfg restore.&lt;BR /&gt;I have unmounted the vg,  disabled it, performed the cfg restore and activated it in exclusive mode.&lt;BR /&gt;The syncing is now taking place.&lt;BR /&gt;&lt;BR /&gt;Again thanks for all the replies</description>
      <pubDate>Fri, 26 Nov 2004 04:24:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/failed-disk/m-p/4872401#M623829</guid>
      <dc:creator>Mike Duffy_1</dc:creator>
      <dc:date>2004-11-26T04:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Failed disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/failed-disk/m-p/4872402#M623830</link>
      <description>All sorted now</description>
      <pubDate>Fri, 26 Nov 2004 04:25:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/failed-disk/m-p/4872402#M623830</guid>
      <dc:creator>Mike Duffy_1</dc:creator>
      <dc:date>2004-11-26T04:25:17Z</dc:date>
    </item>
  </channel>
</rss>

