<?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: moving the data in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-the-data/m-p/2693810#M644757</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you can still do the mirroring. Just define three disks in the lvextend command line.&lt;BR /&gt;&lt;BR /&gt;Say the lv name is /dev/vg_name/lv_name&lt;BR /&gt;&lt;BR /&gt;You want to mirror this to three disks, c1t0d0, c1t0d1 and c1t0d2, use this command,&lt;BR /&gt;&lt;BR /&gt;pvcreate -f /dev/rdsk/c1t0d0&lt;BR /&gt;pvcreate -f /dev/rdsk/c1t0d1&lt;BR /&gt;pvcreate -f /dev/rdsk/c1t0d2&lt;BR /&gt;vgextend /dev/vg_name /dev/dsk/c1t0d0&lt;BR /&gt;vgextend /dev/vg_name /dev/dsk/c1t0d1&lt;BR /&gt;vgextend /dev/vg_name /dev/dsk/c1d0t2&lt;BR /&gt;lvextend -m 1 /dev/vg_name/lv_name /dev/dsk/c1t0d0 /dev/dsk/c1t0d1 /dev/dsk/c1t0d2&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
    <pubDate>Fri, 29 Mar 2002 19:28:29 GMT</pubDate>
    <dc:creator>Sanjay_6</dc:creator>
    <dc:date>2002-03-29T19:28:29Z</dc:date>
    <item>
      <title>moving the data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-the-data/m-p/2693808#M644755</link>
      <description>Hi!&lt;BR /&gt;&lt;BR /&gt;I have to move data from one of the volume group to freeup the disks. This volume group has one logical volume of 12GB.The volume group has three disks 4GB each. Thease are HP SEAGATE drives. Now I need to transfer data to EMC disks. these disks are also 4GB.&lt;BR /&gt;&lt;BR /&gt;Last time I used LVM mirroring and then I reduce the mirroring on the original drive.&lt;BR /&gt;&lt;BR /&gt;But this time my logical volume is 12GB which cannot fit to mirror in the 4GB drives.&lt;BR /&gt;&lt;BR /&gt;What is the best solution?&lt;BR /&gt;&lt;BR /&gt;By the way this is HP 11.00 and K420 model.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Mar 2002 19:09:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-the-data/m-p/2693808#M644755</guid>
      <dc:creator>Raji Murthy</dc:creator>
      <dc:date>2002-03-29T19:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: moving the data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-the-data/m-p/2693809#M644756</link>
      <description>Hi Raji,&lt;BR /&gt;&lt;BR /&gt; No difference this time.&lt;BR /&gt;Just add to your existing VG 3 of the EMC luns - effectively extending  your VG to 24 GB. Then mirror the existing LV using the new extents. Then of course just reduce out of the LV the old disks you wish to reuse elsewhere.&lt;BR /&gt;Remember you mirror LVs not PVs.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Fri, 29 Mar 2002 19:16:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-the-data/m-p/2693809#M644756</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-03-29T19:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: moving the data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-the-data/m-p/2693810#M644757</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you can still do the mirroring. Just define three disks in the lvextend command line.&lt;BR /&gt;&lt;BR /&gt;Say the lv name is /dev/vg_name/lv_name&lt;BR /&gt;&lt;BR /&gt;You want to mirror this to three disks, c1t0d0, c1t0d1 and c1t0d2, use this command,&lt;BR /&gt;&lt;BR /&gt;pvcreate -f /dev/rdsk/c1t0d0&lt;BR /&gt;pvcreate -f /dev/rdsk/c1t0d1&lt;BR /&gt;pvcreate -f /dev/rdsk/c1t0d2&lt;BR /&gt;vgextend /dev/vg_name /dev/dsk/c1t0d0&lt;BR /&gt;vgextend /dev/vg_name /dev/dsk/c1t0d1&lt;BR /&gt;vgextend /dev/vg_name /dev/dsk/c1d0t2&lt;BR /&gt;lvextend -m 1 /dev/vg_name/lv_name /dev/dsk/c1t0d0 /dev/dsk/c1t0d1 /dev/dsk/c1t0d2&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Mar 2002 19:28:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-the-data/m-p/2693810#M644757</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-03-29T19:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: moving the data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-the-data/m-p/2693811#M644758</link>
      <description>Raji,&lt;BR /&gt;&lt;BR /&gt; Sanjay's example is a good one.&lt;BR /&gt;I believe you could also just&lt;BR /&gt;lvextend -m 1 /dev/vgname/lvname after the pvcreates &amp;amp; vgextends. The system will use the PVs as it sees fit.&lt;BR /&gt;Also a caveat - check the exact sizes on the Seagates &amp;amp; the EMC luns. If the EMC luns are slightly larger - no problem. If slightly smaller - you'll have to use 4 of them &amp;amp; "waste" some space out of the 4th lun.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Fri, 29 Mar 2002 19:42:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-the-data/m-p/2693811#M644758</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-03-29T19:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: moving the data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-the-data/m-p/2693812#M644759</link>
      <description>Hey Raji,&lt;BR /&gt;&lt;BR /&gt;You can still do the mirroring as Jeff and Sanjay stated. The other option is to pvmove the data from the original physical volume (HP Seagates) to the new physical volumes (EMC drives). To do this:&lt;BR /&gt;&lt;BR /&gt;Add the EMC (by the way EMC drives are presented as LUNs which may be a single or multiple drives. I don't see why you can't reconfigured the EMC to present the 3 EMC 4gb drives as a single 12GB LUN to HP-UX) but anyway:&lt;BR /&gt;&lt;BR /&gt;# pvcreate -f /dev/rdsk/c1t0d0 &lt;BR /&gt;# pvcreate -f /dev/rdsk/c1t0d1 &lt;BR /&gt;# pvcreate -f /dev/rdsk/c1t0d2 &lt;BR /&gt;#vgextend /dev/vgname /dev/dsk/c1t0d0 /dev/dsk/c1t0d1 /dev/dsk/c1d0t2 &lt;BR /&gt;# pvmove -n /dev/vgname/lvname /dev/dsk/c6t0d0 /dev/dsk/c1t0d0&lt;BR /&gt;# pvmove -n /dev/vgname/lvname /dev/dsk/c6t0d1 /dev/dsk/c1t0d1&lt;BR /&gt;# pvmove -n /dev/vgname/lvname /dev/dsk/c6t0d2 /dev/dsk/c1t0d2&lt;BR /&gt;&lt;BR /&gt;Once thepvmoves are completed you can reduce out the old physical volumes:&lt;BR /&gt;&lt;BR /&gt;vgreduce /dev/vgname /dev/dsk/c6t0d0 /dev/dsk/c6t0d1 /dev/dsk/c6t0d2&lt;BR /&gt;&lt;BR /&gt;Thanks for using the forums.&lt;BR /&gt;&lt;BR /&gt;Martin</description>
      <pubDate>Fri, 29 Mar 2002 19:53:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-the-data/m-p/2693812#M644759</guid>
      <dc:creator>Martin Burnett_2</dc:creator>
      <dc:date>2002-03-29T19:53:05Z</dc:date>
    </item>
  </channel>
</rss>

