<?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 break mirroring ? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-break-mirroring/m-p/3781429#M263308</link>
    <description>hi,&lt;BR /&gt;&lt;BR /&gt;1. reduce the mirror copy of the LV&lt;BR /&gt;# lvreduce -m 0 $LV $PV&lt;BR /&gt;&lt;BR /&gt;2. remove the PV from the VG&lt;BR /&gt;# vgreduce $VG $PV&lt;BR /&gt;&lt;BR /&gt;3. re-initialize the PV&lt;BR /&gt;# pvcreate -f $PV&lt;BR /&gt;&lt;BR /&gt;GOOD LUCK!!</description>
    <pubDate>Wed, 03 May 2006 01:50:10 GMT</pubDate>
    <dc:creator>Warren_9</dc:creator>
    <dc:date>2006-05-03T01:50:10Z</dc:date>
    <item>
      <title>how to break mirroring ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-break-mirroring/m-p/3781428#M263307</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;how to break mirroing in rp series server ? Presently both disk are fine but i want to release one disk for other purpose.</description>
      <pubDate>Wed, 03 May 2006 01:45:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-break-mirroring/m-p/3781428#M263307</guid>
      <dc:creator>Shah Gaurang B.</dc:creator>
      <dc:date>2006-05-03T01:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to break mirroring ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-break-mirroring/m-p/3781429#M263308</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;1. reduce the mirror copy of the LV&lt;BR /&gt;# lvreduce -m 0 $LV $PV&lt;BR /&gt;&lt;BR /&gt;2. remove the PV from the VG&lt;BR /&gt;# vgreduce $VG $PV&lt;BR /&gt;&lt;BR /&gt;3. re-initialize the PV&lt;BR /&gt;# pvcreate -f $PV&lt;BR /&gt;&lt;BR /&gt;GOOD LUCK!!</description>
      <pubDate>Wed, 03 May 2006 01:50:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-break-mirroring/m-p/3781429#M263308</guid>
      <dc:creator>Warren_9</dc:creator>
      <dc:date>2006-05-03T01:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to break mirroring ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-break-mirroring/m-p/3781430#M263309</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;       Refer to section 5 in the below link,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.governmentsecurity.org/articles/articles2/When_Good_Disks_Go_Bad.pdf_fl/When_Good_Disks_Go_Bad.html" target="_blank"&gt;http://www.governmentsecurity.org/articles/articles2/When_Good_Disks_Go_Bad.pdf_fl/When_Good_Disks_Go_Bad.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Senthil Kumar .A</description>
      <pubDate>Wed, 03 May 2006 03:06:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-break-mirroring/m-p/3781430#M263309</guid>
      <dc:creator>Senthil Kumar .A_1</dc:creator>
      <dc:date>2006-05-03T03:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to break mirroring ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-break-mirroring/m-p/3781431#M263310</link>
      <description>Gaurang,&lt;BR /&gt;&lt;BR /&gt;If this is your root mirror disk, I would strictly advise not to remove the mirror.&lt;BR /&gt;But if it is some other mirror disk, then check which lvols are mirrored -&lt;BR /&gt;for i in `vgdisplay -v /dev/vgxyz | grep 'LV Name' | awk '{print $NF}'`&lt;BR /&gt;do&lt;BR /&gt; if [[ $(lvdisplay -v $i | grep 'Mirror' | awk '{print $NF}') != "0" ]]&lt;BR /&gt; then&lt;BR /&gt;    echo $i is mirrored&lt;BR /&gt; fi&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;Then use the method Warren has shown to reduce mirror copies of all mirrored volumes and proceed , reduce VG - to remove disk from VG and then the disk is free to be used for you.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ninad</description>
      <pubDate>Wed, 03 May 2006 03:19:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-break-mirroring/m-p/3781431#M263310</guid>
      <dc:creator>Ninad_1</dc:creator>
      <dc:date>2006-05-03T03:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to break mirroring ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-break-mirroring/m-p/3781432#M263311</link>
      <description>Shah,&lt;BR /&gt;&lt;BR /&gt;The best way I find to break mirrors is to get my mother in law to look at them!&lt;BR /&gt;&lt;BR /&gt;Just a bit of fun.&lt;BR /&gt;&lt;BR /&gt;JASH</description>
      <pubDate>Thu, 04 May 2006 04:07:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-break-mirroring/m-p/3781432#M263311</guid>
      <dc:creator>JASH_2</dc:creator>
      <dc:date>2006-05-04T04:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to break mirroring ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-break-mirroring/m-p/3781433#M263312</link>
      <description>Shah ,&lt;BR /&gt;&lt;BR /&gt;# lvreduce -m 0 /dev/vg00/lvol1 /dev/dsk/c?t?d?&lt;BR /&gt;- do for all the lvs .&lt;BR /&gt;&lt;BR /&gt;# vgreduce /dev/vg00 /dev/dsk/c?t?d?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now the disk is free. Mirror broken.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj,&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 May 2006 04:24:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-break-mirroring/m-p/3781433#M263312</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2006-05-04T04:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to break mirroring ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-break-mirroring/m-p/3781434#M263313</link>
      <description>Shah,&lt;BR /&gt;&lt;BR /&gt;To find out which disk is the primary boot disk, and the system is booted from :&lt;BR /&gt;&lt;BR /&gt;Use:&lt;BR /&gt;&lt;BR /&gt;# echo "boot_string/S" | adb /stand/vmunix /dev/kmem&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.</description>
      <pubDate>Thu, 04 May 2006 04:26:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-break-mirroring/m-p/3781434#M263313</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2006-05-04T04:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to break mirroring ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-break-mirroring/m-p/3781435#M263314</link>
      <description>Gaurang,&lt;BR /&gt;&lt;BR /&gt;I assume your VG which u want to unmirror is not a rootvg&lt;BR /&gt;&lt;BR /&gt;lvdisplay -v /dev/vgname/lvolname&lt;BR /&gt;note the device files of the disks used for the LVs&lt;BR /&gt;decide which disk to remove,&lt;BR /&gt;&lt;BR /&gt;note the number of mirror copies, if 1 then use m 0 if 2 then m 1....&lt;BR /&gt;&lt;BR /&gt;lvreduce -m 0 /dev/vgname/lvoln /dev/dsk/cxtydz&lt;BR /&gt;&lt;BR /&gt;When all the lvols are reduced from the disk &lt;BR /&gt;&lt;BR /&gt;vgreduce /dev/vgxx /dev/dsk/cxtydz.&lt;BR /&gt;&lt;BR /&gt;Check vgdisplay/pvdisplay to confirm the disk is out of the Vg.&lt;BR /&gt;&lt;BR /&gt;Good Luck&lt;BR /&gt;&lt;BR /&gt;Ajit&lt;BR /&gt;</description>
      <pubDate>Thu, 04 May 2006 04:51:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-break-mirroring/m-p/3781435#M263314</guid>
      <dc:creator>Ajitkumar Rane</dc:creator>
      <dc:date>2006-05-04T04:51:04Z</dc:date>
    </item>
  </channel>
</rss>

