<?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: How to restore a split mirror? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restore-a-split-mirror/m-p/3860735#M612375</link>
    <description>Thank you guys for the quick response!&lt;BR /&gt;&lt;BR /&gt;It looks like I have installed hp-ux MirrorDisk software: &lt;BR /&gt;&lt;BR /&gt;swlist | grep -i MirrorDisk&lt;BR /&gt;  B2491BA                                       B.11.00        MirrorDisk/UX&lt;BR /&gt;&lt;BR /&gt;And I've already tried to use lvsplit and lvmerge, works fine.&lt;BR /&gt;&lt;BR /&gt;Thank you!</description>
    <pubDate>Mon, 11 Sep 2006 16:33:40 GMT</pubDate>
    <dc:creator>Mikhail_7</dc:creator>
    <dc:date>2006-09-11T16:33:40Z</dc:date>
    <item>
      <title>How to restore a split mirror?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restore-a-split-mirror/m-p/3860732#M612372</link>
      <description>Task: Up-coming big upgrade, in case of any problems during upgrade, we're need the fast recover procedure to revert all changes back ASAP.&lt;BR /&gt;&lt;BR /&gt;It's takes much time to recover vg00 and vgxx from the tape.&lt;BR /&gt;&lt;BR /&gt;I'm planning to split all mirrors and use a mirrored copies in case of full restore actions or just some part of conf files.&lt;BR /&gt;&lt;BR /&gt;How is it possible to recover all vgxx from the mirrored copy or to be able to mount a broken mirror device to recover some original files?&lt;BR /&gt;&lt;BR /&gt;I've tried to split, for example, vg00 with &lt;BR /&gt;lvreduce -m 0 /dev/vg00/lvolxx /dev/dsk/cxtxdx&lt;BR /&gt;vgreduce /dev/vg00 /dev/dsk/cxtxdx &lt;BR /&gt;&lt;BR /&gt;and then &lt;BR /&gt;&lt;BR /&gt;mkdir /dev/vg08&lt;BR /&gt;mknod /dev/vg08 c 64 0x080000&lt;BR /&gt;vgimport /dev/vg08 /dev/dsk/cxtxdx&lt;BR /&gt;vgchange -a y /dev/vg08&lt;BR /&gt;&lt;BR /&gt;but, without any success with this output:&lt;BR /&gt;&lt;BR /&gt;vgchange -a y -q n /dev/vg08&lt;BR /&gt;vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c1t2d0":&lt;BR /&gt;Cross-device link&lt;BR /&gt;vgchange: Warning: couldn't query physical volume "/dev/dsk/c1t2d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt; this volume group&lt;BR /&gt;vgchange: Couldn't query the list of physical volumes.&lt;BR /&gt;vgchange: Couldn't activate volume group "/dev/vg08":&lt;BR /&gt;Quorum not present, or some physical volume(s) are missing.&lt;BR /&gt;&lt;BR /&gt;strings /etc/lvmtab&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/dsk/c2t2d0&lt;BR /&gt;/dev/vg08&lt;BR /&gt;/dev/dsk/c1t2d0&lt;BR /&gt;&lt;BR /&gt;Before split actions it was just:&lt;BR /&gt;strings /etc/lvmtab&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/dsk/c2t2d0&lt;BR /&gt;/dev/dsk/c1t2d0&lt;BR /&gt;&lt;BR /&gt;Any advises, useful links are appreciate!&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Sep 2006 16:04:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restore-a-split-mirror/m-p/3860732#M612372</guid>
      <dc:creator>Mikhail_7</dc:creator>
      <dc:date>2006-09-11T16:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to restore a split mirror?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restore-a-split-mirror/m-p/3860733#M612373</link>
      <description>Use lvsplit&lt;BR /&gt;&lt;BR /&gt;NAME&lt;BR /&gt;      lvsplit - split mirrored LVM logical volume into two logical volumes&lt;BR /&gt;&lt;BR /&gt; SYNOPSIS&lt;BR /&gt;      /usr/sbin/lvsplit [-A autobackup] [-s suffix] [-g PhysicalVolumeGroup]&lt;BR /&gt;           lv_path ...&lt;BR /&gt;&lt;BR /&gt;    Remarks&lt;BR /&gt;      This command requires the installation of the optional HP MirrorDisk/UX&lt;BR /&gt;      software (not included in the standard HP-UX operating system) before&lt;BR /&gt;      it can be used.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Mon, 11 Sep 2006 16:12:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restore-a-split-mirror/m-p/3860733#M612373</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-09-11T16:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to restore a split mirror?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restore-a-split-mirror/m-p/3860734#M612374</link>
      <description>lvreduce -m 0 doesn't split a mirror; it removes the mirror -- permanently. Likewise for vgreduce. Now you need to remirror all your LVOLS then test to make certain that you can boot from either drive.&lt;BR /&gt;&lt;BR /&gt;To split a mirror, you use lvsplit. Man lvsplit for details.&lt;BR /&gt;&lt;BR /&gt;In your case, what I would do after getting the system completely remirrored and booting from either disk is shutdown and remove the alternate boot disk and put it somewhere out of the way. That way, no matter what you do, you can't destroy that data. You will need to interrupt the boot and at the ISL prompt use "hpux -lq" to override quorum and if you must boot from your saved disk then you do the same thing.</description>
      <pubDate>Mon, 11 Sep 2006 16:15:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restore-a-split-mirror/m-p/3860734#M612374</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-09-11T16:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to restore a split mirror?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restore-a-split-mirror/m-p/3860735#M612375</link>
      <description>Thank you guys for the quick response!&lt;BR /&gt;&lt;BR /&gt;It looks like I have installed hp-ux MirrorDisk software: &lt;BR /&gt;&lt;BR /&gt;swlist | grep -i MirrorDisk&lt;BR /&gt;  B2491BA                                       B.11.00        MirrorDisk/UX&lt;BR /&gt;&lt;BR /&gt;And I've already tried to use lvsplit and lvmerge, works fine.&lt;BR /&gt;&lt;BR /&gt;Thank you!</description>
      <pubDate>Mon, 11 Sep 2006 16:33:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-restore-a-split-mirror/m-p/3860735#M612375</guid>
      <dc:creator>Mikhail_7</dc:creator>
      <dc:date>2006-09-11T16:33:40Z</dc:date>
    </item>
  </channel>
</rss>

