<?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 move mirrored logical volume to other disk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/move-mirrored-logical-volume-to-other-disk/m-p/4057211#M600597</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I have a logical volume that has its data scattered on 3 different disks.  It is also mirrored.  I would like to move all data into 1 physical disk and mirror this consolidated logical volume onto another disk on different bus.  Does anyone have any suggestion? &lt;BR /&gt;&lt;BR /&gt;I can't afford any downtime right now.  Is there a way to do this without interrupt production?&lt;BR /&gt;&lt;BR /&gt;Please...&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;BR /&gt;&lt;BR /&gt;Tuan</description>
    <pubDate>Mon, 20 Aug 2007 15:34:01 GMT</pubDate>
    <dc:creator>Tuan Nguyen</dc:creator>
    <dc:date>2007-08-20T15:34:01Z</dc:date>
    <item>
      <title>move mirrored logical volume to other disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/move-mirrored-logical-volume-to-other-disk/m-p/4057211#M600597</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I have a logical volume that has its data scattered on 3 different disks.  It is also mirrored.  I would like to move all data into 1 physical disk and mirror this consolidated logical volume onto another disk on different bus.  Does anyone have any suggestion? &lt;BR /&gt;&lt;BR /&gt;I can't afford any downtime right now.  Is there a way to do this without interrupt production?&lt;BR /&gt;&lt;BR /&gt;Please...&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;BR /&gt;&lt;BR /&gt;Tuan</description>
      <pubDate>Mon, 20 Aug 2007 15:34:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/move-mirrored-logical-volume-to-other-disk/m-p/4057211#M600597</guid>
      <dc:creator>Tuan Nguyen</dc:creator>
      <dc:date>2007-08-20T15:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: move mirrored logical volume to other disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/move-mirrored-logical-volume-to-other-disk/m-p/4057212#M600598</link>
      <description>Hi Tuan:&lt;BR /&gt;&lt;BR /&gt;See the manpages for 'pvmove'.&lt;BR /&gt;&lt;BR /&gt;One caveat.  When using 'pvmove' make sure that you do not interrupt the process.  If you do, you may corrupt the logical volume.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 20 Aug 2007 15:39:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/move-mirrored-logical-volume-to-other-disk/m-p/4057212#M600598</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-08-20T15:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: move mirrored logical volume to other disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/move-mirrored-logical-volume-to-other-disk/m-p/4057213#M600599</link>
      <description>James,&lt;BR /&gt;&lt;BR /&gt;Thank you for your quick response.  Do I need to un-mirror the lv first?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Tuan</description>
      <pubDate>Mon, 20 Aug 2007 15:43:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/move-mirrored-logical-volume-to-other-disk/m-p/4057213#M600599</guid>
      <dc:creator>Tuan Nguyen</dc:creator>
      <dc:date>2007-08-20T15:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: move mirrored logical volume to other disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/move-mirrored-logical-volume-to-other-disk/m-p/4057214#M600600</link>
      <description>the command you are looking for is pvmove in the form similar to this&lt;BR /&gt;&lt;BR /&gt;pvmove LVOL_name source_PhyVol destination_PhyVol&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;eg.&lt;BR /&gt;&lt;BR /&gt;pvmove /dev/vg00/lvol7 /dev/dsk/c1t2d0 /dev/dsk/c7t5d0&lt;BR /&gt;&lt;BR /&gt;for moving vg00/lvol7 from the physical disk located at /dev/dsk/c1t2d0 to the new physical disk /dev/dsk/c7t5d0.&lt;BR /&gt;&lt;BR /&gt;you can repeat this 3 times with the same destination disk for your already data containing source disks.&lt;BR /&gt;&lt;BR /&gt;Process should not be interrupted while moving data to prevent data corruption. So, proceed with caution at your own risk.</description>
      <pubDate>Mon, 20 Aug 2007 15:46:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/move-mirrored-logical-volume-to-other-disk/m-p/4057214#M600600</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2007-08-20T15:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: move mirrored logical volume to other disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/move-mirrored-logical-volume-to-other-disk/m-p/4057215#M600601</link>
      <description>Tuan,&lt;BR /&gt;&lt;BR /&gt;since you will bemoving data from a physical volume, it is important that you move the data from whichever physical volume you want to be out of. Since main and mirror copies are on different physical volumes (assuming your vg policy is strict) there should not be a need to un-mirror your volume but if your mirrors are spread across the same physical volumes (which is a bad practice to start with) you are better off with unmirroring first, so that you do not move two copies of the same data.&lt;BR /&gt;&lt;BR /&gt;Hope this helps</description>
      <pubDate>Mon, 20 Aug 2007 15:52:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/move-mirrored-logical-volume-to-other-disk/m-p/4057215#M600601</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2007-08-20T15:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: move mirrored logical volume to other disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/move-mirrored-logical-volume-to-other-disk/m-p/4057216#M600602</link>
      <description>Mel,&lt;BR /&gt;&lt;BR /&gt;Thank you for your response.  Here is the output from vginfo.&lt;BR /&gt;&lt;BR /&gt;# ./vginfo -L /dev/vgfc10/lvol16&lt;BR /&gt;/dev/dsk/c7t0d0:2000:2000&lt;BR /&gt;/dev/dsk/c7t2d0:88:88&lt;BR /&gt;/dev/dsk/c11t5d0:1912:1912&lt;BR /&gt;/dev/dsk/c7t6d0:4000:4000&lt;BR /&gt;/dev/dsk/c11t7d0:4000:4000&lt;BR /&gt;&lt;BR /&gt;# lvdisplay /dev/vgfc10/lvol16&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vgfc10/lvol16&lt;BR /&gt;VG Name                     /dev/vgfc10&lt;BR /&gt;LV Permission               read/write   &lt;BR /&gt;LV Status                   available/syncd           &lt;BR /&gt;Mirror copies               1            &lt;BR /&gt;Consistency Recovery        MWC                 &lt;BR /&gt;Schedule                    parallel     &lt;BR /&gt;LV Size (Mbytes)            6000            &lt;BR /&gt;Current LE                  750       &lt;BR /&gt;Allocated PE                1500        &lt;BR /&gt;Stripes                     0       &lt;BR /&gt;Stripe Size (Kbytes)     0                   &lt;BR /&gt;Bad block                   on           &lt;BR /&gt;Allocation         strict                    &lt;BR /&gt;IO Timeout (Seconds)        default     &lt;BR /&gt;&lt;BR /&gt;Yes, it is strict policy. All data is on separate disks.  If I do pvmove without un-mirror first, how do I know which disks contain primary data and which disks contain mirrored data?&lt;BR /&gt;&lt;BR /&gt;Thank you very much.&lt;BR /&gt;&lt;BR /&gt;Tuan</description>
      <pubDate>Mon, 20 Aug 2007 16:03:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/move-mirrored-logical-volume-to-other-disk/m-p/4057216#M600602</guid>
      <dc:creator>Tuan Nguyen</dc:creator>
      <dc:date>2007-08-20T16:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: move mirrored logical volume to other disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/move-mirrored-logical-volume-to-other-disk/m-p/4057217#M600603</link>
      <description>Your question really has no meaning. There is no "primary" and "mirror"; all versions of the data for a given LVOL are equally valid. It makes more sense to create another mirror using lvextend -m 2 and specify a destination PV and when that is completed do a lvreduce -m 1 and specify the pv_paths of the disks that you wish to remove the mirror from. This method will ensure that you always have at least valid mirror at all times.</description>
      <pubDate>Mon, 20 Aug 2007 16:10:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/move-mirrored-logical-volume-to-other-disk/m-p/4057217#M600603</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-08-20T16:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: move mirrored logical volume to other disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/move-mirrored-logical-volume-to-other-disk/m-p/4057218#M600604</link>
      <description>Hi (again) Tuan:&lt;BR /&gt;&lt;BR /&gt;You don't need to unmirror.  You can specify the source and destination volumes for the 'pvmove' action.  See the 'pvmove' manpages.  Mirrored data is data.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Aug 2007 16:11:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/move-mirrored-logical-volume-to-other-disk/m-p/4057218#M600604</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-08-20T16:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: move mirrored logical volume to other disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/move-mirrored-logical-volume-to-other-disk/m-p/4057219#M600605</link>
      <description>Gentlemen,&lt;BR /&gt;&lt;BR /&gt;Thank you very much for all your responses.  I really appreciate that.  I guess I will have to back it up first and apply your suggestions. Again, thank you very much.&lt;BR /&gt;&lt;BR /&gt;Tuan&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Aug 2007 16:18:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/move-mirrored-logical-volume-to-other-disk/m-p/4057219#M600605</guid>
      <dc:creator>Tuan Nguyen</dc:creator>
      <dc:date>2007-08-20T16:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: move mirrored logical volume to other disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/move-mirrored-logical-volume-to-other-disk/m-p/4057220#M600606</link>
      <description>Seeing how you want to re-mirror - it is better to break it first..&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;lvreduce -m 0 /dev/vg00/lvol14&lt;BR /&gt;&lt;BR /&gt;Then move it (use lvdisplay -v to see from disk - pvmove -n VG SOURCEDISK DESTDISK)&lt;BR /&gt;&lt;BR /&gt;pvmove -n /dev/vg00/lvol14 /dev/dsk/c28t6d0 /dev/dsk/c0t6d0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Aug 2007 16:20:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/move-mirrored-logical-volume-to-other-disk/m-p/4057220#M600606</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2007-08-20T16:20:23Z</dc:date>
    </item>
  </channel>
</rss>

