<?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: Splitting a mirror with LVM in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/splitting-a-mirror-with-lvm/m-p/4588431#M39839</link>
    <description>Shalom Jonathan,&lt;BR /&gt;&lt;BR /&gt;Please take a look at:&lt;BR /&gt;&lt;BR /&gt;lvdisplay -v &lt;LOGICAL volume="" name=""&gt;&lt;BR /&gt;&lt;BR /&gt;The first step to solving the problem is figuring out where the mirror copies are.&lt;BR /&gt;&lt;BR /&gt;Doing a mirror to multipath drive can be problematic as these drives represent multiple paths to possibly the same physical drive. Your mirror may have both mirror copies on the same drive, which makes them have no value to avoid data loss.&lt;BR /&gt;&lt;BR /&gt;Also, if you could specify the server maker and hardware model, there may already be hardware mirroring in play or available.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/LOGICAL&gt;</description>
    <pubDate>Mon, 22 Feb 2010 19:49:21 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2010-02-22T19:49:21Z</dc:date>
    <item>
      <title>Splitting a mirror with LVM</title>
      <link>https://community.hpe.com/t5/operating-system-linux/splitting-a-mirror-with-lvm/m-p/4588430#M39838</link>
      <description>Hi guys,&lt;BR /&gt;&lt;BR /&gt;I'm running Red Hat Enterprise Linux&lt;BR /&gt;ES release 4 (Nahant Update 6).&lt;BR /&gt;&lt;BR /&gt;I've created a mirror of a Logical Volume with this command:&lt;BR /&gt;&lt;BR /&gt;# lvconvert -m1 --corelog /dev/datavg/data /dev/dm-16&lt;BR /&gt;&lt;BR /&gt;Now I've this:&lt;BR /&gt;&lt;BR /&gt;# lvs -a -o name,copy_percent,devices&lt;BR /&gt;LV Copy% Devices&lt;BR /&gt;data 100.00 data_mimage_0(0),data_mimage_1(0)&lt;BR /&gt;[data_mimage_0] /dev/dm-11(0)&lt;BR /&gt;[data_mimage_0] /dev/dm-10(0)&lt;BR /&gt;[data_mimage_0] /dev/dm-14(0)&lt;BR /&gt;[data_mimage_1] /dev/dm-16(0)&lt;BR /&gt;ctrlmlv /dev/sda2(800)&lt;BR /&gt;homelv /dev/sda2(608)&lt;BR /&gt;slashlv /dev/sda2(0)&lt;BR /&gt;swaplv /dev/sda2(960)&lt;BR /&gt;tmplv /dev/sda2(832)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What I want to do is to remove the copy of that LV from my PV dm-11, dm-10 and dm-14.&lt;BR /&gt;&lt;BR /&gt;I tried this:&lt;BR /&gt;&lt;BR /&gt;# lvconvert -m0 /dev/datavg/data /dev/dm-10 /dev/dm-11 /dev/dm-14&lt;BR /&gt;No free extents on physical volume "/dev/dm-10"&lt;BR /&gt;No free extents on physical volume "/dev/dm-11"&lt;BR /&gt;No mirror images found using specified PVs.&lt;BR /&gt;&lt;BR /&gt;What did I do wrong? My goal was to remove devices dm-10, dm-11 and dm-14 from my VG, so I decided to extend the VG with dm-16 and mirror my data LV to that device, then split that mirror from the other devices. The FS is mounted and need to stay online...&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Jonathan</description>
      <pubDate>Mon, 22 Feb 2010 16:36:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/splitting-a-mirror-with-lvm/m-p/4588430#M39838</guid>
      <dc:creator>Jonathan Caplette_1</dc:creator>
      <dc:date>2010-02-22T16:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting a mirror with LVM</title>
      <link>https://community.hpe.com/t5/operating-system-linux/splitting-a-mirror-with-lvm/m-p/4588431#M39839</link>
      <description>Shalom Jonathan,&lt;BR /&gt;&lt;BR /&gt;Please take a look at:&lt;BR /&gt;&lt;BR /&gt;lvdisplay -v &lt;LOGICAL volume="" name=""&gt;&lt;BR /&gt;&lt;BR /&gt;The first step to solving the problem is figuring out where the mirror copies are.&lt;BR /&gt;&lt;BR /&gt;Doing a mirror to multipath drive can be problematic as these drives represent multiple paths to possibly the same physical drive. Your mirror may have both mirror copies on the same drive, which makes them have no value to avoid data loss.&lt;BR /&gt;&lt;BR /&gt;Also, if you could specify the server maker and hardware model, there may already be hardware mirroring in play or available.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/LOGICAL&gt;</description>
      <pubDate>Mon, 22 Feb 2010 19:49:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/splitting-a-mirror-with-lvm/m-p/4588431#M39839</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-02-22T19:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting a mirror with LVM</title>
      <link>https://community.hpe.com/t5/operating-system-linux/splitting-a-mirror-with-lvm/m-p/4588432#M39840</link>
      <description>Here the lvdisplay result&lt;BR /&gt;&lt;BR /&gt;# lvdisplay -v /dev/datavg/data&lt;BR /&gt;    Using logical volume(s) on command line&lt;BR /&gt;  --- Logical volume ---&lt;BR /&gt;  LV Name                /dev/datavg/data&lt;BR /&gt;  VG Name                datavg&lt;BR /&gt;  LV UUID                kqAdQf-9FNq-eq2r-MUmk-0X8P-db0h-yPBKaK&lt;BR /&gt;  LV Write Access        read/write&lt;BR /&gt;  LV Status              available&lt;BR /&gt;  # open                 1&lt;BR /&gt;  LV Size                200.00 GB&lt;BR /&gt;  Current LE             51200&lt;BR /&gt;  Segments               1&lt;BR /&gt;  Allocation             inherit&lt;BR /&gt;  Read ahead sectors     0&lt;BR /&gt;  Block device           253:15&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In fact, I know exactly were my mirror is spread, since I did it manually.&lt;BR /&gt;&lt;BR /&gt;Primary devices          Mirrored to:&lt;BR /&gt;dm-10                    dm-16&lt;BR /&gt;dm-11                    dm-16&lt;BR /&gt;dm-14                    dm-16</description>
      <pubDate>Mon, 22 Feb 2010 20:06:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/splitting-a-mirror-with-lvm/m-p/4588432#M39840</guid>
      <dc:creator>Jonathan Caplette_1</dc:creator>
      <dc:date>2010-02-22T20:06:34Z</dc:date>
    </item>
  </channel>
</rss>

