<?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: replace disk in mirrored stripeset ? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirrored-stripeset/m-p/2966445#M631981</link>
    <description>An easy way to do this is like follows (not realy supported and only if you have a hot-swap-disk):&lt;BR /&gt;&lt;BR /&gt;?? remove the disk you want to change&lt;BR /&gt;?? run 'vgchange -a y vgXY'&lt;BR /&gt;?? insert the new disk&lt;BR /&gt;?? run 'vgchange -a y vgXY' again&lt;BR /&gt;?? run 'vgcfgrestore ...'&lt;BR /&gt;?? run 'vgsync vgXY'&lt;BR /&gt;&lt;BR /&gt;Regards ...&lt;BR /&gt;Armin</description>
    <pubDate>Tue, 06 May 2003 10:11:36 GMT</pubDate>
    <dc:creator>Armin Feller</dc:creator>
    <dc:date>2003-05-06T10:11:36Z</dc:date>
    <item>
      <title>replace disk in mirrored stripeset ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirrored-stripeset/m-p/2966443#M631979</link>
      <description>Hi peers,&lt;BR /&gt;I have to replace a failed Hot-Swap-disk in a mirrored stripeset. I read the man pages, but could not find my special(?) case.&lt;BR /&gt;&lt;BR /&gt;I use extend-based mirrored stripes. The Volume was created this way:&lt;BR /&gt;&lt;BR /&gt;Volumegroup&lt;BR /&gt;vgcreate -g PVG0 /dev/vgdb /dev/dsk/c1t3d0 /dev/dsk/c1t2d0&lt;BR /&gt;&lt;BR /&gt;vgextend -g PVG1 /dev/vgdb /dev/dsk/c4t3d0&lt;BR /&gt;vgextend -g PVG1 /dev/vgdb /dev/dsk/c4t2d0&lt;BR /&gt;&lt;BR /&gt;and LV&lt;BR /&gt;lvcreate -D y -s g -m 1 -L 500 -n oradata /dev/vgdb&lt;BR /&gt;&lt;BR /&gt;so as far as I know you can create this only in one single step. It is not possible to first create a stripe set over  some disks and afterwards mirroroing this set on some other disks ...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now I need to replace one disk ... the manual says to reduce the disk from the vg, replace it, and mirror it back onto&lt;BR /&gt;&lt;BR /&gt;this seems to be a contradiction to me&lt;BR /&gt;&lt;BR /&gt;So what would be the right steps for me ?&lt;BR /&gt;&lt;BR /&gt;Christian</description>
      <pubDate>Tue, 06 May 2003 10:00:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirrored-stripeset/m-p/2966443#M631979</guid>
      <dc:creator>Christian Schulze</dc:creator>
      <dc:date>2003-05-06T10:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: replace disk in mirrored stripeset ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirrored-stripeset/m-p/2966444#M631980</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;I follow this steps when I have to replace a mirror disk.&lt;BR /&gt;&lt;BR /&gt;1 - Replace the disk&lt;BR /&gt;&lt;BR /&gt;2 - restore lvm information&lt;BR /&gt;#vgcfgrestore -n /dev/vgxx /dev/dsk/cxtxdx&lt;BR /&gt;&lt;BR /&gt;3 - reactivate the vg&lt;BR /&gt;#vgchange -a y vgxx&lt;BR /&gt;&lt;BR /&gt;4 - resync the vg&lt;BR /&gt;#vgsync vgxx&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;best regards</description>
      <pubDate>Tue, 06 May 2003 10:07:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirrored-stripeset/m-p/2966444#M631980</guid>
      <dc:creator>LucianoCarvalho</dc:creator>
      <dc:date>2003-05-06T10:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: replace disk in mirrored stripeset ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirrored-stripeset/m-p/2966445#M631981</link>
      <description>An easy way to do this is like follows (not realy supported and only if you have a hot-swap-disk):&lt;BR /&gt;&lt;BR /&gt;?? remove the disk you want to change&lt;BR /&gt;?? run 'vgchange -a y vgXY'&lt;BR /&gt;?? insert the new disk&lt;BR /&gt;?? run 'vgchange -a y vgXY' again&lt;BR /&gt;?? run 'vgcfgrestore ...'&lt;BR /&gt;?? run 'vgsync vgXY'&lt;BR /&gt;&lt;BR /&gt;Regards ...&lt;BR /&gt;Armin</description>
      <pubDate>Tue, 06 May 2003 10:11:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirrored-stripeset/m-p/2966445#M631981</guid>
      <dc:creator>Armin Feller</dc:creator>
      <dc:date>2003-05-06T10:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: replace disk in mirrored stripeset ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirrored-stripeset/m-p/2966446#M631982</link>
      <description>Thanks &lt;BR /&gt;&lt;BR /&gt;I would like to do it this way, but all manuals keep saying first to lvreduce ...&lt;BR /&gt;&lt;BR /&gt;I have a running Oracle DB in this vg which is very important to us.&lt;BR /&gt;&lt;BR /&gt;Of course I have a backup, archivelogs and all other things needed for a recovery (and it worked some weeks ago)&lt;BR /&gt;&lt;BR /&gt;I think I will try it tomorrow morning ...&lt;BR /&gt;&lt;BR /&gt;Christian&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;- I will assign points tomorrow after lunch !</description>
      <pubDate>Tue, 06 May 2003 10:18:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirrored-stripeset/m-p/2966446#M631982</guid>
      <dc:creator>Christian Schulze</dc:creator>
      <dc:date>2003-05-06T10:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: replace disk in mirrored stripeset ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirrored-stripeset/m-p/2966447#M631983</link>
      <description>There is absolutely no reason to lvreduce / vgreduce the bad disk out of the VG.  It may not work anyway if the disk it totally bad.  &lt;BR /&gt;&lt;BR /&gt;The steps you have been given work and work quite well.&lt;BR /&gt;&lt;BR /&gt;For more information check out the "Software Recovery Handbook" located here: &lt;A href="http://www2.itrc.hp.com/service/iv/node.do?node=prod%2FWW_Start%2FN1%7C16" target="_blank"&gt;http://www2.itrc.hp.com/service/iv/node.do?node=prod%2FWW_Start%2FN1%7C16&lt;/A&gt; and check out "Chapter 16: LVM".  It goes over the steps to recover hot swap drives, though it, too, says to lvreduce, which I disagree with.</description>
      <pubDate>Tue, 06 May 2003 12:34:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirrored-stripeset/m-p/2966447#M631983</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-05-06T12:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: replace disk in mirrored stripeset ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirrored-stripeset/m-p/2966448#M631984</link>
      <description>Thanks to all&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore and vgsync worked &lt;BR /&gt;&lt;BR /&gt;This saved my weekend ...&lt;BR /&gt;&lt;BR /&gt;Christian</description>
      <pubDate>Thu, 08 May 2003 11:01:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replace-disk-in-mirrored-stripeset/m-p/2966448#M631984</guid>
      <dc:creator>Christian Schulze</dc:creator>
      <dc:date>2003-05-08T11:01:29Z</dc:date>
    </item>
  </channel>
</rss>

