<?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: How to change lvols from one vg to another vg in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-lvols-from-one-vg-to-another-vg/m-p/2995461#M125265</link>
    <description>Create completely new lvols on the new VG, and copy the datafiles while the database is down.&lt;BR /&gt;&lt;BR /&gt;Sorry, there is no easy method for this.&lt;BR /&gt;&lt;BR /&gt;Share and Enjoy! Ian</description>
    <pubDate>Thu, 12 Jun 2003 07:45:36 GMT</pubDate>
    <dc:creator>Ian Dennison_1</dc:creator>
    <dc:date>2003-06-12T07:45:36Z</dc:date>
    <item>
      <title>How to change lvols from one vg to another vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-lvols-from-one-vg-to-another-vg/m-p/2995459#M125263</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I need to change lvols from one vg (vg00), to another vg (vg01), with another disk.&lt;BR /&gt;What could I do?,&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Carmen.</description>
      <pubDate>Thu, 12 Jun 2003 07:39:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-lvols-from-one-vg-to-another-vg/m-p/2995459#M125263</guid>
      <dc:creator>Carme Torca</dc:creator>
      <dc:date>2003-06-12T07:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to change lvols from one vg to another vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-lvols-from-one-vg-to-another-vg/m-p/2995460#M125264</link>
      <description>You can't move a logical volume that is part of one group to another. You will need to create a new logical volume put a filesystem on it and copy the data, or remove the logical volume from vg00 and create it in vg01 and restore that data from tape/disk etc.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Michael&lt;BR /&gt;"When I have trouble spelling, it's called fat finger syndrome."</description>
      <pubDate>Thu, 12 Jun 2003 07:44:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-lvols-from-one-vg-to-another-vg/m-p/2995460#M125264</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-06-12T07:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to change lvols from one vg to another vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-lvols-from-one-vg-to-another-vg/m-p/2995461#M125265</link>
      <description>Create completely new lvols on the new VG, and copy the datafiles while the database is down.&lt;BR /&gt;&lt;BR /&gt;Sorry, there is no easy method for this.&lt;BR /&gt;&lt;BR /&gt;Share and Enjoy! Ian</description>
      <pubDate>Thu, 12 Jun 2003 07:45:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-lvols-from-one-vg-to-another-vg/m-p/2995461#M125265</guid>
      <dc:creator>Ian Dennison_1</dc:creator>
      <dc:date>2003-06-12T07:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to change lvols from one vg to another vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-lvols-from-one-vg-to-another-vg/m-p/2995462#M125266</link>
      <description>hi,&lt;BR /&gt;there is no easy procedure.&lt;BR /&gt;&lt;BR /&gt;option 1- reinstall the server with ignite (i know this takes long...)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;option 2- if lvol are not in use, you can umount the lvol, create a new lvol exactly the same size in the vg01, copy with dd using the raw logical volume the content to the new lvol and mount it&lt;BR /&gt;&lt;BR /&gt;if lvol are in use, you may trying going down to maintenance mode or single user...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Why do you want to move the lvol ? If it is for space needings, maybe a search of big files can help.&lt;BR /&gt;&lt;BR /&gt;Can you give more details?&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt; Massimo&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Jun 2003 07:46:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-lvols-from-one-vg-to-another-vg/m-p/2995462#M125266</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-06-12T07:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to change lvols from one vg to another vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-lvols-from-one-vg-to-another-vg/m-p/2995463#M125267</link>
      <description>But,&lt;BR /&gt;I cannot do and vgexport from vg00 and a vgimport to vg01, and after remove the file systems in vg01 than are from so in vg00??&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Jun 2003 07:49:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-lvols-from-one-vg-to-another-vg/m-p/2995463#M125267</guid>
      <dc:creator>Carme Torca</dc:creator>
      <dc:date>2003-06-12T07:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to change lvols from one vg to another vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-lvols-from-one-vg-to-another-vg/m-p/2995464#M125268</link>
      <description>Carme,&lt;BR /&gt;&lt;BR /&gt;you will need to create a new lvol and filesystem in vg01, mount it and then copy over the filesystem from vg00 (there should be no changes to the filesystem while you copy it).&lt;BR /&gt;finally change /etc/fstab to reflect the change&lt;BR /&gt;and remove the unused lvol from vg00.&lt;BR /&gt;&lt;BR /&gt;vg00 is usually the root volume group, which lvol/filesystem do you want to move out?&lt;BR /&gt;&lt;BR /&gt;first check with&lt;BR /&gt;fuser -cu /mount_point_of_lvol&lt;BR /&gt;&lt;BR /&gt;whether there are processes that use this filesystem (you will have to stop them)&lt;BR /&gt;&lt;BR /&gt;I assume you are not using the lvol as a raw volume...&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Bernhard</description>
      <pubDate>Thu, 12 Jun 2003 07:50:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-lvols-from-one-vg-to-another-vg/m-p/2995464#M125268</guid>
      <dc:creator>Bernhard Mueller</dc:creator>
      <dc:date>2003-06-12T07:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to change lvols from one vg to another vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-lvols-from-one-vg-to-another-vg/m-p/2995465#M125269</link>
      <description>I have this:&lt;BR /&gt;&lt;BR /&gt;#bdf&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3     204800   85000  118872   42% /&lt;BR /&gt;/dev/vg00/lvol1     295024   70008  195512   26% /stand&lt;BR /&gt;/dev/vg00/lvol8    4812800  476872 4302536   10% /var&lt;BR /&gt;/dev/vg00/lvol7    2150400 1018816 1122760   48% /usr&lt;BR /&gt;/dev/vg00/lvol6     204800   49776  154488   24% /tmp&lt;BR /&gt;/dev/vg00/lvol5    2150400 1029016 1112632   48% /opt&lt;BR /&gt;/dev/vg00/lvol4      24576    2320   22088   10% /home&lt;BR /&gt;/dev/vg00/lv_apps  23560192 13624296 9314905   59% /apps&lt;BR /&gt;/dev/vg00/lv_orafin&lt;BR /&gt;                   26624000   92972 26205396    0% /app/orafin&lt;BR /&gt;/dev/vg00/lv_ora9  3727360 3625309   95690   97% /app/oracle9&lt;BR /&gt;/dev/vg00/lv_ias9  3145728  809949 2189951   27% /app/ias9&lt;BR /&gt;&lt;BR /&gt;And I want to move /apps, /app/orafin, /app/ias9 and /app/oracle9 to vg01.&lt;BR /&gt;&lt;BR /&gt;Could  I do this with vgexport and vgimport??&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Thu, 12 Jun 2003 07:50:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-lvols-from-one-vg-to-another-vg/m-p/2995465#M125269</guid>
      <dc:creator>Carme Torca</dc:creator>
      <dc:date>2003-06-12T07:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to change lvols from one vg to another vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-lvols-from-one-vg-to-another-vg/m-p/2995466#M125270</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Why do you need change vg? &lt;BR /&gt;more free space? it??s possible umount this lvol?..&lt;BR /&gt;&lt;BR /&gt;The only way that I know is backup, create the new lvol in the other vg and restore&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Jorge&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Jun 2003 07:52:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-lvols-from-one-vg-to-another-vg/m-p/2995466#M125270</guid>
      <dc:creator>Jorge Pons</dc:creator>
      <dc:date>2003-06-12T07:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to change lvols from one vg to another vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-lvols-from-one-vg-to-another-vg/m-p/2995467#M125271</link>
      <description>Hello Carmen,&lt;BR /&gt;&lt;BR /&gt;Exporting a vg means export all the configuration, so if you import vg00 into vg01, then you'd lost vg01 configuration.&lt;BR /&gt;&lt;BR /&gt;There is no other solutions as mentined.&lt;BR /&gt;&lt;BR /&gt;Regards, Vicente.</description>
      <pubDate>Thu, 12 Jun 2003 07:53:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-lvols-from-one-vg-to-another-vg/m-p/2995467#M125271</guid>
      <dc:creator>Vicente Sanchez_3</dc:creator>
      <dc:date>2003-06-12T07:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to change lvols from one vg to another vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-lvols-from-one-vg-to-another-vg/m-p/2995468#M125272</link>
      <description>&lt;BR /&gt;We need to see if the unwanted volumes are on a separate disk.&lt;BR /&gt;&lt;BR /&gt;Please post a copy of :&lt;BR /&gt;&lt;BR /&gt;# vgdisplay -v /dev/vg00&lt;BR /&gt;&lt;BR /&gt;for each volume you wish to move&lt;BR /&gt;# lvdisplay -v /dev/lv_ora9 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Michael&lt;BR /&gt;"When I have trouble spelling, it's called fat finger syndrome."</description>
      <pubDate>Thu, 12 Jun 2003 07:55:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-lvols-from-one-vg-to-another-vg/m-p/2995468#M125272</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-06-12T07:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to change lvols from one vg to another vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-lvols-from-one-vg-to-another-vg/m-p/2995469#M125273</link>
      <description>Hello Carmen,&lt;BR /&gt;&lt;BR /&gt;If you have space enought in vg01 you can do:&lt;BR /&gt;&lt;BR /&gt;- rename mount directories to name.old.&lt;BR /&gt;&lt;BR /&gt;- create the new volumes in vg01 with the original mount names (/apps...)&lt;BR /&gt;&lt;BR /&gt;- copy from apps.old to apps and the same for other lvols.&lt;BR /&gt;&lt;BR /&gt;- verify results.&lt;BR /&gt;&lt;BR /&gt;- delete old vg00 lvols.&lt;BR /&gt;&lt;BR /&gt;Regards, Vicente.</description>
      <pubDate>Thu, 12 Jun 2003 08:07:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-lvols-from-one-vg-to-another-vg/m-p/2995469#M125273</guid>
      <dc:creator>Vicente Sanchez_3</dc:creator>
      <dc:date>2003-06-12T08:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to change lvols from one vg to another vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-lvols-from-one-vg-to-another-vg/m-p/2995470#M125274</link>
      <description>Vgexport/import only changes the vg_definitions in the operating system only. It does not move data between physical disks.&lt;BR /&gt;&lt;BR /&gt;I.E. you can export a vg, and hence remove its entries in /etc/lvmtab, the /dev/vg... directory, the group file. &lt;BR /&gt;&lt;BR /&gt;You can then re-create the /dev/vg(x)/group , and vgimport as anothe name, but the contetns will be the same. &lt;BR /&gt;&lt;BR /&gt;You can't vgexport vg00.&lt;BR /&gt;&lt;BR /&gt;So yes, the only way is to copy.&lt;BR /&gt;&lt;BR /&gt;use &lt;BR /&gt;#cd dir_to_copy_from&lt;BR /&gt;#find .| cpio -pdumv dir_to_copy_to&lt;BR /&gt;&lt;BR /&gt;Rgds Jarle&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Jun 2003 10:05:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-change-lvols-from-one-vg-to-another-vg/m-p/2995470#M125274</guid>
      <dc:creator>Jarle Bjorgeengen</dc:creator>
      <dc:date>2003-06-12T10:05:54Z</dc:date>
    </item>
  </channel>
</rss>

