<?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: Recover from failed disk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/recover-from-failed-disk/m-p/5147316#M565616</link>
    <description>Thank you very much JRF. You are quite right that it would be simpler to recreate everything from scratch. I was approaching it the other way because that was, as I read it, the way to go according to the HP document "When_Good_Disks_Go_Bad".</description>
    <pubDate>Fri, 19 Dec 2008 19:55:12 GMT</pubDate>
    <dc:creator>Richard Lathom</dc:creator>
    <dc:date>2008-12-19T19:55:12Z</dc:date>
    <item>
      <title>Recover from failed disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recover-from-failed-disk/m-p/5147312#M565612</link>
      <description>&lt;!--!*#--&gt;I have been asked to help someone recover from a failed disk on an HPUX11i v1 system. The disk is one of three(3) in a non-mirrored volume group with one(1) logical volume. There is no &lt;VGNAME&gt;.conf config file available. The contents can be restored from tape. All that needs done is restoring the volume group, logical volume and a blank filesystem. The disk has been replaced and shows in an ioscan with the same name as before. The steps I've worked out are:&lt;BR /&gt; &lt;BR /&gt;1) vgreduce -l  /dev/&lt;VGNAME&gt;&lt;BR /&gt;2) mv /etc/lvmtab /etc/lvmtab.old&lt;BR /&gt;3) rm /etc/lvmtab&lt;BR /&gt;4) vgscan -v&lt;BR /&gt;5) vgcfgbackup /dev/&lt;VGNAME&gt;&lt;BR /&gt;6) vgcfgrestore -n /dev/&lt;VGNAME&gt; /dev/rdsk/&lt;CXTXDX&gt;&lt;BR /&gt;7) mkfs -F vxfs /dev/&lt;VGNAME&gt;/&lt;RLVOL_NAME&gt;&lt;BR /&gt;8) mount /dev/&lt;VGNAME&gt;/&lt;LVOL_NAME&gt;&lt;BR /&gt;9) restore from tape&lt;BR /&gt;&lt;BR /&gt;Does that cover everything or am I missing something?&lt;BR /&gt;&lt;/LVOL_NAME&gt;&lt;/VGNAME&gt;&lt;/RLVOL_NAME&gt;&lt;/VGNAME&gt;&lt;/CXTXDX&gt;&lt;/VGNAME&gt;&lt;/VGNAME&gt;&lt;/VGNAME&gt;&lt;/VGNAME&gt;</description>
      <pubDate>Fri, 19 Dec 2008 18:34:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recover-from-failed-disk/m-p/5147312#M565612</guid>
      <dc:creator>Richard Lathom</dc:creator>
      <dc:date>2008-12-19T18:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Recover from failed disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recover-from-failed-disk/m-p/5147313#M565613</link>
      <description>Richard,&lt;BR /&gt;&lt;BR /&gt;This document should guide you:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf" target="_blank"&gt;http://www.docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 19 Dec 2008 18:55:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recover-from-failed-disk/m-p/5147313#M565613</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2008-12-19T18:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Recover from failed disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recover-from-failed-disk/m-p/5147314#M565614</link>
      <description>Thank you. That's the document I used to come up with this plan. I was just looking for confirmation that I hadn't overlooked anything.</description>
      <pubDate>Fri, 19 Dec 2008 19:03:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recover-from-failed-disk/m-p/5147314#M565614</guid>
      <dc:creator>Richard Lathom</dc:creator>
      <dc:date>2008-12-19T19:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Recover from failed disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recover-from-failed-disk/m-p/5147315#M565615</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Step-3 is superflous.  You remaned the 'lvmtab' in step-2 thus removing it :-)&lt;BR /&gt;&lt;BR /&gt;That aside, you indicated that you don't have a 'vgNN.conf' file to use with 'vgcfgrestore,  Hence I would simply create your volume group and logical volume from scratch:&lt;BR /&gt;&lt;BR /&gt;# vgchange -a n /dev/vgNN&lt;BR /&gt;# vgexport /dev/vgNN&lt;BR /&gt;# pvcreate ...&lt;BR /&gt;# mkdir /dev/vgNN&lt;BR /&gt;# mknod /dev/vgNN/group c 64 0xNN0000&lt;BR /&gt;# vgcreate ...&lt;BR /&gt;# lvcreate ...&lt;BR /&gt;# newfs ...&lt;BR /&gt;# mount ...&lt;BR /&gt;# [ restore data ]&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 19 Dec 2008 19:28:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recover-from-failed-disk/m-p/5147315#M565615</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-12-19T19:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Recover from failed disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recover-from-failed-disk/m-p/5147316#M565616</link>
      <description>Thank you very much JRF. You are quite right that it would be simpler to recreate everything from scratch. I was approaching it the other way because that was, as I read it, the way to go according to the HP document "When_Good_Disks_Go_Bad".</description>
      <pubDate>Fri, 19 Dec 2008 19:55:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recover-from-failed-disk/m-p/5147316#M565616</guid>
      <dc:creator>Richard Lathom</dc:creator>
      <dc:date>2008-12-19T19:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Recover from failed disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recover-from-failed-disk/m-p/5147317#M565617</link>
      <description>I used JRF's suggestion to start from scratch. The only glitch I ran into was not realizing at first that I had to use the -f (force) option with pvcreate on the two disks that the system still knew were assigned to the volume group I had just exported in the previous step. Once I fixed that everything went smoothly and all is well. My thanks again to JRF.</description>
      <pubDate>Mon, 22 Dec 2008 19:21:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recover-from-failed-disk/m-p/5147317#M565617</guid>
      <dc:creator>Richard Lathom</dc:creator>
      <dc:date>2008-12-22T19:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Recover from failed disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recover-from-failed-disk/m-p/5147318#M565618</link>
      <description>Thread closed. As noted above I was satisfied with the results of JRF's suggested plan.</description>
      <pubDate>Mon, 22 Dec 2008 19:25:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recover-from-failed-disk/m-p/5147318#M565618</guid>
      <dc:creator>Richard Lathom</dc:creator>
      <dc:date>2008-12-22T19:25:36Z</dc:date>
    </item>
  </channel>
</rss>

