<?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: Data move in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/data-move/m-p/5051257#M751397</link>
    <description>Thanks for the info.</description>
    <pubDate>Tue, 05 Jun 2007 15:00:09 GMT</pubDate>
    <dc:creator>Jeffrey F. Goldsmith</dc:creator>
    <dc:date>2007-06-05T15:00:09Z</dc:date>
    <item>
      <title>Data move</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/data-move/m-p/5051254#M751394</link>
      <description>I have to move a set of directories from server A to server B.  I created a transfer directory (LV) on the server B and and mounted it on server A to help with the copy.  Then I performed a copy (cp -R /year-end/fy01 /G_sharedfiles/year-end/fy01).  Once the directory and files were copied I noticed that the folder size was not the same.&lt;BR /&gt;&lt;BR /&gt;There are the same number of files in both directories but the total file size is different.  Is there a way for me to compaire the files in both directories to see what files don't match?&lt;BR /&gt;&lt;BR /&gt;Here is the information from the steps that I performed.&lt;BR /&gt;&lt;BR /&gt;root: /G_sharedfiles/year-end ==&amp;gt; ll&lt;BR /&gt;total 360&lt;BR /&gt;drwxr-xr-x   2 65534      sys          62464 Jun  5 09:40 fy01&lt;BR /&gt;&lt;BR /&gt;root: /year-end ==&amp;gt; ll&lt;BR /&gt;total 1384&lt;BR /&gt;drwxr-xr-x   2 root       sys          63488 May 11 14:19 fy01&lt;BR /&gt;&lt;BR /&gt;Then I did files and size:&lt;BR /&gt;&lt;BR /&gt;root: /year-end/fy01 ==&amp;gt; du -sk    &lt;BR /&gt;80372   .&lt;BR /&gt;root: /year-end/fy01 ==&amp;gt; find . -type f -print | wc -l&lt;BR /&gt;2903&lt;BR /&gt;&lt;BR /&gt;root: /G_sharedfiles/year-end/fy01 ==&amp;gt; du -sk &lt;BR /&gt;80371   .&lt;BR /&gt;root: /G_sharedfiles/year-end/fy01 ==&amp;gt; find . -type f -print | wc -l&lt;BR /&gt;2903&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If you need any other information let me know.</description>
      <pubDate>Tue, 05 Jun 2007 14:06:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/data-move/m-p/5051254#M751394</guid>
      <dc:creator>Jeffrey F. Goldsmith</dc:creator>
      <dc:date>2007-06-05T14:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Data move</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/data-move/m-p/5051255#M751395</link>
      <description>This is very typical and you have nothing to worry about. The "problem" is directories. When a file is unlink()'ed (the system call that underlies the rm command), the corresponding directory entry is marked free but the size of the directory in not reduced. These "free" slots are then available for reuse. When you copied the filetrees, the directories were brand spanking new and contained no "holes" so that the directories are smaller (for now).&lt;BR /&gt;&lt;BR /&gt;The behavior you are seeing is normal and expected.</description>
      <pubDate>Tue, 05 Jun 2007 14:19:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/data-move/m-p/5051255#M751395</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-06-05T14:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Data move</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/data-move/m-p/5051256#M751396</link>
      <description>If you really want to check each file you can write a script that will go through your file list and do a cksum on each file.&lt;BR /&gt;&lt;BR /&gt;Do that in each directory tree, send the output to files, and then diff the files.  Ideally you should have no differences.</description>
      <pubDate>Tue, 05 Jun 2007 14:44:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/data-move/m-p/5051256#M751396</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2007-06-05T14:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Data move</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/data-move/m-p/5051257#M751397</link>
      <description>Thanks for the info.</description>
      <pubDate>Tue, 05 Jun 2007 15:00:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/data-move/m-p/5051257#M751397</guid>
      <dc:creator>Jeffrey F. Goldsmith</dc:creator>
      <dc:date>2007-06-05T15:00:09Z</dc:date>
    </item>
  </channel>
</rss>

