<?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: Remove a mirror . in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-mirror/m-p/3142014#M628922</link>
    <description>Hello ,&lt;BR /&gt;&lt;BR /&gt;According to Jean , it's impossible to activate a VG just with one disk :( .&lt;BR /&gt;&lt;BR /&gt;Vgchgid is working just on EMC disks and not on regular disks .&lt;BR /&gt;&lt;BR /&gt;BR ,&lt;BR /&gt;Eran .</description>
    <pubDate>Sun, 14 Dec 2003 06:25:50 GMT</pubDate>
    <dc:creator>Chapaya</dc:creator>
    <dc:date>2003-12-14T06:25:50Z</dc:date>
    <item>
      <title>Remove a mirror .</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-mirror/m-p/3142008#M628916</link>
      <description>Hello ,&lt;BR /&gt;I have a logical volume : /dev/vg01/lvol1&lt;BR /&gt;with 2 disks c0t2d0 (master) &amp;amp; c0t8d0 (slave) .&lt;BR /&gt;I want to remove the mirror and to have the slave disk on new vg - VG02 .&lt;BR /&gt;I thougt to do it with vgchgid but i must have EMC disks .&lt;BR /&gt;Give me the set of commands to do it .&lt;BR /&gt;Thanks ,&lt;BR /&gt;Eran .</description>
      <pubDate>Thu, 11 Dec 2003 05:20:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-mirror/m-p/3142008#M628916</guid>
      <dc:creator>Chapaya</dc:creator>
      <dc:date>2003-12-11T05:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Remove a mirror .</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-mirror/m-p/3142009#M628917</link>
      <description>Hi Eran,&lt;BR /&gt;&lt;BR /&gt;# lvextend -m 0 /dev/vg01/lvol1&lt;BR /&gt;# vgreduce /dev/vg01 /dev/dsk/c0t8d0&lt;BR /&gt;# vgextend /dev/vg02 /dev/dsk/c0t8d0&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Thu, 11 Dec 2003 05:25:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-mirror/m-p/3142009#M628917</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2003-12-11T05:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Remove a mirror .</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-mirror/m-p/3142010#M628918</link>
      <description>1 error I guess: you need to use lvreduce instead of lvextend:&lt;BR /&gt;lvreduce -m 0 /dev/vg01/lvol1 /dev/dsk/c0t8d0&lt;BR /&gt;&lt;BR /&gt;This way you're also certain it stops mirroring to that disk and not the other one, because LVM sees no difference between slaves and masters...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Dec 2003 05:33:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-mirror/m-p/3142010#M628918</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2003-12-11T05:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Remove a mirror .</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-mirror/m-p/3142011#M628919</link>
      <description>HUmmm thanks Elmar. need some coffee (:-)</description>
      <pubDate>Thu, 11 Dec 2003 05:37:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-mirror/m-p/3142011#M628919</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2003-12-11T05:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Remove a mirror .</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-mirror/m-p/3142012#M628920</link>
      <description>vgchgid is only used for changing the vgid on ALL of the disks belonging to a vg, in some cases, usually with emc or xp disks (but also shark, va, clarion).&lt;BR /&gt;&lt;BR /&gt;For the reduction of the mirror, follow the steps above.&lt;BR /&gt;&lt;BR /&gt;DO not ever use vgchgid on only one disk of a vg, unless you want to gain deep knoledge on lvm, because it is a very destructive operation.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;    Massimo</description>
      <pubDate>Thu, 11 Dec 2003 05:57:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-mirror/m-p/3142012#M628920</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-12-11T05:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Remove a mirror .</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-mirror/m-p/3142013#M628921</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Perhaps Eran is right ... and the question isn't clear :-) !&lt;BR /&gt;&lt;BR /&gt;If you have a mirrored VG and you want to create 2 new VG with the same data on disks without having to recreate the lvm structure or copy the data the procedure could basically be as follows, but fully not supported ...&lt;BR /&gt;&lt;BR /&gt;- deactivate the vg&lt;BR /&gt;- export the vg&lt;BR /&gt;- create and import the vg with only the first disk.&lt;BR /&gt;- lvreduce the missing copy using lvreduce -k  -m 0 key (get the key using lvdisplay -v -k, it's the number of the missing disk)&lt;BR /&gt;- vgreduce -f the vg&lt;BR /&gt;&lt;BR /&gt;- vgchgid the second disk&lt;BR /&gt;- import the new vg and do the same other things with lvreduce&lt;BR /&gt;&lt;BR /&gt;It could work ... I didn't test. Take a good backup first !!! Also be careful of the lvreduce man page which seems to be wrong for the -k usage (in the synopsis, in the option description and in the example !).&lt;BR /&gt;&lt;BR /&gt;Syntax is :&lt;BR /&gt;&lt;BR /&gt;lvreduce -m 0 -k /dev/vgxxx key&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Dec 2003 07:44:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-mirror/m-p/3142013#M628921</guid>
      <dc:creator>Jean-Louis Phelix</dc:creator>
      <dc:date>2003-12-11T07:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Remove a mirror .</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-mirror/m-p/3142014#M628922</link>
      <description>Hello ,&lt;BR /&gt;&lt;BR /&gt;According to Jean , it's impossible to activate a VG just with one disk :( .&lt;BR /&gt;&lt;BR /&gt;Vgchgid is working just on EMC disks and not on regular disks .&lt;BR /&gt;&lt;BR /&gt;BR ,&lt;BR /&gt;Eran .</description>
      <pubDate>Sun, 14 Dec 2003 06:25:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-mirror/m-p/3142014#M628922</guid>
      <dc:creator>Chapaya</dc:creator>
      <dc:date>2003-12-14T06:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Remove a mirror .</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-mirror/m-p/3142015#M628923</link>
      <description>Eran,&lt;BR /&gt;&lt;BR /&gt;So am I understanding you are going to be unmirrored SPOF on vg01? and vg02? having only one disk in vg01 and 1 disk in vg02? OR are you later going to add a mirror back to each of them after you split them?&lt;BR /&gt;&lt;BR /&gt;Also, what is your ultimate goal here? are you trying to duplicate your data on a new VG/LVOL filesystem?&lt;BR /&gt;&lt;BR /&gt;IF so you can merely create the new vg02 with your other disks and do a straight copy over... with out all the disk manipulation...&lt;BR /&gt;&lt;BR /&gt;Please correct me if my assumption is wrong.</description>
      <pubDate>Mon, 15 Dec 2003 15:54:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-mirror/m-p/3142015#M628923</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2003-12-15T15:54:13Z</dc:date>
    </item>
  </channel>
</rss>

