<?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: filesystem  /  full in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full/m-p/5177359#M459372</link>
    <description>Hi Tom:&lt;BR /&gt;&lt;BR /&gt;It is possible that you have a process has opened a temporary file(s) and then immediately removed it. This is a very common technique that offers security and programming ease.  As long as the process runs, it can use the file (and its allocated disk blocks).&lt;BR /&gt;&lt;BR /&gt;The easiest way to identify a process doing this is to use 'lsof' (available from the Porting Center):&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/" target="_blank"&gt;http://hpux.connect.org.uk/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You can use 'lsof' to find files like this by doing:&lt;BR /&gt;&lt;BR /&gt;# lsof +D / +L1&lt;BR /&gt;&lt;BR /&gt;Look for files with a 'NLINK' count of zero (0). These represent open files that will vanish as soon as the last process using them terminates.  Once the last process using the file exits, the (now) temporarily allocated disk blocks will be returned to the system.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;</description>
    <pubDate>Mon, 25 May 2009 18:33:52 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2009-05-25T18:33:52Z</dc:date>
    <item>
      <title>filesystem  /  full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full/m-p/5177356#M459369</link>
      <description>Dear all,&lt;BR /&gt;&lt;BR /&gt;There are many times that i have disk full, but this time, i could not figure it out. so please help!&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Tom&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HPUX 11.31 on rx3600&lt;BR /&gt;&lt;BR /&gt;prod:[root]:[TWO_TASK=ora]:/&lt;BR /&gt;#du -xk |sort -rnk1|head -20 &amp;lt;--compare with my good identical server this number is lower&lt;BR /&gt;408248  .&lt;BR /&gt;215360  ./sbin&lt;BR /&gt;191480  ./etc&lt;BR /&gt;121600  ./etc/vx&lt;BR /&gt;103752  ./etc/vx/type&lt;BR /&gt;93672   ./sbin/fs&lt;BR /&gt;53712   ./sbin/fs/vxfs5.0&lt;BR /&gt;45792   ./etc/vx/type/static&lt;BR /&gt;42704   ./etc/opt&lt;BR /&gt;38584   ./etc/opt/resmon&lt;BR /&gt;29584   ./sbin/fs/vxfs&lt;BR /&gt;25896   ./etc/vx/type/gen&lt;BR /&gt;23992   ./etc/opt/resmon/lib&lt;BR /&gt;20616   ./etc/lp&lt;BR /&gt;19648   ./etc/vx/type/raid5&lt;BR /&gt;18576   ./etc/lp/interface&lt;BR /&gt;14984   ./etc/vx/static.d&lt;BR /&gt;14520   ./etc/lp/interface/model.orig&lt;BR /&gt;14168   ./etc/vx/static.d/build&lt;BR /&gt;12408   ./etc/vx/type/fsgen&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#bdf&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3    1048576 1038208   10368   99% /&lt;BR /&gt;/dev/vg00/lvol1    1835008  330720 1492600   18% /stand&lt;BR /&gt;/dev/vg00/lvol8    20480000 12099496 8316816   59% /var&lt;BR /&gt;/dev/vg00/lvol10   1032192  143279  833394   15% /util&lt;BR /&gt;/dev/vg00/lvol7    4571136 3090312 1469288   68% /usr&lt;BR /&gt;/dev/vg00/lvol12   3080192  456612 2460100   16% /users&lt;BR /&gt;/dev/vg02/lvol1    10240000 4908215 4999181   50% /u10&lt;BR /&gt;/dev/vg00/lvol4    5120000  642784 4447448   13% /tmp&lt;BR /&gt;/dev/vg00/lvol6    10584064 7637792 2923272   72% /opt&lt;BR /&gt;/dev/vx/dsk/datadg/vol01&lt;BR /&gt;                   157133824 109429806 14% /home&lt;BR /&gt;/dev/vx/dsk/datadg/vol03&lt;BR /&gt;                   10333184 2268897 7561495   23% /tmp/IM&lt;BR /&gt;&lt;BR /&gt;also attached the return of this command&lt;BR /&gt;&lt;BR /&gt;prod:[root]:[TWO_TASK=ora]:/&lt;BR /&gt;#find . -xdev -print -exec ls -ld {} \;|sort -rnk5  &amp;gt;/tmp/rootlist&lt;BR /&gt;</description>
      <pubDate>Mon, 25 May 2009 18:15:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full/m-p/5177356#M459369</guid>
      <dc:creator>tom quach_1</dc:creator>
      <dc:date>2009-05-25T18:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: filesystem  /  full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full/m-p/5177357#M459370</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;215360 ./sbin&lt;BR /&gt;&lt;BR /&gt;Way to much stuff in there.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 25 May 2009 18:22:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full/m-p/5177357#M459370</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-05-25T18:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: filesystem  /  full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full/m-p/5177358#M459371</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;check with lsof +L1 under root for unlinked files. These files can fill filesystems.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 25 May 2009 18:32:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full/m-p/5177358#M459371</guid>
      <dc:creator>Kenan Erdey</dc:creator>
      <dc:date>2009-05-25T18:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: filesystem  /  full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full/m-p/5177359#M459372</link>
      <description>Hi Tom:&lt;BR /&gt;&lt;BR /&gt;It is possible that you have a process has opened a temporary file(s) and then immediately removed it. This is a very common technique that offers security and programming ease.  As long as the process runs, it can use the file (and its allocated disk blocks).&lt;BR /&gt;&lt;BR /&gt;The easiest way to identify a process doing this is to use 'lsof' (available from the Porting Center):&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/" target="_blank"&gt;http://hpux.connect.org.uk/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You can use 'lsof' to find files like this by doing:&lt;BR /&gt;&lt;BR /&gt;# lsof +D / +L1&lt;BR /&gt;&lt;BR /&gt;Look for files with a 'NLINK' count of zero (0). These represent open files that will vanish as soon as the last process using them terminates.  Once the last process using the file exits, the (now) temporarily allocated disk blocks will be returned to the system.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;</description>
      <pubDate>Mon, 25 May 2009 18:33:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full/m-p/5177359#M459372</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-05-25T18:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: filesystem  /  full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full/m-p/5177360#M459373</link>
      <description>Thanks Steven,&lt;BR /&gt;&lt;BR /&gt;i think because we have VXVM cluster file system.&lt;BR /&gt;the total space of the root +400Mb&lt;BR /&gt;but i have 1000Mb at /&lt;BR /&gt;where are these spaces?&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The good server&lt;BR /&gt;&lt;BR /&gt;#du -sk /dev&lt;BR /&gt;168     /dev&lt;BR /&gt;&lt;BR /&gt;#du -sk /etc&lt;BR /&gt;253512  /etc&lt;BR /&gt;&lt;BR /&gt;#du -sk /sbin&lt;BR /&gt;215352  /sbin&lt;BR /&gt;#bdf&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3    1048576  493168  551112   47% /&lt;BR /&gt;&lt;BR /&gt;The bad server&lt;BR /&gt;#du -sk /dev&lt;BR /&gt;168     /dev&lt;BR /&gt;#du -sk /etc&lt;BR /&gt;191480  /etc&lt;BR /&gt;#du -sk /sbin&lt;BR /&gt;215360  /sbin&lt;BR /&gt;#bdf&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3    1048576 1038208   10368   99% /&lt;BR /&gt;</description>
      <pubDate>Mon, 25 May 2009 18:38:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full/m-p/5177360#M459373</guid>
      <dc:creator>tom quach_1</dc:creator>
      <dc:date>2009-05-25T18:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: filesystem  /  full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full/m-p/5177361#M459374</link>
      <description>Hi (again) Tom:&lt;BR /&gt;&lt;BR /&gt;Another tip-off that open, but unlinked files are present (and therefore hidden to 'ls') is a large descrepency between what 'bdf' and 'du' report.&lt;BR /&gt;&lt;BR /&gt;Compare:&lt;BR /&gt;&lt;BR /&gt;# bdf /&lt;BR /&gt;&lt;BR /&gt;# du -xks /&lt;BR /&gt;&lt;BR /&gt;On one of my servers 'bdf' reports a used value of 134,816 versus 129,528 --- not a significant difference.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 25 May 2009 19:02:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full/m-p/5177361#M459374</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-05-25T19:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: filesystem  /  full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full/m-p/5177362#M459375</link>
      <description>Thank you all for your replies.&lt;BR /&gt;&lt;BR /&gt;James, &lt;BR /&gt;Mine is a big different.&lt;BR /&gt;were can i find the hidden files here?&lt;BR /&gt;i did use this command&lt;BR /&gt;#lsof +D / +L1&lt;BR /&gt;and terminate those processes but the number is still the same.&lt;BR /&gt;&lt;BR /&gt;Thanks again for your helps.&lt;BR /&gt;Tom&lt;BR /&gt;&lt;BR /&gt;#bdf&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3    1048576 1038208   10368   99% /&lt;BR /&gt;&lt;BR /&gt;#du -xks /&lt;BR /&gt;408248  /&lt;BR /&gt;</description>
      <pubDate>Mon, 25 May 2009 19:10:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full/m-p/5177362#M459375</guid>
      <dc:creator>tom quach_1</dc:creator>
      <dc:date>2009-05-25T19:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: filesystem  /  full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full/m-p/5177363#M459376</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;lastly if you can't shrink and if you can reboot, there is nothing like fresh rebooted server :)&lt;BR /&gt;&lt;BR /&gt;Kenan.</description>
      <pubDate>Mon, 25 May 2009 19:26:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full/m-p/5177363#M459376</guid>
      <dc:creator>Kenan Erdey</dc:creator>
      <dc:date>2009-05-25T19:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: filesystem  /  full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full/m-p/5177364#M459377</link>
      <description>Thanks Kenan,&lt;BR /&gt;Unfortunately, i can not reboot this server, we run 24/7 and very small window for a reboot. I have to move files that is not important out of the "/" and schedule a reboot some other time.&lt;BR /&gt;&lt;BR /&gt;questions:&lt;BR /&gt;the return of this command goes to lvol3 (it's a "/") . can i see the file that it writes to lvol3 ?&lt;BR /&gt;&lt;BR /&gt;#lsof +D / +L1&lt;BR /&gt;PH8SRVN    6489 camillil    1u   REG       64,0x3 620039132     0   2228 / (/dev&lt;BR /&gt;/vg00/lvol3)&lt;BR /&gt;&lt;BR /&gt;Thanks for your helps.&lt;BR /&gt;Tom&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 25 May 2009 19:38:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full/m-p/5177364#M459377</guid>
      <dc:creator>tom quach_1</dc:creator>
      <dc:date>2009-05-25T19:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: filesystem  /  full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full/m-p/5177365#M459378</link>
      <description>this is the process that fills root. but you can't see what file.. if you'd see, you can see it when you do ls. &lt;BR /&gt;&lt;BR /&gt;if it's possible stop the program/daemon or kill the process with id 6489. this may relase the space back.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 25 May 2009 20:08:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full/m-p/5177365#M459378</guid>
      <dc:creator>Kenan Erdey</dc:creator>
      <dc:date>2009-05-25T20:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: filesystem  /  full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full/m-p/5177366#M459379</link>
      <description>Thanks Kenan,&lt;BR /&gt;&lt;BR /&gt;i did restart the program and saw it write to "lvol3" need to talk to application support on Tuesday but now i need to move files temporarily to different location to save space.&lt;BR /&gt;Would you advice  in /sbin and /etc which DIR, i can move safely.&lt;BR /&gt;Thanks,&lt;BR /&gt;Tom</description>
      <pubDate>Mon, 25 May 2009 20:29:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full/m-p/5177366#M459379</guid>
      <dc:creator>tom quach_1</dc:creator>
      <dc:date>2009-05-25T20:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: filesystem  /  full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full/m-p/5177367#M459380</link>
      <description>&amp;gt;I did restart the program and saw it write to "lvol3"&lt;BR /&gt;&lt;BR /&gt;Did it free up any space?  You may have to judge whether this application is more important than rebooting your system.  Also, can you use TMPDIR to redirect the temp file elsewhere?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Would you advice in /sbin and /etc which DIR, I can move safely.&lt;BR /&gt;&lt;BR /&gt;None, is the safest answer.&lt;BR /&gt;Though there may be some directory in /etc/vx/ that is only used for backup and one for rebuilding the kernel.</description>
      <pubDate>Mon, 25 May 2009 23:34:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full/m-p/5177367#M459380</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-05-25T23:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: filesystem  /  full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full/m-p/5177368#M459381</link>
      <description>Thank you all for your helps.&lt;BR /&gt;i did schedule a reboot and change the programs to write error to a logfiles.&lt;BR /&gt;&lt;BR /&gt;Thanks again for all your helps.&lt;BR /&gt;Regards,&lt;BR /&gt;Tom</description>
      <pubDate>Wed, 27 May 2009 21:40:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-full/m-p/5177368#M459381</guid>
      <dc:creator>tom quach_1</dc:creator>
      <dc:date>2009-05-27T21:40:05Z</dc:date>
    </item>
  </channel>
</rss>

