<?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: LVM in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/4065919#M306658</link>
    <description>Hi Amitav,&lt;BR /&gt;&lt;BR /&gt;Firstly dd can only be used to dump data from one disk to another, mainly used in case of whole disk backups.&lt;BR /&gt;&lt;BR /&gt;#dd if=/dev/rdsk/c?t?d? of=/dev/rdsk/c?t?d? bs=1024 (in multiples of 2)&lt;BR /&gt;&lt;BR /&gt;In,the above command first you've to get two disks from two different vg's, but the only problem would be to find out any paricular filesets in this case. Else you can dump the whole disk to other disk, which should supposedly have enough space, and you are done.&lt;BR /&gt;&lt;BR /&gt;Secondly using tar would be much feasible in case of selected filesets -&lt;BR /&gt;&lt;BR /&gt;#tar -cvf myarchive `cat /tmp/aa`&lt;BR /&gt; or&lt;BR /&gt;#cat /tmp/aa | xargs tar -cvf aa.tar&lt;BR /&gt;&lt;BR /&gt;Also,if there are many files  to be archived, you can use 'pax', which can write tar-format but can read the files to be archived from stdin as well:&lt;BR /&gt;&lt;BR /&gt;#pax -w -f myarchive.tar After this move the tar file to the desired location.&lt;BR /&gt;&lt;BR /&gt;Try this syntax&lt;BR /&gt;# find . -print | cpio -pdmuv &amp;gt; /tmp/myarchive.cpio&lt;BR /&gt;&lt;BR /&gt;Test it out, but this syntax should keep the ownerships and permissions intact.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 06 Sep 2007 00:55:11 GMT</pubDate>
    <dc:creator>Amit Parui</dc:creator>
    <dc:date>2007-09-06T00:55:11Z</dc:date>
    <item>
      <title>LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/4065918#M306657</link>
      <description>I'm new to HP unix, how can i move data's across VG's. Though i know it can be done thru the cmd's like dd, mv, cp, tar, cpio....but i know have the knowledge how to use them(esp. dd, tar &amp;amp; cpio)...?? Can somebody help me out.....</description>
      <pubDate>Thu, 06 Sep 2007 00:17:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/4065918#M306657</guid>
      <dc:creator>Amitav</dc:creator>
      <dc:date>2007-09-06T00:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/4065919#M306658</link>
      <description>Hi Amitav,&lt;BR /&gt;&lt;BR /&gt;Firstly dd can only be used to dump data from one disk to another, mainly used in case of whole disk backups.&lt;BR /&gt;&lt;BR /&gt;#dd if=/dev/rdsk/c?t?d? of=/dev/rdsk/c?t?d? bs=1024 (in multiples of 2)&lt;BR /&gt;&lt;BR /&gt;In,the above command first you've to get two disks from two different vg's, but the only problem would be to find out any paricular filesets in this case. Else you can dump the whole disk to other disk, which should supposedly have enough space, and you are done.&lt;BR /&gt;&lt;BR /&gt;Secondly using tar would be much feasible in case of selected filesets -&lt;BR /&gt;&lt;BR /&gt;#tar -cvf myarchive `cat /tmp/aa`&lt;BR /&gt; or&lt;BR /&gt;#cat /tmp/aa | xargs tar -cvf aa.tar&lt;BR /&gt;&lt;BR /&gt;Also,if there are many files  to be archived, you can use 'pax', which can write tar-format but can read the files to be archived from stdin as well:&lt;BR /&gt;&lt;BR /&gt;#pax -w -f myarchive.tar After this move the tar file to the desired location.&lt;BR /&gt;&lt;BR /&gt;Try this syntax&lt;BR /&gt;# find . -print | cpio -pdmuv &amp;gt; /tmp/myarchive.cpio&lt;BR /&gt;&lt;BR /&gt;Test it out, but this syntax should keep the ownerships and permissions intact.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Sep 2007 00:55:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/4065919#M306658</guid>
      <dc:creator>Amit Parui</dc:creator>
      <dc:date>2007-09-06T00:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/4065920#M306659</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;When you say across volume groups, you mean from one volume group to another?&lt;BR /&gt;&lt;BR /&gt;You actually list many of my preferred choices.&lt;BR /&gt;&lt;BR /&gt;I also for not totally huge moves use scp, to move across a network between machines.&lt;BR /&gt;&lt;BR /&gt;If you want to migrate a whole volume group you can use vgexport followed by vgimport.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 06 Sep 2007 00:56:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/4065920#M306659</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-09-06T00:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/4065921#M306660</link>
      <description>get system administartion tasks.pdf from docs.hp.cpm</description>
      <pubDate>Thu, 06 Sep 2007 06:01:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/4065921#M306660</guid>
      <dc:creator>Prasanth V Aravind</dc:creator>
      <dc:date>2007-09-06T06:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/4065922#M306661</link>
      <description>sending the link &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-90672/B2355-90672.pdf" target="_blank"&gt;http://docs.hp.com/en/B2355-90672/B2355-90672.pdf&lt;/A&gt;</description>
      <pubDate>Thu, 06 Sep 2007 06:08:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/4065922#M306661</guid>
      <dc:creator>Prasanth V Aravind</dc:creator>
      <dc:date>2007-09-06T06:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: LVM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/4065923#M306662</link>
      <description>What data do you want to move ?&lt;BR /&gt;If you want to create a new VG with the same configuration as the old VG, or modify a VG to give it the same configuration as the old VG, vgexport (with -p option !) and vgimport is your way to go.&lt;BR /&gt;If you want to copy the contents of a RAW LV to another RAW LV in another VG, then dd is the way to go, but then you are copying LV-contents, not VG's. (VG's in fact only contain configuration information, so that is all you can copy if you talk about VG's)&lt;BR /&gt;If you want to copy filesystems between LV's (and it doesn't matter if it is a different VG or not), use filesystem tools like cp -pr (if you can directly access both filesystems), or tar or cpio.&lt;BR /&gt;&lt;BR /&gt;To give more detailed command explanations, a good starting point is to look at the man pages, or to specify here what type of data you want to copy.</description>
      <pubDate>Thu, 06 Sep 2007 07:06:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm/m-p/4065923#M306662</guid>
      <dc:creator>Wim Rombauts</dc:creator>
      <dc:date>2007-09-06T07:06:21Z</dc:date>
    </item>
  </channel>
</rss>

