<?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: move data from one PV to another in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/move-data-from-one-pv-to-another/m-p/4341356#M565772</link>
    <description>pvmove works well and is stable - I must have used it at least one hundred times to reorganize LUNs or shrink the size of a VG. It takes a while tough, you have to be patient.</description>
    <pubDate>Tue, 20 Jan 2009 23:48:32 GMT</pubDate>
    <dc:creator>Olivier Masse</dc:creator>
    <dc:date>2009-01-20T23:48:32Z</dc:date>
    <item>
      <title>move data from one PV to another</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/move-data-from-one-pv-to-another/m-p/4341352#M565768</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have added a PV to one of my existing VG and extended the filesystem. This filesystem contains the oracle database dbf file. Now I would like to remove that new PV which I added due to some problem with that PV. But when I do a pvdisplay -v, I see most of the physical extents on that PV are used. But the database tablespace was not extended after I extended the filesystem. So, I feel there would not be any data on that PV.&lt;BR /&gt;&lt;BR /&gt;Can anybody suggest me the best way to remove that PV from the VG without corrupting the database or the filesystem. This is a production server.</description>
      <pubDate>Tue, 20 Jan 2009 17:48:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/move-data-from-one-pv-to-another/m-p/4341352#M565768</guid>
      <dc:creator>Rajesh R_2</dc:creator>
      <dc:date>2009-01-20T17:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: move data from one PV to another</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/move-data-from-one-pv-to-another/m-p/4341353#M565769</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;1) You need a cold backup before proceeding.&lt;BR /&gt;2) You can not be sure there is no data on the physical volume, if the logical volume and file system were extended you will be wrong.&lt;BR /&gt;3) I recommend cold backup, destruction of the entire logical volume, vgreduce the pv from the volume group, lvcreate, lvextend, newfs and restoring a backup.&lt;BR /&gt;&lt;BR /&gt;That methodology may seem harsh and hard. But it does insure you lose no data.&lt;BR /&gt;&lt;BR /&gt;vgreduce -f requires that the logical volume be removed from the second pv, and that can not be done safely with the database running, or any portion of the database on that volume. Even if there is nothing on that pv, you might cause corruption of the logical volume.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 20 Jan 2009 18:05:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/move-data-from-one-pv-to-another/m-p/4341353#M565769</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-01-20T18:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: move data from one PV to another</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/move-data-from-one-pv-to-another/m-p/4341354#M565770</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;the same thread i have replied in there i hope so ... I agree with what SEP has to say ..&lt;BR /&gt;&lt;BR /&gt;please add to that &lt;BR /&gt;&lt;BR /&gt;hello Rajesh,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;pvmove is a command that can surely serve the purpose but once if this gets interrupted in between it can lead the source and the destination both in an inconsistent state for sure and the data will surely be gone.&lt;BR /&gt;&lt;BR /&gt;Make sure that u have the full backup and a reliable one for that filesystem before u can give a try to pvmove.&lt;BR /&gt;&lt;BR /&gt;As this conatins dbf files, i will suggest u to do a tape backup using fbackup /tar etc and umount the filesys,remove old LV, create new LV using lvrecreate , mount the LV and restore the data.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Mkae sure that u have a reliable backup before u do a lvrmove and recreate the LV.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;that is anyway a safe way of doing that.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;sujit</description>
      <pubDate>Tue, 20 Jan 2009 19:05:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/move-data-from-one-pv-to-another/m-p/4341354#M565770</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2009-01-20T19:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: move data from one PV to another</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/move-data-from-one-pv-to-another/m-p/4341355#M565771</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;can I do the pvmove when the database is up and running?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Rajesh</description>
      <pubDate>Tue, 20 Jan 2009 20:12:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/move-data-from-one-pv-to-another/m-p/4341355#M565771</guid>
      <dc:creator>Rajesh R_2</dc:creator>
      <dc:date>2009-01-20T20:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: move data from one PV to another</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/move-data-from-one-pv-to-another/m-p/4341356#M565772</link>
      <description>pvmove works well and is stable - I must have used it at least one hundred times to reorganize LUNs or shrink the size of a VG. It takes a while tough, you have to be patient.</description>
      <pubDate>Tue, 20 Jan 2009 23:48:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/move-data-from-one-pv-to-another/m-p/4341356#M565772</guid>
      <dc:creator>Olivier Masse</dc:creator>
      <dc:date>2009-01-20T23:48:32Z</dc:date>
    </item>
  </channel>
</rss>

