<?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: lvsplit command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvsplit-command/m-p/3835566#M272389</link>
    <description>No this is not what I want to do. I want to do a entire storage migration without taking any downtime of the DB. Now DB is running on Disk A. I want to shift it to Disk B in new storage. I am planning to extend VG of A into Disk B. Set mirror of LVs A to B. Then do A LV split in such a way that lvol1 in the mirrorset will form lvol1b in Disk A &amp;amp; lvol1 will remain in Disk B. Then without distrubing the DB we will remove Disk A from the Vg &amp;amp; the entire DB will be keep on running on disk B.&lt;BR /&gt;My challange is how can i split the missorset of LV by specifying the disk which i want to remove. I dont want to do a lvreduce for the roll back operation purpose.</description>
    <pubDate>Wed, 02 Aug 2006 23:12:16 GMT</pubDate>
    <dc:creator>Amitava_HP-UX</dc:creator>
    <dc:date>2006-08-02T23:12:16Z</dc:date>
    <item>
      <title>lvsplit command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvsplit-command/m-p/3835563#M272386</link>
      <description>Hi&lt;BR /&gt;I have a VG with a disk A in it. I have added disk B in that VG. I mirrored all the LV in A to B. Now I want to split the mirror in such a way that all the LV with the present name should remain on disk B [ like lvol1 ] &amp;amp; the lvs in disk A come up with names like lvol1b. My intension is the storage migration without taking downtime of the database. Presently the DB is on disk A &amp;amp; I want to move it in disk B. &lt;BR /&gt;Can we specify disk device name in lvsplit command? Pls help</description>
      <pubDate>Wed, 02 Aug 2006 03:36:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvsplit-command/m-p/3835563#M272386</guid>
      <dc:creator>Amitava_HP-UX</dc:creator>
      <dc:date>2006-08-02T03:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: lvsplit command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvsplit-command/m-p/3835564#M272387</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;The command lvsplit breaks a mirror based on the disks its currently on. To achieve these results you should break the mirror and then lvextend -m 1  specifying the target disk as the second mirror copy.&lt;BR /&gt;&lt;BR /&gt;Then the normal lvsplit command or mirror reduction with lvextend -m 0 will work.&lt;BR /&gt;&lt;BR /&gt;Note however, that a database such as oracle must be DOWN for this type of replication to preserver the data.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 02 Aug 2006 03:43:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvsplit-command/m-p/3835564#M272387</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-08-02T03:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: lvsplit command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvsplit-command/m-p/3835565#M272388</link>
      <description>Hi Amitava,&lt;BR /&gt;&lt;BR /&gt;We perform online backups by splitting the  logical volumes so we have a mirrored logical volume called disk1:&lt;BR /&gt;&lt;BR /&gt;lvsplit /dev/vg01/disk1 thid creates a second logical volume called /dev/vg01/disk1b - we then fsck /dev/vg01/disk1b mount it to a temporary mount point:&lt;BR /&gt;&lt;BR /&gt;mount /dev/vg01/disk1b /tmp_mnt we can then back the system up whilst users are still "using" the system (they write/read from /dev/vg01/disk1")&lt;BR /&gt;&lt;BR /&gt;Once the disk1b backup completes we umount /tmp_mnt and then merge the logical volumes:&lt;BR /&gt;&lt;BR /&gt;lvmerge /dev/vg01/disk1b /dev/vg01/disk1 - this "synch" the splitted logical volume with the "master" with no downtime ...... is this what you want to do?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Aug 2006 09:39:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvsplit-command/m-p/3835565#M272388</guid>
      <dc:creator>Annelise Wilken</dc:creator>
      <dc:date>2006-08-02T09:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: lvsplit command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvsplit-command/m-p/3835566#M272389</link>
      <description>No this is not what I want to do. I want to do a entire storage migration without taking any downtime of the DB. Now DB is running on Disk A. I want to shift it to Disk B in new storage. I am planning to extend VG of A into Disk B. Set mirror of LVs A to B. Then do A LV split in such a way that lvol1 in the mirrorset will form lvol1b in Disk A &amp;amp; lvol1 will remain in Disk B. Then without distrubing the DB we will remove Disk A from the Vg &amp;amp; the entire DB will be keep on running on disk B.&lt;BR /&gt;My challange is how can i split the missorset of LV by specifying the disk which i want to remove. I dont want to do a lvreduce for the roll back operation purpose.</description>
      <pubDate>Wed, 02 Aug 2006 23:12:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvsplit-command/m-p/3835566#M272389</guid>
      <dc:creator>Amitava_HP-UX</dc:creator>
      <dc:date>2006-08-02T23:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: lvsplit command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvsplit-command/m-p/3835567#M272390</link>
      <description>I don't think you want to do an lvsplit at all here.&lt;BR /&gt;&lt;BR /&gt;Correct me if I'm wrong, but all you are doing is migrating data from disc A to disc B?&lt;BR /&gt;&lt;BR /&gt;All you need to do is a vgextend to add the new disc, then pvmove the LVs onto the new disc:&lt;BR /&gt;1) vgextend vgDB /dev/dsk/discB&lt;BR /&gt;&lt;BR /&gt;THEN&lt;BR /&gt;&lt;BR /&gt;2) pvmove -n /dev/vgDB/lvolX /dev/dsk/discA /dev/dsk/discB&lt;BR /&gt;and do that for each LV&lt;BR /&gt;&lt;BR /&gt;OR&lt;BR /&gt;&lt;BR /&gt;2) pvmove /dev/dsk/discA /dev/dsk/discB to move everything from disc A to discB</description>
      <pubDate>Thu, 03 Aug 2006 07:03:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvsplit-command/m-p/3835567#M272390</guid>
      <dc:creator>Mancboy</dc:creator>
      <dc:date>2006-08-03T07:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: lvsplit command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvsplit-command/m-p/3835568#M272391</link>
      <description>I am agreed with you. But in case of pvmove i will not have any data for rollback. in case of lvsplit atleast i have another copy of data with the changed lvname. &lt;BR /&gt;I am not sure but in case of pvmove is it possible if A &amp;amp; B are different size LUN?</description>
      <pubDate>Thu, 03 Aug 2006 08:51:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvsplit-command/m-p/3835568#M272391</guid>
      <dc:creator>Amitava_HP-UX</dc:creator>
      <dc:date>2006-08-03T08:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: lvsplit command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvsplit-command/m-p/3835569#M272392</link>
      <description>If you're truly concerned with a backup of it (and I'm assuming that you're backing it up to tape too!)&lt;BR /&gt;&lt;BR /&gt;You can just create the mirror and pull the disc - I've done this countless times while trying to migrate servers from one room to another and never seen anything other than syslog say "disc is not there".&lt;BR /&gt;&lt;BR /&gt;I used to pull a disc from one mirrored VG on one machine, and inserted it in another mirrored VG in another server - this went on for about a month on a few boxes.&lt;BR /&gt;&lt;BR /&gt;To finally get shut of the original disc from the VG use:&lt;BR /&gt;vgreduce -f /dev/vgDB (this will remove all links to your old disc A).&lt;BR /&gt;&lt;BR /&gt;One word of caution though:&lt;BR /&gt;ensure that you backup the configs first:&lt;BR /&gt;1) vgcfgbackup vgDB &lt;BR /&gt;2) vgexport -m vgDB.mapfile -p -v vgDB.discfile vgDB</description>
      <pubDate>Thu, 03 Aug 2006 09:03:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvsplit-command/m-p/3835569#M272392</guid>
      <dc:creator>Mancboy</dc:creator>
      <dc:date>2006-08-03T09:03:10Z</dc:date>
    </item>
  </channel>
</rss>

