<?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: HP-UX 11.00 FileSystem Copy with fabackup or dd or tar. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-00-filesystem-copy-with-fabackup-or-dd-or-tar/m-p/3309349#M479728</link>
    <description>Hi All ,&lt;BR /&gt;&lt;BR /&gt;This command i have tried and found good result. &lt;BR /&gt;&lt;BR /&gt;# umount /data2&lt;BR /&gt;# dd if=/dev/vg01/data1 of=/dev/vg01/data2&lt;BR /&gt;# fsck /dev/vg01/data2&lt;BR /&gt;# mount -F /dev/vg01/data2 /data2&lt;BR /&gt;&lt;BR /&gt;# diff /data1 /data2 &lt;BR /&gt;&lt;BR /&gt;Found OK.&lt;BR /&gt;&lt;BR /&gt;Thanks to all who replied ,&lt;BR /&gt;&lt;BR /&gt;Raj.D&lt;BR /&gt;</description>
    <pubDate>Fri, 18 Jun 2004 12:00:37 GMT</pubDate>
    <dc:creator>Raj D.</dc:creator>
    <dc:date>2004-06-18T12:00:37Z</dc:date>
    <item>
      <title>HP-UX 11.00 FileSystem Copy with fabackup or dd or tar.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-00-filesystem-copy-with-fabackup-or-dd-or-tar/m-p/3309343#M479722</link>
      <description>Hi All ,&lt;BR /&gt;&lt;BR /&gt;Can any one tell me , how to backup files system to another filesystem , using (1) fbackup or (2)dd or (3)tar command.&lt;BR /&gt;&lt;BR /&gt;I have two file system &lt;BR /&gt;&lt;BR /&gt;/data1    size 1GB    used=800MB&lt;BR /&gt;/data2    size 1GB    used=0MB.&lt;BR /&gt;&lt;BR /&gt;can i copy all files and dirs of /data1 filesystem , to /data2 filesystem using fbackup or dd. both are vxfs filesystem.&lt;BR /&gt;&lt;BR /&gt;I beleive this will be faster and accurate than cp command.&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;Raj. D.&lt;BR /&gt;--------</description>
      <pubDate>Fri, 18 Jun 2004 10:48:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-00-filesystem-copy-with-fabackup-or-dd-or-tar/m-p/3309343#M479722</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2004-06-18T10:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 11.00 FileSystem Copy with fabackup or dd or tar.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-00-filesystem-copy-with-fabackup-or-dd-or-tar/m-p/3309344#M479723</link>
      <description>This should do the trick...&lt;BR /&gt;&lt;BR /&gt;(cd /data1; tar cf - .) | (cd /data2; tar xvf -)</description>
      <pubDate>Fri, 18 Jun 2004 10:53:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-00-filesystem-copy-with-fabackup-or-dd-or-tar/m-p/3309344#M479723</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2004-06-18T10:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 11.00 FileSystem Copy with fabackup or dd or tar.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-00-filesystem-copy-with-fabackup-or-dd-or-tar/m-p/3309345#M479724</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can use cpio.&lt;BR /&gt;&lt;BR /&gt;# find /data1 | cpio -pcmudv /data2&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan&lt;BR /&gt;Ps, to gain extra speed remove the -v option.</description>
      <pubDate>Fri, 18 Jun 2004 10:53:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-00-filesystem-copy-with-fabackup-or-dd-or-tar/m-p/3309345#M479724</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2004-06-18T10:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 11.00 FileSystem Copy with fabackup or dd or tar.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-00-filesystem-copy-with-fabackup-or-dd-or-tar/m-p/3309346#M479725</link>
      <description>Any of those methods should work, some maybe better than others.   My personal approach is to run "find /data1 -print |cpio -pdumxl /data2".&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 18 Jun 2004 10:54:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-00-filesystem-copy-with-fabackup-or-dd-or-tar/m-p/3309346#M479725</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-06-18T10:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 11.00 FileSystem Copy with fabackup or dd or tar.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-00-filesystem-copy-with-fabackup-or-dd-or-tar/m-p/3309347#M479726</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;it is not needed fbackup filesystem, just copy it!&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=611082" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=611082&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Check thread above, it has a lot of suggestions about that.&lt;BR /&gt;My one was:&lt;BR /&gt;&lt;BR /&gt;# cd /data1&lt;BR /&gt;# find . -xdev -print | cpio -pdmvux /data2&lt;BR /&gt;&lt;BR /&gt;I suggest you to compare two directories at the end:&lt;BR /&gt;&lt;BR /&gt;# diff /data1 /data2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Ettore</description>
      <pubDate>Fri, 18 Jun 2004 10:54:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-00-filesystem-copy-with-fabackup-or-dd-or-tar/m-p/3309347#M479726</guid>
      <dc:creator>Fabio Ettore</dc:creator>
      <dc:date>2004-06-18T10:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 11.00 FileSystem Copy with fabackup or dd or tar.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-00-filesystem-copy-with-fabackup-or-dd-or-tar/m-p/3309348#M479727</link>
      <description>Thanks , &lt;BR /&gt;&lt;BR /&gt; Jeff , Robert , Pete &amp;amp; Etore , and who all replied. The Problem solved , with , solution  of : &lt;BR /&gt;&lt;BR /&gt;1] Jeff &amp;amp; 2] Ettore .&lt;BR /&gt;&lt;BR /&gt;The command given by robert is creating one more directory called data1 under /data2&lt;BR /&gt;&lt;BR /&gt;i.e &lt;BR /&gt;Robert:&lt;BR /&gt;# find /data1 | cpio -pcmudv /data2 &lt;BR /&gt;&lt;BR /&gt;Pete:&lt;BR /&gt;# find /data1 -print | cpio -pdumxl /data2&lt;BR /&gt;&lt;BR /&gt;creates one more directory. &lt;BR /&gt; i.e /data2/data1/....under /.&lt;BR /&gt;&lt;BR /&gt;This two works fine.&lt;BR /&gt;of Jeff and Etorre , &lt;BR /&gt;&lt;BR /&gt;Thanks to all . &lt;BR /&gt;--------------&lt;BR /&gt;Raj. D.&lt;BR /&gt;-------</description>
      <pubDate>Fri, 18 Jun 2004 11:54:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-00-filesystem-copy-with-fabackup-or-dd-or-tar/m-p/3309348#M479727</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2004-06-18T11:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 11.00 FileSystem Copy with fabackup or dd or tar.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-00-filesystem-copy-with-fabackup-or-dd-or-tar/m-p/3309349#M479728</link>
      <description>Hi All ,&lt;BR /&gt;&lt;BR /&gt;This command i have tried and found good result. &lt;BR /&gt;&lt;BR /&gt;# umount /data2&lt;BR /&gt;# dd if=/dev/vg01/data1 of=/dev/vg01/data2&lt;BR /&gt;# fsck /dev/vg01/data2&lt;BR /&gt;# mount -F /dev/vg01/data2 /data2&lt;BR /&gt;&lt;BR /&gt;# diff /data1 /data2 &lt;BR /&gt;&lt;BR /&gt;Found OK.&lt;BR /&gt;&lt;BR /&gt;Thanks to all who replied ,&lt;BR /&gt;&lt;BR /&gt;Raj.D&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Jun 2004 12:00:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-00-filesystem-copy-with-fabackup-or-dd-or-tar/m-p/3309349#M479728</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2004-06-18T12:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 11.00 FileSystem Copy with fabackup or dd or tar.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-00-filesystem-copy-with-fabackup-or-dd-or-tar/m-p/3309350#M479729</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;I use this method as well, just take into account that it's good only if logical volumes size is equal.&lt;BR /&gt;PS. It's better to use /dev/vgxx/rlvol and not lvol. You can change bs in dd command in order to accelerate the process.&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Fri, 18 Jun 2004 12:29:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-00-filesystem-copy-with-fabackup-or-dd-or-tar/m-p/3309350#M479729</guid>
      <dc:creator>Victor Fridyev</dc:creator>
      <dc:date>2004-06-18T12:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 11.00 FileSystem Copy with fabackup or dd or tar.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-00-filesystem-copy-with-fabackup-or-dd-or-tar/m-p/3309351#M479730</link>
      <description>Thanks Victor..&lt;BR /&gt;&lt;BR /&gt;But Whats the Block size to be used , to accelarate the dd operation. &lt;BR /&gt;is it bs=64 . ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Raj. D.&lt;BR /&gt;</description>
      <pubDate>Sun, 20 Jun 2004 05:15:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-00-filesystem-copy-with-fabackup-or-dd-or-tar/m-p/3309351#M479730</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2004-06-20T05:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 11.00 FileSystem Copy with fabackup or dd or tar.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-00-filesystem-copy-with-fabackup-or-dd-or-tar/m-p/3309352#M479731</link>
      <description>Raj,&lt;BR /&gt;&lt;BR /&gt;although cpio passthrough copying, as recommended by others, is the most common method, in terms of performance for copying an entire filesystem you can hardly beat dd (you found out yourself).&lt;BR /&gt;&lt;BR /&gt;The only things to be aware of are:&lt;BR /&gt;target rlvol must be the same size or larger than the source rlvol.&lt;BR /&gt;(if larger, you simply run extendfs on the target rlvol after the copy is done and before mounting it)&lt;BR /&gt;&lt;BR /&gt;Blocksize should be between 256k and 4096k.&lt;BR /&gt;Whether this actually makes a difference, is hard to tell because it depends on the system configuration. I found 256k suitable for most situations.&lt;BR /&gt;&lt;BR /&gt;Especially if you have filesystems with tens or hundreds of thousands of files the dd method will save you *hours* compared to cpio.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Bernhard</description>
      <pubDate>Mon, 21 Jun 2004 04:26:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-00-filesystem-copy-with-fabackup-or-dd-or-tar/m-p/3309352#M479731</guid>
      <dc:creator>Bernhard Mueller</dc:creator>
      <dc:date>2004-06-21T04:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 11.00 FileSystem Copy with fabackup or dd or tar.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-00-filesystem-copy-with-fabackup-or-dd-or-tar/m-p/3309353#M479732</link>
      <description>Hi Bernhard ,&lt;BR /&gt;&lt;BR /&gt;Thats a good one , well i ll try it out. &lt;BR /&gt;I believe system with good resources , i.e CPU / RAM , will give good acceleration to dd for block size 256 and 4096. With Large File system say 10/20GB or more.&lt;BR /&gt;&lt;BR /&gt;For a huge number of files cpio is slow its true. &lt;BR /&gt;&lt;BR /&gt;Thanks for showing me the light ,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Raj D.&lt;BR /&gt;------</description>
      <pubDate>Mon, 21 Jun 2004 04:48:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-00-filesystem-copy-with-fabackup-or-dd-or-tar/m-p/3309353#M479732</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2004-06-21T04:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 11.00 FileSystem Copy with fabackup or dd or tar.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-00-filesystem-copy-with-fabackup-or-dd-or-tar/m-p/3309354#M479733</link>
      <description>I prefer to use vxdump/vxrestore - fastest way I have seen:&lt;BR /&gt;&lt;BR /&gt;vxdump -0 -f - -s 1000000 -b 16 /data1 |  (cd /data2 ; vxrestore rf -)&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Mon, 21 Jun 2004 08:00:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-00-filesystem-copy-with-fabackup-or-dd-or-tar/m-p/3309354#M479733</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-06-21T08:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX 11.00 FileSystem Copy with fabackup or dd or tar.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-00-filesystem-copy-with-fabackup-or-dd-or-tar/m-p/3309355#M479734</link>
      <description>Thanks al who replied ,&lt;BR /&gt;&lt;BR /&gt;Thanks to Geoff for the another way to do it .. 10 points to Geoff.&lt;BR /&gt;&lt;BR /&gt; It can be achived via fbackup / frecover also, its apprciable if any one help it out.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards ,&lt;BR /&gt;&lt;BR /&gt;Raj D.&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Jul 2004 22:33:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-11-00-filesystem-copy-with-fabackup-or-dd-or-tar/m-p/3309355#M479734</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2004-07-05T22:33:48Z</dc:date>
    </item>
  </channel>
</rss>

