<?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: Splitt lvm mirror, to make a shadow image. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/splitt-lvm-mirror-to-make-a-shadow-image/m-p/4058682#M305673</link>
    <description>Just a useful tip â ¦.       If we need to preserve a backup of a file system which is subject to a major change and a  BCV  option  is not available, the following procedure can be followed. This uses LVM mirroring for the same.&lt;BR /&gt;&lt;BR /&gt;Pre-requisites : MirrorDisk/UX software installed in the server.&lt;BR /&gt;                      Sufficient space in a different group of disks for mirroring.&lt;BR /&gt;&lt;BR /&gt;  =&amp;gt; Create a spare lv ( temporary one ) to fill up the existing free space of the VG.&lt;BR /&gt;  =&amp;gt; Add adequate spare disks to the VG.&lt;BR /&gt;  =&amp;gt; lvextend -m 1 /dev/vgname/lvname&lt;BR /&gt;  =&amp;gt; lvdisplay -v /dev/vgname/lvname |grep -I stale &lt;BR /&gt;           To make sure there is no stale LVs.&lt;BR /&gt;  =&amp;gt; Make sure that there is no data modification happening &lt;BR /&gt;            In case of a db file system halt the database.&lt;BR /&gt;  =&amp;gt; lvsplit  /dev/vgname/lvname&lt;BR /&gt;            This will create two lvs as /dev/vgname/lvname and /dev/vgname/lvnameb&lt;BR /&gt;&lt;BR /&gt;  =&amp;gt; /dev/vgname/lvnameb can be used as a preserved backup LV.&lt;BR /&gt;            Can be mounted if require.&lt;BR /&gt;&lt;BR /&gt;  =&amp;gt; If require to retrieve data &lt;BR /&gt;  &lt;BR /&gt;       /usr/sbin/lvmerge   dest_lv_path   src_lv_path&lt;BR /&gt;&lt;BR /&gt;      eg:- to copy data from /dev/vgname/lvnameb back to /dev/vgname/lvname&lt;BR /&gt;&lt;BR /&gt;       /usr/sbin/lvmerge    /dev/vgname/lvname /dev/vgname/lvnameb &lt;BR /&gt;&lt;BR /&gt;       This will result in a single LV /dev/vgname/lvnameb with the old data.&lt;BR /&gt;&lt;BR /&gt;=&amp;gt; lvmerge can be used even if the lvs are not created by a previous lvsplit command also. But the lvs should be of the same size.&lt;BR /&gt;&lt;BR /&gt;Please refer to man page of lvsplit and lvmerge before any such activity.&lt;BR /&gt;</description>
    <pubDate>Wed, 22 Aug 2007 21:48:22 GMT</pubDate>
    <dc:creator>skt_skt</dc:creator>
    <dc:date>2007-08-22T21:48:22Z</dc:date>
    <item>
      <title>Splitt lvm mirror, to make a shadow image.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/splitt-lvm-mirror-to-make-a-shadow-image/m-p/4058677#M305668</link>
      <description>Is it possible to split an lvm mirror and create a shadow image, such that the disk can produce a workable tape backup?</description>
      <pubDate>Wed, 22 Aug 2007 11:31:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/splitt-lvm-mirror-to-make-a-shadow-image/m-p/4058677#M305668</guid>
      <dc:creator>Tingli</dc:creator>
      <dc:date>2007-08-22T11:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Splitt lvm mirror, to make a shadow image.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/splitt-lvm-mirror-to-make-a-shadow-image/m-p/4058678#M305669</link>
      <description>Have a look at the man pages for lvsplit and lvmerge.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 22 Aug 2007 11:38:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/splitt-lvm-mirror-to-make-a-shadow-image/m-p/4058678#M305669</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2007-08-22T11:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Splitt lvm mirror, to make a shadow image.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/splitt-lvm-mirror-to-make-a-shadow-image/m-p/4058679#M305670</link>
      <description>If you want to make an exact disk copy use dd command. I have tried it before - clone a HP-UX disk on Linux system and everything was ok. &lt;BR /&gt;&lt;BR /&gt;For a backup better solution is to use Ignite.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Wed, 22 Aug 2007 11:38:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/splitt-lvm-mirror-to-make-a-shadow-image/m-p/4058679#M305670</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2007-08-22T11:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Splitt lvm mirror, to make a shadow image.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/splitt-lvm-mirror-to-make-a-shadow-image/m-p/4058680#M305671</link>
      <description>Could this be a solution for you:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=DynRootDisk" target="_blank"&gt;http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=DynRootDisk&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Dynamic Root Disk</description>
      <pubDate>Wed, 22 Aug 2007 12:15:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/splitt-lvm-mirror-to-make-a-shadow-image/m-p/4058680#M305671</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2007-08-22T12:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Splitt lvm mirror, to make a shadow image.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/splitt-lvm-mirror-to-make-a-shadow-image/m-p/4058681#M305672</link>
      <description>A workable tape backup for what? For example if you lvsplit LVOL's that house a running database and dd those LVOL's to tape, you have an exact backup at the moment of the lvsplit. So it's a perfect copy. It's also almost perfectly useless because the database was not first shutdown or put in backup mode.</description>
      <pubDate>Wed, 22 Aug 2007 12:18:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/splitt-lvm-mirror-to-make-a-shadow-image/m-p/4058681#M305672</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-08-22T12:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Splitt lvm mirror, to make a shadow image.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/splitt-lvm-mirror-to-make-a-shadow-image/m-p/4058682#M305673</link>
      <description>Just a useful tip â ¦.       If we need to preserve a backup of a file system which is subject to a major change and a  BCV  option  is not available, the following procedure can be followed. This uses LVM mirroring for the same.&lt;BR /&gt;&lt;BR /&gt;Pre-requisites : MirrorDisk/UX software installed in the server.&lt;BR /&gt;                      Sufficient space in a different group of disks for mirroring.&lt;BR /&gt;&lt;BR /&gt;  =&amp;gt; Create a spare lv ( temporary one ) to fill up the existing free space of the VG.&lt;BR /&gt;  =&amp;gt; Add adequate spare disks to the VG.&lt;BR /&gt;  =&amp;gt; lvextend -m 1 /dev/vgname/lvname&lt;BR /&gt;  =&amp;gt; lvdisplay -v /dev/vgname/lvname |grep -I stale &lt;BR /&gt;           To make sure there is no stale LVs.&lt;BR /&gt;  =&amp;gt; Make sure that there is no data modification happening &lt;BR /&gt;            In case of a db file system halt the database.&lt;BR /&gt;  =&amp;gt; lvsplit  /dev/vgname/lvname&lt;BR /&gt;            This will create two lvs as /dev/vgname/lvname and /dev/vgname/lvnameb&lt;BR /&gt;&lt;BR /&gt;  =&amp;gt; /dev/vgname/lvnameb can be used as a preserved backup LV.&lt;BR /&gt;            Can be mounted if require.&lt;BR /&gt;&lt;BR /&gt;  =&amp;gt; If require to retrieve data &lt;BR /&gt;  &lt;BR /&gt;       /usr/sbin/lvmerge   dest_lv_path   src_lv_path&lt;BR /&gt;&lt;BR /&gt;      eg:- to copy data from /dev/vgname/lvnameb back to /dev/vgname/lvname&lt;BR /&gt;&lt;BR /&gt;       /usr/sbin/lvmerge    /dev/vgname/lvname /dev/vgname/lvnameb &lt;BR /&gt;&lt;BR /&gt;       This will result in a single LV /dev/vgname/lvnameb with the old data.&lt;BR /&gt;&lt;BR /&gt;=&amp;gt; lvmerge can be used even if the lvs are not created by a previous lvsplit command also. But the lvs should be of the same size.&lt;BR /&gt;&lt;BR /&gt;Please refer to man page of lvsplit and lvmerge before any such activity.&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Aug 2007 21:48:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/splitt-lvm-mirror-to-make-a-shadow-image/m-p/4058682#M305673</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-08-22T21:48:22Z</dc:date>
    </item>
  </channel>
</rss>

