<?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: Change Disk on a Cluster in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/change-disk-on-a-cluster/m-p/2437382#M656451</link>
    <description>1st question:&lt;BR /&gt;You do not have to boot the system in single&lt;BR /&gt;user mode. Because it is a mirrored&lt;BR /&gt;filesystem, you just have to replace the&lt;BR /&gt;disk. Then perform a 'pvcreate' to make&lt;BR /&gt;the new disk available to the system. Then&lt;BR /&gt;perform 'vgcfgrestore -n vg08 &lt;PVPATH&gt;'.&lt;BR /&gt;Now, you have to set up the mirror:&lt;BR /&gt;vgsync vg08. This should be all. No other&lt;BR /&gt;action on the other node.&lt;BR /&gt;&lt;BR /&gt;2nd question:&lt;BR /&gt;I assume, the defective disk is a member&lt;BR /&gt;of an existing volume group with more than&lt;BR /&gt;one disk. Backup all logical volumes that&lt;BR /&gt;do have data on the defective disk (see&lt;BR /&gt;lvdisplay -v &lt;LVOL&gt;). Remove the logical&lt;BR /&gt;volumes you have backed up before&lt;BR /&gt;(lvreduce). Reduce the volume group&lt;BR /&gt;by taking away the defectice disk: vgreduce&lt;BR /&gt;&lt;VG&gt; &lt;DEFECTIVE pvpath=""&gt;. Replace the disk.&lt;BR /&gt;Then use pvcreate to make the new disk&lt;BR /&gt;available to the system. Use 'vgextend &lt;VG&gt;&lt;BR /&gt;&lt;PVPATH&gt;' to put the new disk into the&lt;BR /&gt;volume group. Use 'lvcreate' to recreate&lt;BR /&gt;the logical volumes you backed up before.&lt;BR /&gt;Use 'newfs' to create filesystems. Restore&lt;BR /&gt;the data from the tape.&lt;BR /&gt;&lt;BR /&gt;The following procedure is necessary for&lt;BR /&gt;question 2 and also for question 1 if&lt;BR /&gt;the replacement has a different capacity:&lt;BR /&gt;&lt;BR /&gt;On the host with mounted filesystems:&lt;BR /&gt;Export the volume group information to&lt;BR /&gt;a map file:&lt;BR /&gt;vgexport -p -s -m /tmp/vg08.map vg08&lt;BR /&gt;&lt;BR /&gt;On the other host (without having actually&lt;BR /&gt;mounted the filesystems):&lt;BR /&gt;Remove the old volume group information:&lt;BR /&gt;vgexport vg08&lt;BR /&gt;Create a new group character file:&lt;BR /&gt;mkdir /dev/vg08&lt;BR /&gt;mknod /dev/vg08/group c 64 0x??0000&lt;BR /&gt;'??' must be the same as on the first node.&lt;BR /&gt;vgimport -m /nfs/firstnode/tmp/vg08.map &lt;BR /&gt;-s -v vg08&lt;BR /&gt;&lt;BR /&gt;That's how I changed defective disks.&lt;/PVPATH&gt;&lt;/VG&gt;&lt;/DEFECTIVE&gt;&lt;/VG&gt;&lt;/LVOL&gt;&lt;/PVPATH&gt;</description>
    <pubDate>Thu, 17 Aug 2000 17:19:08 GMT</pubDate>
    <dc:creator>Thomas Schler_1</dc:creator>
    <dc:date>2000-08-17T17:19:08Z</dc:date>
    <item>
      <title>Change Disk on a Cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-disk-on-a-cluster/m-p/2437379#M656448</link>
      <description>Dear all,&lt;BR /&gt;&lt;BR /&gt;We just found out there are two defective disks on a two-node cluster.  One disk has a mirrored copy.  The other one does not.  So we are planning to replace those disks.&lt;BR /&gt;&lt;BR /&gt;For the one which has a mirrored copy:&lt;BR /&gt;&lt;BR /&gt;1) remove defective disk&lt;BR /&gt;2) Place in new disk&lt;BR /&gt;3) boot system in single user mode&lt;BR /&gt;4) vgcfgrestore -n /dev/vg08 /dev/rdsk/c4t10d0&lt;BR /&gt;&lt;BR /&gt;**  Will this command let the system mirror all the data from the mirrored copy to this new disk?  Before I do a " vgcfgrestore ", do I need to do any backup?&lt;BR /&gt;&lt;BR /&gt;For the one does not have a mirrored copy:&lt;BR /&gt;1) Backup all the data on the defective disk on tape&lt;BR /&gt;2) Remove the defective disk&lt;BR /&gt;3) Place the new disk in&lt;BR /&gt;4) *** How do I do with this new disk in LVM?  Re - do " pvcreate, vgcreate"?  How do I make the other node in the cluster recognize it?  Before I take out the disk, shall I do any " vgexport" ?&lt;BR /&gt;&lt;BR /&gt;Thank you very much for your help!!&lt;BR /&gt;&lt;BR /&gt;Sharon</description>
      <pubDate>Thu, 17 Aug 2000 12:12:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-disk-on-a-cluster/m-p/2437379#M656448</guid>
      <dc:creator>Sharon Bi</dc:creator>
      <dc:date>2000-08-17T12:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Change Disk on a Cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-disk-on-a-cluster/m-p/2437380#M656449</link>
      <description>Sharon,&lt;BR /&gt;&lt;BR /&gt;There is a document in the ITRC Knowledge Base that has the steps outlined.  See "Procedure for replacing an LVM disk in HP-UX 10.x and 11.x" DocId: KBAN00000347 &lt;BR /&gt;</description>
      <pubDate>Thu, 17 Aug 2000 12:17:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-disk-on-a-cluster/m-p/2437380#M656449</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2000-08-17T12:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Change Disk on a Cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-disk-on-a-cluster/m-p/2437381#M656450</link>
      <description>Yes, you have to do vgcfgbackup and vgexport on both disk. Before then, back up all you files on to a tape. You can also use Ignite-UX make_recovery and make_net_recovery for this actions.</description>
      <pubDate>Thu, 17 Aug 2000 12:25:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-disk-on-a-cluster/m-p/2437381#M656450</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2000-08-17T12:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Change Disk on a Cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-disk-on-a-cluster/m-p/2437382#M656451</link>
      <description>1st question:&lt;BR /&gt;You do not have to boot the system in single&lt;BR /&gt;user mode. Because it is a mirrored&lt;BR /&gt;filesystem, you just have to replace the&lt;BR /&gt;disk. Then perform a 'pvcreate' to make&lt;BR /&gt;the new disk available to the system. Then&lt;BR /&gt;perform 'vgcfgrestore -n vg08 &lt;PVPATH&gt;'.&lt;BR /&gt;Now, you have to set up the mirror:&lt;BR /&gt;vgsync vg08. This should be all. No other&lt;BR /&gt;action on the other node.&lt;BR /&gt;&lt;BR /&gt;2nd question:&lt;BR /&gt;I assume, the defective disk is a member&lt;BR /&gt;of an existing volume group with more than&lt;BR /&gt;one disk. Backup all logical volumes that&lt;BR /&gt;do have data on the defective disk (see&lt;BR /&gt;lvdisplay -v &lt;LVOL&gt;). Remove the logical&lt;BR /&gt;volumes you have backed up before&lt;BR /&gt;(lvreduce). Reduce the volume group&lt;BR /&gt;by taking away the defectice disk: vgreduce&lt;BR /&gt;&lt;VG&gt; &lt;DEFECTIVE pvpath=""&gt;. Replace the disk.&lt;BR /&gt;Then use pvcreate to make the new disk&lt;BR /&gt;available to the system. Use 'vgextend &lt;VG&gt;&lt;BR /&gt;&lt;PVPATH&gt;' to put the new disk into the&lt;BR /&gt;volume group. Use 'lvcreate' to recreate&lt;BR /&gt;the logical volumes you backed up before.&lt;BR /&gt;Use 'newfs' to create filesystems. Restore&lt;BR /&gt;the data from the tape.&lt;BR /&gt;&lt;BR /&gt;The following procedure is necessary for&lt;BR /&gt;question 2 and also for question 1 if&lt;BR /&gt;the replacement has a different capacity:&lt;BR /&gt;&lt;BR /&gt;On the host with mounted filesystems:&lt;BR /&gt;Export the volume group information to&lt;BR /&gt;a map file:&lt;BR /&gt;vgexport -p -s -m /tmp/vg08.map vg08&lt;BR /&gt;&lt;BR /&gt;On the other host (without having actually&lt;BR /&gt;mounted the filesystems):&lt;BR /&gt;Remove the old volume group information:&lt;BR /&gt;vgexport vg08&lt;BR /&gt;Create a new group character file:&lt;BR /&gt;mkdir /dev/vg08&lt;BR /&gt;mknod /dev/vg08/group c 64 0x??0000&lt;BR /&gt;'??' must be the same as on the first node.&lt;BR /&gt;vgimport -m /nfs/firstnode/tmp/vg08.map &lt;BR /&gt;-s -v vg08&lt;BR /&gt;&lt;BR /&gt;That's how I changed defective disks.&lt;/PVPATH&gt;&lt;/VG&gt;&lt;/DEFECTIVE&gt;&lt;/VG&gt;&lt;/LVOL&gt;&lt;/PVPATH&gt;</description>
      <pubDate>Thu, 17 Aug 2000 17:19:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-disk-on-a-cluster/m-p/2437382#M656451</guid>
      <dc:creator>Thomas Schler_1</dc:creator>
      <dc:date>2000-08-17T17:19:08Z</dc:date>
    </item>
  </channel>
</rss>

