<?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: Lost disk space. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-disk-space/m-p/3943469#M289239</link>
    <description>&amp;gt;&amp;gt; I think I have found what the discrepancy was. I am almost certain the missing space was the journal, which, because the filesystem had never been used, was empty. &lt;BR /&gt;&lt;BR /&gt;I beg to differ. &lt;BR /&gt;The 'missing space' was too big for a journal. That is just 1024 block by default.&lt;BR /&gt;&lt;BR /&gt;The missing space EXACTLY fits 'number-of-files-expected times vxfs inode size (256)'&lt;BR /&gt;&lt;BR /&gt;Only one explanation can be valid at a time.&lt;BR /&gt;&lt;BR /&gt;See: &lt;A href="http://docs.hp.com/en/B3929-90011/ch02.html" target="_blank"&gt;http://docs.hp.com/en/B3929-90011/ch02.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; As soon as the filesystem starts to be used, the discrepancy between used+avail and allocated narrows right down.&lt;BR /&gt;&lt;BR /&gt;That I agree with. It now knows better what to expect as far as file sizes go. Apparently it assumes worst case: 1 extent per file to begin with.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; I suspect it happens on all filesystems, but was never noticed until now due to the size of this particular filesystem&lt;BR /&gt;&lt;BR /&gt;Agreed.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Hein van den Heuvel</description>
    <pubDate>Tue, 13 Feb 2007 10:04:26 GMT</pubDate>
    <dc:creator>Hein van den Heuvel</dc:creator>
    <dc:date>2007-02-13T10:04:26Z</dc:date>
    <item>
      <title>Lost disk space.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-disk-space/m-p/3943462#M289232</link>
      <description>I have just created a new volume group and vxfs filesystem on a HP-UX 11.11 box, and appear to have lost a significant amount of space.&lt;BR /&gt;Lv created as 600000MB and newfs'd&lt;BR /&gt;df- k only shows 576010448 total allocated, but in a similar LV on a different server (only difference is the PE size) I get 613836952 total allocated.  I have tried rebuilding the VG and LV several times with different settings, including changes to the PE size) but I still get the same results.&lt;BR /&gt;&lt;BR /&gt;I have included output from the server below which might help diagnosis.&lt;BR /&gt;&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vg01/lvol1&lt;BR /&gt;VG Name                     /dev/vg01&lt;BR /&gt;LV Permission               read/write&lt;BR /&gt;LV Status                   available/syncd&lt;BR /&gt;Mirror copies               0&lt;BR /&gt;Consistency Recovery        MWC&lt;BR /&gt;Schedule                    parallel&lt;BR /&gt;LV Size (Mbytes)            600000&lt;BR /&gt;Current LE                  18750&lt;BR /&gt;Allocated PE                18750&lt;BR /&gt;Stripes                     0&lt;BR /&gt;Stripe Size (Kbytes)        0&lt;BR /&gt;Bad block                   NONE&lt;BR /&gt;Allocation                  strict&lt;BR /&gt;IO Timeout (Seconds)        default&lt;BR /&gt;&lt;BR /&gt;df -k shows &lt;BR /&gt;/apps/CRM2ITPS (/dev/vg01/lvol1       ) : &lt;BR /&gt;576010448 total allocated Kb&lt;BR /&gt;575843398 free allocated Kb&lt;BR /&gt;167050 used allocated Kb&lt;BR /&gt;0 % allocation used&lt;BR /&gt;&lt;BR /&gt;fstyp -v /dev/vg01/lvol1&lt;BR /&gt;vxfs&lt;BR /&gt;version: 4&lt;BR /&gt;f_bsize: 8192&lt;BR /&gt;f_frsize: 1024&lt;BR /&gt;f_blocks: 614400000&lt;BR /&gt;f_bfree: 614232950&lt;BR /&gt;f_bavail: 575843391&lt;BR /&gt;f_files: 153558268&lt;BR /&gt;f_ffree: 153558236&lt;BR /&gt;f_favail: 153558236&lt;BR /&gt;f_fsid: 1073872897&lt;BR /&gt;f_basetype: vxfs&lt;BR /&gt;f_namemax: 254&lt;BR /&gt;f_magic: a501fcf5&lt;BR /&gt;f_featurebits: 0&lt;BR /&gt;f_flag: 16&lt;BR /&gt;f_fsindex: 7&lt;BR /&gt;f_size: 614400000&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Feb 2007 05:42:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-disk-space/m-p/3943462#M289232</guid>
      <dc:creator>Phil Davey</dc:creator>
      <dc:date>2007-02-13T05:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Lost disk space.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-disk-space/m-p/3943463#M289233</link>
      <description>Phil,&lt;BR /&gt;the difference between the two values is the amount of data that can be written by root, even if the filesystem is full to normal users.&lt;BR /&gt;&lt;BR /&gt;man statvfs&lt;BR /&gt;"ulong f_bfree; /* free blocks*/&lt;BR /&gt;ulong f_bavail; /* blocks available to non-superuser */"</description>
      <pubDate>Tue, 13 Feb 2007 06:00:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-disk-space/m-p/3943463#M289233</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2007-02-13T06:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Lost disk space.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-disk-space/m-p/3943464#M289234</link>
      <description>Peter,&lt;BR /&gt;Thanks for the response, but I think I may have worded the problem wrong.  The problem lies with the fact I have created a 600000MB filesystem, but I only have 575843MB available to use.  On other servers, I do not lose nearly 40GB in a filesystem of this size.</description>
      <pubDate>Tue, 13 Feb 2007 06:29:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-disk-space/m-p/3943464#M289234</guid>
      <dc:creator>Phil Davey</dc:creator>
      <dc:date>2007-02-13T06:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Lost disk space.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-disk-space/m-p/3943465#M289235</link>
      <description>Did you use sam to create the filesystem in one case and newfs in another?  Or did you use mkfs -F vxfs -o logsize=2048 ...&lt;BR /&gt;Are they both vxfs, or is the other one an hfs type filesystem with no rollback log?&lt;BR /&gt;&lt;BR /&gt;The log size could explain the difference.&lt;BR /&gt;&lt;BR /&gt;In a vxfs filesystem of that size, a 16Mb log is actually quite sensible, so I would use mkfs...-o logsize=[maximum available]&lt;BR /&gt;anyway.&lt;BR /&gt;&lt;BR /&gt;Steve&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Feb 2007 07:06:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-disk-space/m-p/3943465#M289235</guid>
      <dc:creator>Steve Lewis</dc:creator>
      <dc:date>2007-02-13T07:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Lost disk space.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-disk-space/m-p/3943466#M289236</link>
      <description>Both were created on the command line using lvcreate -r N -L 600000 ...&lt;BR /&gt;newfs -o largefiles&lt;BR /&gt;&lt;BR /&gt;Thee only significant difference in the VG is the PE size, although even with the same PE size I get the same problem.&lt;BR /&gt;&lt;BR /&gt;Both are vxfs.</description>
      <pubDate>Tue, 13 Feb 2007 07:14:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-disk-space/m-p/3943466#M289236</guid>
      <dc:creator>Phil Davey</dc:creator>
      <dc:date>2007-02-13T07:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Lost disk space.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-disk-space/m-p/3943467#M289237</link>
      <description>I think you need to show use the lvdisplay for the other system as well such that we can more easily compare.&lt;BR /&gt;&lt;BR /&gt;Attached them in a .txt file ?&lt;BR /&gt;Use the same PE size as the other system?&lt;BR /&gt;Toss in a vgdisplay for good measure?&lt;BR /&gt;&lt;BR /&gt;Same hpux version?&lt;BR /&gt;&lt;BR /&gt;The difference between bfree and bavail appears to be exactly files * 256 bytes.&lt;BR /&gt;So 256 bytes per inode.&lt;BR /&gt;So it corresponds to the number of inodes the vxfs ESTIMATES to need for the device.&lt;BR /&gt;&lt;BR /&gt;Did it know more, was it told more, on the other system&amp;gt;&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Feb 2007 07:54:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-disk-space/m-p/3943467#M289237</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2007-02-13T07:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Lost disk space.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-disk-space/m-p/3943468#M289238</link>
      <description>I think I have found what the discrepancy was.  I am almost certain the missing space was the journal, which, because the filesystem had never been used, was empty.  As soon as the filesystem starts to be used, the discrepancy between used+avail and allocated narrows right down.&lt;BR /&gt;&lt;BR /&gt;I suspect it happens on all filesystems, but was never noticed until now due to the size of this particular filesystem.</description>
      <pubDate>Tue, 13 Feb 2007 09:51:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-disk-space/m-p/3943468#M289238</guid>
      <dc:creator>Phil Davey</dc:creator>
      <dc:date>2007-02-13T09:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Lost disk space.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-disk-space/m-p/3943469#M289239</link>
      <description>&amp;gt;&amp;gt; I think I have found what the discrepancy was. I am almost certain the missing space was the journal, which, because the filesystem had never been used, was empty. &lt;BR /&gt;&lt;BR /&gt;I beg to differ. &lt;BR /&gt;The 'missing space' was too big for a journal. That is just 1024 block by default.&lt;BR /&gt;&lt;BR /&gt;The missing space EXACTLY fits 'number-of-files-expected times vxfs inode size (256)'&lt;BR /&gt;&lt;BR /&gt;Only one explanation can be valid at a time.&lt;BR /&gt;&lt;BR /&gt;See: &lt;A href="http://docs.hp.com/en/B3929-90011/ch02.html" target="_blank"&gt;http://docs.hp.com/en/B3929-90011/ch02.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; As soon as the filesystem starts to be used, the discrepancy between used+avail and allocated narrows right down.&lt;BR /&gt;&lt;BR /&gt;That I agree with. It now knows better what to expect as far as file sizes go. Apparently it assumes worst case: 1 extent per file to begin with.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; I suspect it happens on all filesystems, but was never noticed until now due to the size of this particular filesystem&lt;BR /&gt;&lt;BR /&gt;Agreed.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Hein van den Heuvel</description>
      <pubDate>Tue, 13 Feb 2007 10:04:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-disk-space/m-p/3943469#M289239</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2007-02-13T10:04:26Z</dc:date>
    </item>
  </channel>
</rss>

