<?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: Split Logical Volume Mirroring in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/split-logical-volume-mirroring/m-p/3549241#M224580</link>
    <description>Hi,&lt;BR /&gt;Once a LV is mirrored both copies are synchronized. There is no primary copy and secondary copy. &lt;BR /&gt;If you want remove the mirror copy from c2t2d0, then the command would be &lt;BR /&gt;&lt;BR /&gt;lvreduce -m 0 /dev/vg00/lvol13 /dev/dsk/c2t2d0&lt;BR /&gt;&lt;BR /&gt;For extending back your command is correct.&lt;BR /&gt;&lt;BR /&gt;When you reduce or extend root,boot,swap&lt;BR /&gt;run lvlnboot. See man page of lvlnboot&lt;BR /&gt;&lt;BR /&gt;Note: The term "split" is diffrent from "reduce". Reduce removes the mirror copy and split (see man page lvsplit) splits the LV online. The data would be available in both LV's(the splited LV is named as &lt;LVOLNAME&gt;b &lt;BR /&gt;see also man page of lvmerge&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;TT&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LVOLNAME&gt;</description>
    <pubDate>Sat, 21 May 2005 08:30:00 GMT</pubDate>
    <dc:creator>Thayanidhi</dc:creator>
    <dc:date>2005-05-21T08:30:00Z</dc:date>
    <item>
      <title>Split Logical Volume Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-logical-volume-mirroring/m-p/3549239#M224578</link>
      <description>Gd Day Forum,&lt;BR /&gt;&lt;BR /&gt;I am thinking of splitting the mirror on a particular LV /dev/vg00/lvol13 which is currently residing in the following harddisks.&lt;BR /&gt;&lt;BR /&gt;   LV Name                     /dev/vg00/lvol13&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;   LV Size (Mbytes)            1024&lt;BR /&gt;   Current LE                  64&lt;BR /&gt;   Allocated PE                128&lt;BR /&gt;   Used PV                     2&lt;BR /&gt;&lt;BR /&gt;   --- Distribution of logical volume ---&lt;BR /&gt;   PV Name            LE on PV  PE on PV&lt;BR /&gt;   /dev/dsk/c1t2d0    64        64&lt;BR /&gt;   /dev/dsk/c2t2d0    64        64&lt;BR /&gt;&lt;BR /&gt;#lvreduce -m 0 /dev/vg00/lvol13&lt;BR /&gt;&lt;BR /&gt;Queries:&lt;BR /&gt;1) How do I identify which is the mirrored copies? Is it the first row in the distribution will be the primary copy?&lt;BR /&gt;&lt;BR /&gt;2) If I need to have the same mirroring format will the following command suffice:&lt;BR /&gt;#lvextend -m 1 /dev/vg00/lvol13 /dev/dsk/c2t2d0    &lt;BR /&gt;Assuming /dev/dsk/c2t2d0 is the mirrored harddisk&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards/cliff</description>
      <pubDate>Sat, 21 May 2005 07:34:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-logical-volume-mirroring/m-p/3549239#M224578</guid>
      <dc:creator>Cliff Lim Kok Hwee</dc:creator>
      <dc:date>2005-05-21T07:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Split Logical Volume Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-logical-volume-mirroring/m-p/3549240#M224579</link>
      <description>lvdisplay -v (for each lvol) will show you the exact mirror layout. The first column is generally known as the primary set of extents and the second (and third if double mirrored) will be shown in columns. Each extent and it's mirror can be on different disks, even striped across several disks. You can move either the primary or the mirror (or both) extents to another disk using pvmove. But you can also lvreduce -m 0 and lvextend -m 1 to accomplish the same task. The time required is not that much different although pvmove would be the safest as the source and destination disk extents are carefully checked to ensure no data loss.</description>
      <pubDate>Sat, 21 May 2005 08:26:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-logical-volume-mirroring/m-p/3549240#M224579</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-05-21T08:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Split Logical Volume Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-logical-volume-mirroring/m-p/3549241#M224580</link>
      <description>Hi,&lt;BR /&gt;Once a LV is mirrored both copies are synchronized. There is no primary copy and secondary copy. &lt;BR /&gt;If you want remove the mirror copy from c2t2d0, then the command would be &lt;BR /&gt;&lt;BR /&gt;lvreduce -m 0 /dev/vg00/lvol13 /dev/dsk/c2t2d0&lt;BR /&gt;&lt;BR /&gt;For extending back your command is correct.&lt;BR /&gt;&lt;BR /&gt;When you reduce or extend root,boot,swap&lt;BR /&gt;run lvlnboot. See man page of lvlnboot&lt;BR /&gt;&lt;BR /&gt;Note: The term "split" is diffrent from "reduce". Reduce removes the mirror copy and split (see man page lvsplit) splits the LV online. The data would be available in both LV's(the splited LV is named as &lt;LVOLNAME&gt;b &lt;BR /&gt;see also man page of lvmerge&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;TT&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LVOLNAME&gt;</description>
      <pubDate>Sat, 21 May 2005 08:30:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-logical-volume-mirroring/m-p/3549241#M224580</guid>
      <dc:creator>Thayanidhi</dc:creator>
      <dc:date>2005-05-21T08:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Split Logical Volume Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-logical-volume-mirroring/m-p/3549242#M224581</link>
      <description>Hi Forumers,&lt;BR /&gt;&lt;BR /&gt;If I run the following commands,&lt;BR /&gt;lvsplit /dev/vg00/lvol13&lt;BR /&gt;&lt;BR /&gt;Queries: &lt;BR /&gt;&lt;BR /&gt;-The following lv /dev/vg00/lvol13b will be created automatically?&lt;BR /&gt;-In order to merge back the lv, the following command will be executed without the need to specify the harddisk?&lt;BR /&gt;-Can I said that the 2nd column from lvdisplay -v /dev/vg00/lvol13 should be corresponding to /dev/vg00/lvol13b?&lt;BR /&gt;&lt;BR /&gt;lvmerge /dev/vg00/lvol13b /dev/vg00/lvol13&lt;BR /&gt;&lt;BR /&gt;Thanks/cliff&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 21 May 2005 09:18:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-logical-volume-mirroring/m-p/3549242#M224581</guid>
      <dc:creator>Cliff Lim Kok Hwee</dc:creator>
      <dc:date>2005-05-21T09:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Split Logical Volume Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-logical-volume-mirroring/m-p/3549243#M224582</link>
      <description>Cliff,&lt;BR /&gt;&lt;BR /&gt;In answer to you last questions:&lt;BR /&gt;&lt;BR /&gt;The lvol13b is created automatically by the split command -- you can use the -s option on lvsplit if you want to call the split lvol something else, eg -s _bkup will create lvol13_bkup.&lt;BR /&gt;&lt;BR /&gt;If you want the split lvol to be created using the data on a particular pv, then you need to create PVGs within the VG for the disks you want, then use the -g option on lvsplit to tell lvsplit to use that disk.  Otherwise I don't think you can be certain which copy will be used -- but I'm willing to be corrected!&lt;BR /&gt;&lt;BR /&gt;For the lvmerge, the syntax is correct, the first lvol you specify is the destination, the second the source, so if you wanted to sync so that the data on lvol13 is now mirrored, use the command you have specified.&lt;BR /&gt;&lt;BR /&gt;Don't forget to fsck the split lvol (lvol13b) (assuming it contains a file system) before you use it for anything.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Tony</description>
      <pubDate>Sat, 21 May 2005 10:19:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-logical-volume-mirroring/m-p/3549243#M224582</guid>
      <dc:creator>Tony Scully_2</dc:creator>
      <dc:date>2005-05-21T10:19:26Z</dc:date>
    </item>
  </channel>
</rss>

