<?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: Breaking a Mirror in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/breaking-a-mirror/m-p/5110685#M445905</link>
    <description>Thanks...</description>
    <pubDate>Mon, 26 May 2008 18:53:01 GMT</pubDate>
    <dc:creator>Mr.Right</dc:creator>
    <dc:date>2008-05-26T18:53:01Z</dc:date>
    <item>
      <title>Breaking a Mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/breaking-a-mirror/m-p/5110678#M445898</link>
      <description>Hi HP-UX Gurus,&lt;BR /&gt;&lt;BR /&gt;I have HP-UX 11.23 with me and I am going to install new patches on to the same.&lt;BR /&gt;&lt;BR /&gt;My root disk is mirrored and before going ahead with the process of patch installation , I want to break the mirror and keep it safe.&lt;BR /&gt;&lt;BR /&gt;So tell a steps to breaking the mirror and keep it save so that if there is any issue I can boot from the other copy of mirror .&lt;BR /&gt;&lt;BR /&gt;I do not want to take out the mirror disk and then boot the system with one disk.&lt;BR /&gt;&lt;BR /&gt;I want to keep the mirror disk as it is and want to break the mirror form the cmd line.&lt;BR /&gt;&lt;BR /&gt;Please suggest me what to do ???&lt;BR /&gt;&lt;BR /&gt;Thanks in Advance.</description>
      <pubDate>Mon, 26 May 2008 15:40:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/breaking-a-mirror/m-p/5110678#M445898</guid>
      <dc:creator>Mr.Right</dc:creator>
      <dc:date>2008-05-26T15:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Breaking a Mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/breaking-a-mirror/m-p/5110679#M445899</link>
      <description>This is IMHO the best solution:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/oshpux11iv2.html#Dynamic%20Root%20Disk" target="_blank"&gt;http://docs.hp.com/en/oshpux11iv2.html#Dynamic%20Root%20Disk&lt;/A&gt;</description>
      <pubDate>Mon, 26 May 2008 16:11:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/breaking-a-mirror/m-p/5110679#M445899</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-05-26T16:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Breaking a Mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/breaking-a-mirror/m-p/5110680#M445900</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;You should also (always) take an Ignite backup before patching, in my opinion.&lt;BR /&gt;&lt;BR /&gt;Download a current verion of Ignite from:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/IUX/" target="_blank"&gt;http://docs.hp.com/en/IUX/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Then create a recovery tape from which you can boot and restore your server:&lt;BR /&gt;&lt;BR /&gt;# make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 26 May 2008 16:17:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/breaking-a-mirror/m-p/5110680#M445900</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-05-26T16:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Breaking a Mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/breaking-a-mirror/m-p/5110681#M445901</link>
      <description>Hi Gurus,&lt;BR /&gt;&lt;BR /&gt;I have already taken ignite backup, but please suggest me some steps through which I can break the Mirror disk form command line and I also wann to infom that I have OLAR patch is also installed.&lt;BR /&gt;&lt;BR /&gt;Can I use lvsplit for breaking the mirror ?&lt;BR /&gt;&lt;BR /&gt;How about using pvchange -a N &lt;DISK name=""&gt; , this will deattached the disk form Volume Group?&lt;BR /&gt;&lt;BR /&gt;Please advice .&lt;BR /&gt;&lt;BR /&gt;Thanks in Advance.&lt;/DISK&gt;</description>
      <pubDate>Mon, 26 May 2008 17:05:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/breaking-a-mirror/m-p/5110681#M445901</guid>
      <dc:creator>Mr.Right</dc:creator>
      <dc:date>2008-05-26T17:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Breaking a Mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/breaking-a-mirror/m-p/5110682#M445902</link>
      <description>If you use pvchange -a N the disks will sync after a reboot - this is not what you want.&lt;BR /&gt;&lt;BR /&gt;I would reduce the mirror and use drd to clone the remaining disk and patch the clone.&lt;BR /&gt;&lt;BR /&gt;After this activate the clone and boot from.&lt;BR /&gt;&lt;BR /&gt;If everything is ok, then you can mirror the disk again. If it isn't, boot from the original disk again.</description>
      <pubDate>Mon, 26 May 2008 17:11:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/breaking-a-mirror/m-p/5110682#M445902</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-05-26T17:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Breaking a Mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/breaking-a-mirror/m-p/5110683#M445903</link>
      <description>Hi Torsten,&lt;BR /&gt;&lt;BR /&gt;Thanks a lot for the information , please let me know How I am going to use DRD for cloning the Disk and how I can break the clone?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Mon, 26 May 2008 18:37:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/breaking-a-mirror/m-p/5110683#M445903</guid>
      <dc:creator>Mr.Right</dc:creator>
      <dc:date>2008-05-26T18:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Breaking a Mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/breaking-a-mirror/m-p/5110684#M445904</link>
      <description>See my first post or the manual directly&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5992-4098/index.html" target="_blank"&gt;http://docs.hp.com/en/5992-4098/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 26 May 2008 18:41:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/breaking-a-mirror/m-p/5110684#M445904</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-05-26T18:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Breaking a Mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/breaking-a-mirror/m-p/5110685#M445905</link>
      <description>Thanks...</description>
      <pubDate>Mon, 26 May 2008 18:53:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/breaking-a-mirror/m-p/5110685#M445905</guid>
      <dc:creator>Mr.Right</dc:creator>
      <dc:date>2008-05-26T18:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Breaking a Mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/breaking-a-mirror/m-p/5110686#M445906</link>
      <description>Mr.Right,&lt;BR /&gt;&lt;BR /&gt;For creating a drd clone you should have an extra disk (with same size of root disk).&lt;BR /&gt;&lt;BR /&gt;The step is as follows&lt;BR /&gt;1) create a system clone&lt;BR /&gt;drd clone -v -t /dev/dsk/cxtydz (this would be your new disk for creating the clone)&lt;BR /&gt;2)verify the clone status &lt;BR /&gt;#drd status -v &lt;BR /&gt;3)install the patch on the cloned disk&lt;BR /&gt;#drd runcmd swinstall -s &lt;DEPOT&gt; &lt;BR /&gt;4)verify the insallation by running &lt;BR /&gt;#drd runcmd swlist &lt;BR /&gt;5)activate the clone and reboot the system from the clone disk&lt;BR /&gt;#drd activate -x reboot=true&lt;BR /&gt;(this command will set the newdisk as primary path and the old primary path as alternate path)&lt;BR /&gt;Note :if you are installing any F/w patch keep it in mind that booting from the original disk will not fall back the system to the older firmware level)&lt;BR /&gt;&lt;BR /&gt;Thanks !!&lt;BR /&gt;Johnson&lt;/DEPOT&gt;</description>
      <pubDate>Mon, 26 May 2008 19:29:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/breaking-a-mirror/m-p/5110686#M445906</guid>
      <dc:creator>johnsonpk</dc:creator>
      <dc:date>2008-05-26T19:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Breaking a Mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/breaking-a-mirror/m-p/5110687#M445907</link>
      <description>Hi There,&lt;BR /&gt;&lt;BR /&gt;1. You can break the mirror using lvsplit. Below is the script which I use for my servers. &lt;BR /&gt;&lt;BR /&gt;**** NOTE - break root mirror at the last&lt;BR /&gt;=========================================&lt;BR /&gt;echo "Spliting mirrors on vg00 .. "&lt;BR /&gt;echo&lt;BR /&gt;# [ CHECK FOR STALE EXTENTS. ]&lt;BR /&gt;&lt;BR /&gt;echo "Displaying state extents .. "&lt;BR /&gt;echo&lt;BR /&gt;&lt;BR /&gt;#      lvdisplay -v /dev/vg00/lvpvc1 | grep -i stale&lt;BR /&gt;      lvdisplay -v /dev/vg00/lvol8 | grep -i stale&lt;BR /&gt;      lvdisplay -v /dev/vg00/lvol7 | grep -i stale&lt;BR /&gt;      lvdisplay -v /dev/vg00/lvol6 | grep -i stale&lt;BR /&gt;      lvdisplay -v /dev/vg00/lvol5 | grep -i stale&lt;BR /&gt;      lvdisplay -v /dev/vg00/lvol4 | grep -i stale&lt;BR /&gt;      lvdisplay -v /dev/vg00/lvol3 | grep -i stale&lt;BR /&gt;      lvdisplay -v /dev/vg00/lvol2 | grep -i stale      # swap&lt;BR /&gt;      lvdisplay -v /dev/vg00/lvol1 | grep -i stale&lt;BR /&gt;&lt;BR /&gt;echo&lt;BR /&gt;echo "WARNING: If any state extents are displayed above, break now an resolve the&lt;BR /&gt;echo "issue first!!&lt;BR /&gt;&lt;BR /&gt;echo&lt;BR /&gt;echo "[ Press Enter to continue .. ] "&lt;BR /&gt;read abc&lt;BR /&gt;echo&lt;BR /&gt;&lt;BR /&gt;# Backing up lvm info.&lt;BR /&gt;echo "Backuping LVM info to ./lvmbackup ..."&lt;BR /&gt;echo&lt;BR /&gt;mkdir lvmbackup  2&amp;gt; /dev/null&lt;BR /&gt;vgdisplay -v /dev/vg00 &amp;gt; ./lvmbackup/info_vg00.txt&lt;BR /&gt;cp -Rp /etc/lvmconf ./lvmbackup&lt;BR /&gt;strings /etc/lvmtab &amp;gt; ./lvmbackup/lvmtab.txt&lt;BR /&gt;vgexport -m ./lvmbackup/vgexportmap_vg00.txt -p /dev/vg00   2&amp;gt;/dev/null&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# Split logical volumes in descending order:&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# WARNING:  "/" lvol must be split last!&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;      echo&lt;BR /&gt;      echo "Spliting all mirrored lvols .."&lt;BR /&gt;#      sync; lvsplit /dev/vg00/lvpvc1&lt;BR /&gt;      sync; lvsplit /dev/vg00/lvol8&lt;BR /&gt;      sync; lvsplit /dev/vg00/lvol7&lt;BR /&gt;      sync; lvsplit /dev/vg00/lvol6&lt;BR /&gt;      sync; lvsplit /dev/vg00/lvol5&lt;BR /&gt;      sync; lvsplit /dev/vg00/lvol4&lt;BR /&gt;      sync; lvsplit /dev/vg00/lvol2&lt;BR /&gt;      sync; lvsplit /dev/vg00/lvol1&lt;BR /&gt;      sync; lvsplit /dev/vg00/lvol3     # "/" must be split LAST!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# fsck each ####b lvol to confirm no data corruption:&lt;BR /&gt;#&lt;BR /&gt;# Use 'fsck -y -F hfs &lt;DEVICE lvol=""&gt;' for HFS.&lt;BR /&gt;#     'fsck -y -F vxfs -o full &lt;DEVICE lvol=""&gt;' for VxfS.&lt;BR /&gt;&lt;BR /&gt;      echo&lt;BR /&gt;      echo "Checking filesystems on split lvols .."&lt;BR /&gt;      echo&lt;BR /&gt;#      fsck -y -F vxfs -o full /dev/vg00/lvpvcb&lt;BR /&gt;      fsck -y -F vxfs -o full /dev/vg00/lvol8b&lt;BR /&gt;      fsck -y -F vxfs -o full /dev/vg00/lvol7b&lt;BR /&gt;      fsck -y -F vxfs -o full /dev/vg00/lvol6b&lt;BR /&gt;      fsck -y -F vxfs -o full /dev/vg00/lvol5b&lt;BR /&gt;      fsck -y -F vxfs -o full /dev/vg00/lvol4b&lt;BR /&gt;      fsck -y -F vxfs -o full /dev/vg00/lvol3b&lt;BR /&gt;      # fsck -y -F vxfs -o full /dev/vg00/lvol2b&lt;BR /&gt;      fsck -y -F hfs /dev/vg00/lvol1b&lt;BR /&gt;&lt;BR /&gt;echo&lt;BR /&gt;      lvlnboot -v /dev/vg00&lt;BR /&gt;echo&lt;BR /&gt;echo "Mirrors have been split and checked."&lt;BR /&gt;echo&lt;BR /&gt;echo "Modifying backup /etc/fstab file in split mirror ..."&lt;BR /&gt;echo&lt;BR /&gt;mkdir /mnt   2&amp;gt; /dev/null&lt;BR /&gt;mount /dev/vg00/lvol3b /mnt&lt;BR /&gt;cp -p /mnt/etc/fstab /mnt/etc/fstab.beforesplit&lt;BR /&gt;cp -p /mnt/etc/fstab /mnt/etc/fstab.aftersplit&lt;BR /&gt;&lt;BR /&gt;# Replaces the fstab file on the split mirror to reflect the b lvol.&lt;BR /&gt;/usr/bin/sed "s/\/dev\/vg00\/[0-9a-zA-Z]*/&amp;amp;b/" /etc/fstab &amp;gt; /mnt/etc/fstab.aftersplit&lt;BR /&gt;cp -p /mnt/etc/fstab.aftersplit /mnt/etc/fstab&lt;BR /&gt;&lt;BR /&gt;umount /mnt&lt;BR /&gt;&lt;BR /&gt;echo "Split mirror process completed."&lt;BR /&gt;echo&lt;BR /&gt;echo&lt;BR /&gt;&lt;BR /&gt;==========================================&lt;BR /&gt;&lt;/DEVICE&gt;&lt;/DEVICE&gt;</description>
      <pubDate>Tue, 27 May 2008 05:15:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/breaking-a-mirror/m-p/5110687#M445907</guid>
      <dc:creator>Harmanjit_1</dc:creator>
      <dc:date>2008-05-27T05:15:35Z</dc:date>
    </item>
  </channel>
</rss>

