<?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: LV Space issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lv-space-issue/m-p/5264569#M547802</link>
    <description>Can you provide the output of du -xk /data1 and df -k /data1 ?&lt;BR /&gt;&lt;BR /&gt;Command du doesn't account for removed but open files.  But bdf count all these.&lt;BR /&gt;&lt;BR /&gt;Most likely cause:&lt;BR /&gt;- files which are deleted, but still in open.&lt;BR /&gt;Second potential cause:&lt;BR /&gt;- sparse files &lt;BR /&gt;&lt;BR /&gt;There are lot of thread related to this. One sample discussion is here.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1290906588056+28353475&amp;amp;threadId=1219717" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1290906588056+28353475&amp;amp;threadId=1219717&lt;/A&gt;</description>
    <pubDate>Sun, 28 Nov 2010 01:18:31 GMT</pubDate>
    <dc:creator>Shibin_2</dc:creator>
    <dc:date>2010-11-28T01:18:31Z</dc:date>
    <item>
      <title>LV Space issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lv-space-issue/m-p/5264568#M547801</link>
      <description>Dear Admins,&lt;BR /&gt;The bdf output shows that the 44100281 KB space is used. But while calculating the space occupied manually, the space occupied is just 29092611 KB. How to find, where the balance goes to?&lt;BR /&gt;HP-UX B.11.23 U ia64 &lt;BR /&gt;&lt;BR /&gt;Filesystem                   kbytes    used                avail %used Mounted on&lt;BR /&gt;/dev/vg02/data1    46080000 44100281 1857825   96% /data1&lt;BR /&gt;&lt;BR /&gt;#pwd&lt;BR /&gt;/data1&lt;BR /&gt;&lt;BR /&gt;#du -sk *|sort -nr&lt;BR /&gt;26466129        oradata&lt;BR /&gt;2093729 TKFL&lt;BR /&gt;152104  DONOT_DELETE&lt;BR /&gt;152092  aud_05nov10.dmp.gz&lt;BR /&gt;126155  aud_05nov10_new.dmp.gz&lt;BR /&gt;102402  TKFIL&lt;BR /&gt;&lt;BR /&gt;Total used = 29092611 KB&lt;BR /&gt;-------&lt;BR /&gt;#lvdisplay /dev/vg02/data1&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vg02/data1&lt;BR /&gt;VG Name                     /dev/vg02&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)            45000&lt;BR /&gt;Current LE                  11250&lt;BR /&gt;Allocated PE                11250&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;#vgdisplay vg02&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vg02&lt;BR /&gt;VG Write Access             read/write&lt;BR /&gt;VG Status                   available, exclusive&lt;BR /&gt;Max LV                      255&lt;BR /&gt;Cur LV                      5&lt;BR /&gt;Open LV                     5&lt;BR /&gt;Max PV                      16&lt;BR /&gt;Cur PV                      4&lt;BR /&gt;Act PV                      4&lt;BR /&gt;Max PE per PV               12945&lt;BR /&gt;VGDA                        8&lt;BR /&gt;PE Size (Mbytes)            4&lt;BR /&gt;Total PE                    51772&lt;BR /&gt;Alloc PE                    48840&lt;BR /&gt;Free PE                     2932&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;Please find the enclosed details too.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;V.P&lt;BR /&gt;</description>
      <pubDate>Sun, 28 Nov 2010 01:07:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lv-space-issue/m-p/5264568#M547801</guid>
      <dc:creator>V.P</dc:creator>
      <dc:date>2010-11-28T01:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: LV Space issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lv-space-issue/m-p/5264569#M547802</link>
      <description>Can you provide the output of du -xk /data1 and df -k /data1 ?&lt;BR /&gt;&lt;BR /&gt;Command du doesn't account for removed but open files.  But bdf count all these.&lt;BR /&gt;&lt;BR /&gt;Most likely cause:&lt;BR /&gt;- files which are deleted, but still in open.&lt;BR /&gt;Second potential cause:&lt;BR /&gt;- sparse files &lt;BR /&gt;&lt;BR /&gt;There are lot of thread related to this. One sample discussion is here.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1290906588056+28353475&amp;amp;threadId=1219717" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1290906588056+28353475&amp;amp;threadId=1219717&lt;/A&gt;</description>
      <pubDate>Sun, 28 Nov 2010 01:18:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lv-space-issue/m-p/5264569#M547802</guid>
      <dc:creator>Shibin_2</dc:creator>
      <dc:date>2010-11-28T01:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: LV Space issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lv-space-issue/m-p/5264570#M547803</link>
      <description>Dear Shibin,&lt;BR /&gt;Please find the details.&lt;BR /&gt;#du -xk /data1&lt;BR /&gt;152104  /data1/DONOT_DELETE&lt;BR /&gt;26466129        /data1/oradata/TKFL&lt;BR /&gt;26466129        /data1/oradata&lt;BR /&gt;2069681 /data1/TKFL/dumps&lt;BR /&gt;2093729 /data1/TKFL&lt;BR /&gt;102402  /data1/TKFIL/log&lt;BR /&gt;102402  /data1/TKFIL&lt;BR /&gt;29092617        /data1&lt;BR /&gt;#df -k /data1&lt;BR /&gt;/data1                 (/dev/vg02/data1       ) : 45958106 total allocated Kb&lt;BR /&gt;                                                  1857825 free allocated Kb&lt;BR /&gt;                                                  44100281 used allocated Kb&lt;BR /&gt;                                                        95 % allocation used&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;V.P</description>
      <pubDate>Sun, 28 Nov 2010 01:22:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lv-space-issue/m-p/5264570#M547803</guid>
      <dc:creator>V.P</dc:creator>
      <dc:date>2010-11-28T01:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: LV Space issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lv-space-issue/m-p/5264571#M547804</link>
      <description>Hello VP&lt;BR /&gt;&lt;BR /&gt;You must have sparse files. Most databses create only a few parts of data files at semi-random file positions, the rest of the file is left undefined. A sparse file is one that has been created with 'holes' or unwritten parts.&lt;BR /&gt;&lt;BR /&gt;If you have lsof installed, you can find out these.&lt;BR /&gt;&lt;BR /&gt;lsof |grep /data1&lt;BR /&gt;&lt;BR /&gt;You may read these threads for your understanding.  These are very clearly explaining your situation.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1141730" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1141730&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=992662&amp;amp;admit=109447626+1290907752602+28353475" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=992662&amp;amp;admit=109447626+1290907752602+28353475&lt;/A&gt;</description>
      <pubDate>Sun, 28 Nov 2010 01:32:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lv-space-issue/m-p/5264571#M547804</guid>
      <dc:creator>Shibin_2</dc:creator>
      <dc:date>2010-11-28T01:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: LV Space issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lv-space-issue/m-p/5264572#M547805</link>
      <description>&amp;gt;Shibin: You must have sparse files.&lt;BR /&gt;&lt;BR /&gt;Sparse files shouldn't cause this problem, only deleted files.  du should be able to compute the size correctly.  Sparse files will confuse adding up the each file size, given with the ll(1) command.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;If you have lsof installed, you can find out these.&lt;BR /&gt;&lt;BR /&gt;This is typically used to find the deleted files.</description>
      <pubDate>Sun, 28 Nov 2010 01:52:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lv-space-issue/m-p/5264572#M547805</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-11-28T01:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: LV Space issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lv-space-issue/m-p/5264573#M547806</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;This is a known behaviour with Unix.&lt;BR /&gt;There must be some unlinked files.. the files which didnt return the inode. &lt;BR /&gt;&lt;BR /&gt;du calculate the size by block by block. Please use lsof command check which process need to be exited to get the space back..&lt;BR /&gt;&lt;BR /&gt;Regards, &lt;BR /&gt;Sooraj</description>
      <pubDate>Sun, 28 Nov 2010 03:03:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lv-space-issue/m-p/5264573#M547806</guid>
      <dc:creator>SoorajCleris</dc:creator>
      <dc:date>2010-11-28T03:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: LV Space issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lv-space-issue/m-p/5264574#M547807</link>
      <description>Thanks Dennis for correction.</description>
      <pubDate>Sun, 28 Nov 2010 03:11:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lv-space-issue/m-p/5264574#M547807</guid>
      <dc:creator>Shibin_2</dc:creator>
      <dc:date>2010-11-28T03:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: LV Space issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lv-space-issue/m-p/5264575#M547808</link>
      <description>Thanks to all.&lt;BR /&gt;&lt;BR /&gt;Space has been reclaimed after releasing the used sessions.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;V.P</description>
      <pubDate>Mon, 29 Nov 2010 08:16:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lv-space-issue/m-p/5264575#M547808</guid>
      <dc:creator>V.P</dc:creator>
      <dc:date>2010-11-29T08:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: LV Space issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lv-space-issue/m-p/5264576#M547809</link>
      <description>Thanks to all.&lt;BR /&gt;&lt;BR /&gt;Space has been reclaimed after releasing the used sessions.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;V.P</description>
      <pubDate>Mon, 29 Nov 2010 08:18:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lv-space-issue/m-p/5264576#M547809</guid>
      <dc:creator>V.P</dc:creator>
      <dc:date>2010-11-29T08:18:33Z</dc:date>
    </item>
  </channel>
</rss>

