<?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: File system used and available space descrepancy in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-used-and-available-space-descrepancy/m-p/4792905#M534580</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Create the LV using the block size of 8192KB. By default it will be 1024. &lt;BR /&gt;# newfs -F vxfs -b 8192 -o largefiles  RAW_LV_NAME.&lt;BR /&gt;</description>
    <pubDate>Sun, 29 May 2011 15:29:54 GMT</pubDate>
    <dc:creator>V.P</dc:creator>
    <dc:date>2011-05-29T15:29:54Z</dc:date>
    <item>
      <title>File system used and available space descrepancy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-used-and-available-space-descrepancy/m-p/4792901#M534576</link>
      <description>Hello all. &lt;BR /&gt;I created a 150 GB VxFS file system on our HP-UX 11.31 ia64 server.&lt;BR /&gt;I'm noticing a 10 GB descrepancy between the size of the file system, the used space, and the available space.&lt;BR /&gt;The df output below shows this descrepancy.&lt;BR /&gt;Does anyone have any idea why this is occurring?&lt;BR /&gt;Below I also listed the vgdisplay output for this volume group and fstyp output for the logical volume.&lt;BR /&gt;Any feedback would be appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks everyone.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Filesystem                 Size  Used  Avail  Capacity Mounted on&lt;BR /&gt;/dev/vgupgrade/lvupgrade   150G  103M   140G      0%   /ora_dbutil/125upd&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# vgdisplay -v /dev/vgupgrade&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vgupgrade&lt;BR /&gt;VG Write Access             read/write&lt;BR /&gt;VG Status                   available&lt;BR /&gt;Max LV                      511&lt;BR /&gt;Cur LV                      1&lt;BR /&gt;Open LV                     1&lt;BR /&gt;Max PV                      511&lt;BR /&gt;Cur PV                      1&lt;BR /&gt;Act PV                      1&lt;BR /&gt;Max PE per PV               524288&lt;BR /&gt;VGDA                        2&lt;BR /&gt;PE Size (Mbytes)            32&lt;BR /&gt;Total PE                    9433&lt;BR /&gt;Alloc PE                    4800&lt;BR /&gt;Free PE                     4633&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;VG Version                  2.0&lt;BR /&gt;VG Max Size                 1p&lt;BR /&gt;VG Max Extents              33554432&lt;BR /&gt;&lt;BR /&gt;   --- Logical volumes ---&lt;BR /&gt;   LV Name                     /dev/vgupgrade/lvupgrade&lt;BR /&gt;   LV Status                   available/syncd&lt;BR /&gt;   LV Size (Mbytes)            153600&lt;BR /&gt;   Current LE                  4800&lt;BR /&gt;   Allocated PE                4800&lt;BR /&gt;   Used PV                     1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   --- Physical volumes ---&lt;BR /&gt;   PV Name                     /dev/disk/disk13&lt;BR /&gt;   PV Status                   available&lt;BR /&gt;   Total PE                    9433&lt;BR /&gt;   Free PE                     4633&lt;BR /&gt;   Autoswitch                  On&lt;BR /&gt;   Proactive Polling           On&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# fstyp -v /dev/vgupgrade/lvupgrade&lt;BR /&gt;vxfs&lt;BR /&gt;version: 7&lt;BR /&gt;f_bsize: 8192&lt;BR /&gt;f_frsize: 1024&lt;BR /&gt;f_blocks: 157286400&lt;BR /&gt;f_bfree: 157181205&lt;BR /&gt;f_bavail: 147357380&lt;BR /&gt;f_files: 39295332&lt;BR /&gt;f_ffree: 39295300&lt;BR /&gt;f_favail: 39295300&lt;BR /&gt;f_fsid: 2147557377&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: 9&lt;BR /&gt;f_size: 157286400&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 27 May 2011 17:35:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-used-and-available-space-descrepancy/m-p/4792901#M534576</guid>
      <dc:creator>Tom Wolf_3</dc:creator>
      <dc:date>2011-05-27T17:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: File system used and available space descrepancy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-used-and-available-space-descrepancy/m-p/4792902#M534577</link>
      <description>This can happen if someone has deleted some files while they're still open and in use by another process. Any Unix sysadmin worth his/her salt should learn to understand this, as this behaviour is a necessary result of POSIX standard filesystem semantics.&lt;BR /&gt;&lt;BR /&gt;Normally, any Unix-like operating system deals with this situation as follows: the file vanishes from the directory listings immediately, so it will not be accessible any more. But the data will not really be deleted until the file is closed: the process(es) that had the file open at the time of deletion can still access the file as usual while it's still open. When the file is closed, the disk space allocated to it will be freed.&lt;BR /&gt;&lt;BR /&gt;If you have the freeware tool "lsof" installed, you can see if this is happening by using a command like:&lt;BR /&gt;&lt;BR /&gt;lsof +aL1 /ora_dbutil/125upd&lt;BR /&gt;&lt;BR /&gt;If the filesystem contains deleted-but-still-open files, this command will display the PIDs of the processes holding those files open. It may also be able to tell the original names of those deleted files (because the directory entries are already deleted, the filename will not be detectable in the normal fashion).&lt;BR /&gt;&lt;BR /&gt;Ways to go on from here:&lt;BR /&gt;1.) &lt;BR /&gt;If that particular process can accept commands to stop using that particular file and close it, you can use that.&lt;BR /&gt;&lt;BR /&gt;2.)&lt;BR /&gt;If there is no known way to send such commands to that process, killing &amp;amp; restarting the process will force it to close all its files.&lt;BR /&gt;&lt;BR /&gt;3.)&lt;BR /&gt;Rebooting the system is an overkill, but it works too: as all the running processes are shut down, any files held open by them are automatically closed.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Sun, 29 May 2011 07:03:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-used-and-available-space-descrepancy/m-p/4792902#M534577</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2011-05-29T07:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: File system used and available space descrepancy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-used-and-available-space-descrepancy/m-p/4792903#M534578</link>
      <description>&amp;gt;MK: the freeware tool "lsof" installed&lt;BR /&gt;&lt;BR /&gt;Ideally a superior kernel would have this builtin and not have to search every process to produce this info.</description>
      <pubDate>Sun, 29 May 2011 10:17:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-used-and-available-space-descrepancy/m-p/4792903#M534578</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-05-29T10:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: File system used and available space descrepancy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-used-and-available-space-descrepancy/m-p/4792904#M534579</link>
      <description>&lt;P&gt;&amp;gt;MK: This can happen if someone has deleted some files while they're still open and in use by another process.&lt;BR /&gt;&lt;BR /&gt;Are you sure about this? Tom is talking about a discrepancy in the df output, not comparing df and du which is the deleted files.&lt;BR /&gt;&lt;BR /&gt;Some threads about both issues:&lt;BR /&gt;&lt;A href="http://h30499.www3.hp.com/t5/LVM-and-VxVM/file-system-full-discrepancy-bdf-vs-fstyp-vs-syslog/m-p/3788235#M27241" target="_blank"&gt;http://h30499.www3.hp.com/t5/LVM-and-VxVM/file-system-full-discrepancy-bdf-vs-fstyp-vs-syslog/m-p/3788235#M27241&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://h30499.www3.hp.com/t5/System-Administration/Difference-in-df-and-du-output/m-p/4037730#M302319" target="_blank"&gt;http://h30499.www3.hp.com/t5/System-Administration/Difference-in-df-and-du-output/m-p/4037730#M302319&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://h30499.www3.hp.com/t5/System-Administration/Discrepancy-value-of-disk-space-between-du-and-bdf-of-file/m-p/5100987#M444193" target="_blank"&gt;http://h30499.www3.hp.com/t5/System-Administration/Discrepancy-value-of-disk-space-between-du-and-bdf-of-file/m-p/5100987#M444193&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://h30499.www3.hp.com/t5/System-Administration/bdf-and-du-shows-different-values/m-p/4644174#M379692" target="_blank"&gt;http://h30499.www3.hp.com/t5/System-Administration/bdf-and-du-shows-different-values/m-p/4644174#M379692&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://h30499.www3.hp.com/t5/System-Administration/Filesystem-show-66-used-while-it-is-free/m-p/4218366#M327077" target="_blank"&gt;http://h30499.www3.hp.com/t5/System-Administration/Filesystem-show-66-used-while-it-is-free/m-p/4218366#M327077&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://h30499.www3.hp.com/t5/System-Administration/bdf-and-df-outputs/m-p/2990777#M124286" target="_blank"&gt;http://h30499.www3.hp.com/t5/System-Administration/bdf-and-df-outputs/m-p/2990777#M124286&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://h30499.www3.hp.com/t5/System-Administration/Filesystem-free-space-is-not-releasing-completly/m-p/4768347#M389660" target="_blank"&gt;http://h30499.www3.hp.com/t5/System-Administration/Filesystem-free-space-is-not-releasing-completly/m-p/4768347#M389660&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://h30499.www3.hp.com/t5/System-Administration/var-displaying-incorrect-disk-usage/m-p/2927728#M110933" target="_blank"&gt;http://h30499.www3.hp.com/t5/System-Administration/var-displaying-incorrect-disk-usage/m-p/2927728#M110933&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2011 14:39:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-used-and-available-space-descrepancy/m-p/4792904#M534579</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-08-02T14:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: File system used and available space descrepancy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-used-and-available-space-descrepancy/m-p/4792905#M534580</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Create the LV using the block size of 8192KB. By default it will be 1024. &lt;BR /&gt;# newfs -F vxfs -b 8192 -o largefiles  RAW_LV_NAME.&lt;BR /&gt;</description>
      <pubDate>Sun, 29 May 2011 15:29:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-used-and-available-space-descrepancy/m-p/4792905#M534580</guid>
      <dc:creator>V.P</dc:creator>
      <dc:date>2011-05-29T15:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: File system used and available space descrepancy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-used-and-available-space-descrepancy/m-p/4792906#M534581</link>
      <description>Thanks for the responses.&lt;BR /&gt;I noticed this descrepancy right after I created the file system so deletion of open files is definetly not the source. We had to use a block size of 1 KB to accomadate our vendor's request. This file system is going to be used for Oracle logging. Would the 1024 block size cause this descrepancy?</description>
      <pubDate>Tue, 31 May 2011 13:51:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-used-and-available-space-descrepancy/m-p/4792906#M534581</guid>
      <dc:creator>Tom Wolf_3</dc:creator>
      <dc:date>2011-05-31T13:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: File system used and available space descrepancy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-used-and-available-space-descrepancy/m-p/4792907#M534582</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;No, the discrepancy is caused by one of a few causes.&lt;BR /&gt;&lt;BR /&gt;1) A file handle being open on a file that was recently deleted. fuser -cu /filesystem to see if this is the case. lsof might be of some assistance as well.&lt;BR /&gt;&lt;BR /&gt;2) A failed fsadm command to expand the the file system. The process of expanding an existing file system involves more than one step. lvextend then either fsadm for Online JFS users or extendfs which requires a umount prior to being run.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 31 May 2011 22:51:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-used-and-available-space-descrepancy/m-p/4792907#M534582</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2011-05-31T22:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: File system used and available space descrepancy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-used-and-available-space-descrepancy/m-p/4792908#M534583</link>
      <description>&lt;P&gt;The explanation can be found at:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h30499.www3.hp.com/t5/LVM-and-VxVM/hpux-shows-bdf-wrongly/m-p/4795727#M39255" target="_blank"&gt;http://h30499.www3.hp.com/t5/LVM-and-VxVM/hpux-shows-bdf-wrongly/m-p/4795727#M39255&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2011 15:19:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-used-and-available-space-descrepancy/m-p/4792908#M534583</guid>
      <dc:creator>Tuan Nguyen_2</dc:creator>
      <dc:date>2011-07-07T15:19:25Z</dc:date>
    </item>
  </channel>
</rss>

