<?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: Mount Size Increase in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-size-increase/m-p/2845389#M92085</link>
    <description>when you have run newfs for create the two new partition wich option have you used??&lt;BR /&gt;&lt;BR /&gt;block size??? mmmmmm&lt;BR /&gt;</description>
    <pubDate>Fri, 15 Nov 2002 13:43:38 GMT</pubDate>
    <dc:creator>Domenico_5</dc:creator>
    <dc:date>2002-11-15T13:43:38Z</dc:date>
    <item>
      <title>Mount Size Increase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-size-increase/m-p/2845385#M92081</link>
      <description>Hello all,&lt;BR /&gt;I am in the process of upgrading from a D330 (10.20) to an RP5470 (L3000) (11.00).  I have one mount on the old server that takes up about 22 gigs.  When I moved it to the new server, I split it into two mounts.  Then end result was one mount on the new server being about 2.5 gigs, and the other using up about 35 gigs:&lt;BR /&gt;From:&lt;BR /&gt;/dev/vg01/lvol10   24576000 22275315 2156906   91% /optim&lt;BR /&gt;To:&lt;BR /&gt;/dev/vg01/lvol1    20480000 2538236 17661664   13% /optim&lt;BR /&gt;/dev/vg01/lvol3    40960000 34694176 6216920   85% /optim/trans&lt;BR /&gt;&lt;BR /&gt;Here is the VGDisplay on the D server:&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vg01&lt;BR /&gt;VG Write Access             read/write     &lt;BR /&gt;VG Status                   available                 &lt;BR /&gt;Max LV                      255    &lt;BR /&gt;Cur LV                      1      &lt;BR /&gt;Open LV                     1      &lt;BR /&gt;Max PV                      16     &lt;BR /&gt;Cur PV                      12     &lt;BR /&gt;Act PV                      12     &lt;BR /&gt;Max PE per PV               1024         &lt;BR /&gt;VGDA                        24  &lt;BR /&gt;PE Size (Mbytes)            4               &lt;BR /&gt;Total PE                    12276   &lt;BR /&gt;Alloc PE                    12000   &lt;BR /&gt;Free PE                     276     &lt;BR /&gt;Total PVG                   1        &lt;BR /&gt;&lt;BR /&gt;Here is VGDisplay from the new server:&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vg01&lt;BR /&gt;VG Write Access             read/write     &lt;BR /&gt;VG Status                   available                 &lt;BR /&gt;Max LV                      255    &lt;BR /&gt;Cur LV                      3      &lt;BR /&gt;Open LV                     3      &lt;BR /&gt;Max PV                      16     &lt;BR /&gt;Cur PV                      6      &lt;BR /&gt;Act PV                      6      &lt;BR /&gt;Max PE per PV               8683         &lt;BR /&gt;VGDA                        12  &lt;BR /&gt;PE Size (Mbytes)            4               &lt;BR /&gt;Total PE                    52086   &lt;BR /&gt;Alloc PE                    32500   &lt;BR /&gt;Free PE                     19586   &lt;BR /&gt;Total PVG                   0        &lt;BR /&gt;Total Spare PVs             0              &lt;BR /&gt;Total Spare PVs in use      0                     &lt;BR /&gt;&lt;BR /&gt;We can't figure out what could cause this.  We are going to install Online JFS soon and try defraging the new mount to see if the size comes down some.  Thanks in advance for any help!</description>
      <pubDate>Thu, 14 Nov 2002 22:57:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-size-increase/m-p/2845385#M92081</guid>
      <dc:creator>David Barkman</dc:creator>
      <dc:date>2002-11-14T22:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Mount Size Increase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-size-increase/m-p/2845386#M92082</link>
      <description>Depending on how you moved the data, what were links to a common file may now be multiple files or very likely sparse files were copied and during the copy wghat was sparse is now fully allocated. A sparse file can be created by writing 1 byte at offset 0 and then doing an lseek to offset 1,000,000 and writing a single byte. You have just created a file that will be reported by ls as 1,000,000 bytes but will occupy at most 2 extents UNTIL it is copied.&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Nov 2002 23:06:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-size-increase/m-p/2845386#M92082</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-11-14T23:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Mount Size Increase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-size-increase/m-p/2845387#M92083</link>
      <description>Depending on how you moved the data, what were links to a common file may now be multiple files or very likely sparse files were copied.</description>
      <pubDate>Thu, 14 Nov 2002 23:07:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-size-increase/m-p/2845387#M92083</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-11-14T23:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Mount Size Increase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-size-increase/m-p/2845388#M92084</link>
      <description>I agree with Clay -&lt;BR /&gt;whenever migrating, I usually do somthing like this&lt;BR /&gt;&lt;BR /&gt;go on newer faster system&lt;BR /&gt;mkdir /mnt&lt;BR /&gt;mount oldserver:/filesystem /mnt&lt;BR /&gt;(assuming you exported the filesystem on oldserver in /etc/exports) and ran nfs.server start where /etc/rc.config.d/nfsconf had the server set to 1.&lt;BR /&gt;&lt;BR /&gt;cd /mnt&lt;BR /&gt;&lt;BR /&gt;Now the command line&lt;BR /&gt;&lt;BR /&gt;find . -depth -print | cpio -pd /newdirectory&lt;BR /&gt;&lt;BR /&gt;Now - before you do  anything, look at a man page on cpio, since you may want to do something like&lt;BR /&gt;&lt;BR /&gt;find . -depth -print | cpio -pdlmv /newdirectory.&lt;BR /&gt;&lt;BR /&gt;Note that file sizes will rarely be the exact same, since initial block sizes on  differently sized disks are not the same.&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Nov 2002 13:34:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-size-increase/m-p/2845388#M92084</guid>
      <dc:creator>Judy Traynor</dc:creator>
      <dc:date>2002-11-15T13:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Mount Size Increase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-size-increase/m-p/2845389#M92085</link>
      <description>when you have run newfs for create the two new partition wich option have you used??&lt;BR /&gt;&lt;BR /&gt;block size??? mmmmmm&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Nov 2002 13:43:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-size-increase/m-p/2845389#M92085</guid>
      <dc:creator>Domenico_5</dc:creator>
      <dc:date>2002-11-15T13:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Mount Size Increase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-size-increase/m-p/2845390#M92086</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;As Clay has indicated, the presence of sparse files, depending upon the method of copy, could easily inflate the filesystem space.&lt;BR /&gt;&lt;BR /&gt;Using 'cpio' or 'fbackup' to copy preserves the "sparseness".  Using 'cp' will *not*.  Sparse files so copied will grow in size.  Consider a 2MB sparse file viewed with 'ls' and 'du'.&lt;BR /&gt;&lt;BR /&gt;# ls -l /tmp/sparse&lt;BR /&gt;-rw-r----- 3 root sys 2097156 Nov 15...&lt;BR /&gt;# du /tmp/sparse&lt;BR /&gt;2 /tmp/sparse&lt;BR /&gt;&lt;BR /&gt;After the file is copied with 'cp':&lt;BR /&gt;&lt;BR /&gt;# ls -l /tmp/sparse.cp&lt;BR /&gt;-rw-r----- 3 root sys 2097156 Nov 15...&lt;BR /&gt;# du /tmp/sparse.cp&lt;BR /&gt;4098 /tmp/dummydir/sparse.cp&lt;BR /&gt;&lt;BR /&gt;Remember that 'du' reports in blocks of 512 bytes.&lt;BR /&gt;&lt;BR /&gt;An acceptable method for replicating whole directories of regular files while preserving "sparseness" (along with permissions and modification timestamps) is this:&lt;BR /&gt;&lt;BR /&gt;# cd /olddir || exit 1&lt;BR /&gt;# find . -depth ???print | cpio -pudlmv /newdir&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 15 Nov 2002 15:17:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-size-increase/m-p/2845390#M92086</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-11-15T15:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Mount Size Increase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-size-increase/m-p/2845391#M92087</link>
      <description>Thanks for the help so far.  I'm not sure I understand sparse files.  Is there a way I can check for these, are they named sparse, or can any file with any name be a sparse file.  Anyone know of a doc I could read about them.&lt;BR /&gt;&lt;BR /&gt;When I created the File System I used the following command for each:&lt;BR /&gt;newfs -F vxfs /dev/vg01/rlvol1&lt;BR /&gt;&lt;BR /&gt;To move the data, the first time I used "rcp -pr".  The second time, we created a tar tape of the old system using tar cv, then recovered it onto the new system using tar xv.  A funny thing about that, is we used a 24 gig tape and when it was put on the system, as above, it became 35 gigs.  Could that be realted to the sparse files?&lt;BR /&gt;&lt;BR /&gt;Thanks again!</description>
      <pubDate>Fri, 15 Nov 2002 16:41:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-size-increase/m-p/2845391#M92087</guid>
      <dc:creator>David Barkman</dc:creator>
      <dc:date>2002-11-15T16:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Mount Size Increase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mount-size-increase/m-p/2845392#M92088</link>
      <description>Hi (again) David:&lt;BR /&gt;&lt;BR /&gt;The Technical Knowledge base has an good document (#A5329700) explaining sparse files:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/search.do?category=c0&amp;amp;mode=id&amp;amp;searchString=A5329700&amp;amp;searchCrit=allwords&amp;amp;docType=Security&amp;amp;docType=Patch&amp;amp;docType=EngineerNotes&amp;amp;docType=BugReports&amp;amp;docType=Hardware&amp;amp;docType=ReferenceMaterials&amp;amp;docType=ThirdParty&amp;amp;search.x=39&amp;amp;search.y=6" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/search.do?category=c0&amp;amp;mode=id&amp;amp;searchString=A5329700&amp;amp;searchCrit=allwords&amp;amp;docType=Security&amp;amp;docType=Patch&amp;amp;docType=EngineerNotes&amp;amp;docType=BugReports&amp;amp;docType=Hardware&amp;amp;docType=ReferenceMaterials&amp;amp;docType=ThirdParty&amp;amp;search.x=39&amp;amp;search.y=6&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Nov 2002 21:49:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mount-size-increase/m-p/2845392#M92088</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-11-15T21:49:35Z</dc:date>
    </item>
  </channel>
</rss>

