<?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: /root fs full in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/root-fs-full/m-p/4028773#M301232</link>
    <description>seach for huge files under /root&lt;BR /&gt;&lt;BR /&gt;10 largest directories&lt;BR /&gt;$ du -kx /root | sort -rn -k1 | head -n 10&lt;BR /&gt;&lt;BR /&gt;10 largest files&lt;BR /&gt;$ find /root -type f -xdev -print | xargs -e ll | sort -rn -k5 | head -n 10&lt;BR /&gt;&lt;BR /&gt;Regards</description>
    <pubDate>Thu, 28 Jun 2007 10:17:08 GMT</pubDate>
    <dc:creator>Oviwan</dc:creator>
    <dc:date>2007-06-28T10:17:08Z</dc:date>
    <item>
      <title>/root fs full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-fs-full/m-p/4028768#M301227</link>
      <description>my /root file system is full. I wnat to compress my log files . shall i do gzip for my syslog.log . after that how can i create my syslog.log file..? &lt;BR /&gt;&lt;BR /&gt;thanks in advance</description>
      <pubDate>Thu, 28 Jun 2007 10:07:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-fs-full/m-p/4028768#M301227</guid>
      <dc:creator>mavrick</dc:creator>
      <dc:date>2007-06-28T10:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: /root fs full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-fs-full/m-p/4028769#M301228</link>
      <description>usually /var is it's own file system. So compressing the logs there will not help clean up /.</description>
      <pubDate>Thu, 28 Jun 2007 10:11:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-fs-full/m-p/4028769#M301228</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-06-28T10:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: /root fs full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-fs-full/m-p/4028770#M301229</link>
      <description>Your syslog.log shouldn't be in / - should be in /var&lt;BR /&gt;&lt;BR /&gt;from / do a:&lt;BR /&gt;&lt;BR /&gt;du -sk * |sort -n&lt;BR /&gt;&lt;BR /&gt;Then ignore any mounted filesystems to find what is taking up space.&lt;BR /&gt;&lt;BR /&gt;Is there a /core file?  That could be taking space...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jun 2007 10:11:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-fs-full/m-p/4028770#M301229</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2007-06-28T10:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: /root fs full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-fs-full/m-p/4028771#M301230</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt;syslog is not under /root? it's lmust be under /var&lt;BR /&gt;&lt;BR /&gt;If need to recreate execute a "touch syslog.log" for example&lt;BR /&gt;&lt;BR /&gt;if / is really full, search after file core for example&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;L-DERLYN</description>
      <pubDate>Thu, 28 Jun 2007 10:12:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-fs-full/m-p/4028771#M301230</guid>
      <dc:creator>Ludovic Derlyn</dc:creator>
      <dc:date>2007-06-28T10:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: /root fs full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-fs-full/m-p/4028772#M301231</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Your 'syslog' file should reside in '/var' not '/'.&lt;BR /&gt;&lt;BR /&gt;If '/' is full, look for regular files in '/dev' that don't belong.  The most common mistake is a mis-spelled device file like '/dev/rmt/om'.&lt;BR /&gt;&lt;BR /&gt;# du -xk /|sort -k1nr|more&lt;BR /&gt;&lt;BR /&gt;...will show you in descending order the largest to smallest directories.&lt;BR /&gt;&lt;BR /&gt;If archiving and beginning with an empty 'syslog' is the issue, one way is to do:&lt;BR /&gt;&lt;BR /&gt;# /sbin/init.d/syslogd stop&lt;BR /&gt;# /sbin/init.d/syslogd start&lt;BR /&gt;&lt;BR /&gt;This will create '/var/adm/syslog/OLDsyslog.&lt;BR /&gt;log' which you can then compress.  A new, empty copy of 'syslog.log' will exist, too.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 28 Jun 2007 10:16:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-fs-full/m-p/4028772#M301231</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-06-28T10:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: /root fs full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-fs-full/m-p/4028773#M301232</link>
      <description>seach for huge files under /root&lt;BR /&gt;&lt;BR /&gt;10 largest directories&lt;BR /&gt;$ du -kx /root | sort -rn -k1 | head -n 10&lt;BR /&gt;&lt;BR /&gt;10 largest files&lt;BR /&gt;$ find /root -type f -xdev -print | xargs -e ll | sort -rn -k5 | head -n 10&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Thu, 28 Jun 2007 10:17:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-fs-full/m-p/4028773#M301232</guid>
      <dc:creator>Oviwan</dc:creator>
      <dc:date>2007-06-28T10:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: /root fs full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-fs-full/m-p/4028774#M301233</link>
      <description>cp or mv syslog.log file to other filesystem&lt;BR /&gt;/sbin/init.d/syslogd stop &lt;BR /&gt;cat /dev/null &amp;gt; syslog.log &lt;BR /&gt;This will recreate this file with zero size.&lt;BR /&gt;restart syslogd&lt;BR /&gt;/sbin/init.d/syslogd start.&lt;BR /&gt;&lt;BR /&gt;or identify the large files in directories with command.&lt;BR /&gt;du -k |sort -rn |more&lt;BR /&gt;or find / -size +5000 -print&lt;BR /&gt;and manually clean them up.&lt;BR /&gt;&lt;BR /&gt;-Srinivas&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jun 2007 10:47:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-fs-full/m-p/4028774#M301233</guid>
      <dc:creator>Srinivas Thokala_1</dc:creator>
      <dc:date>2007-06-28T10:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: /root fs full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-fs-full/m-p/4028775#M301234</link>
      <description>If root fills up, first check for a large core under root or /etc.&lt;BR /&gt;Another  simple way to find out what is filling up root is to run the following find, then view the output.&lt;BR /&gt;Cd /&lt;BR /&gt;Find . -xdev -print -exec ls  -ld {} |; &amp;gt;/tmp/rootlist&lt;BR /&gt;This will list all of the dirs and files under root and their sizes.  There should be NO application files is this list.&lt;BR /&gt;&lt;BR /&gt;The other way is run:&lt;BR /&gt;# du -akx | sort -nr | more&lt;BR /&gt;&lt;BR /&gt;-Srinivas</description>
      <pubDate>Thu, 28 Jun 2007 14:09:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-fs-full/m-p/4028775#M301234</guid>
      <dc:creator>Srinivas Thokala_1</dc:creator>
      <dc:date>2007-06-28T14:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: /root fs full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-fs-full/m-p/4028776#M301235</link>
      <description>Hello maverick,&lt;BR /&gt;&lt;BR /&gt;if you want to compress active logfiles like syslog, /etc/wtmp /etc/btmp, you have either ti restart the services which write to this files afterwards, or you may just clear them as follows:&lt;BR /&gt;&lt;BR /&gt;gzip -c file &amp;gt; file.gz&lt;BR /&gt;&amp;gt; file&lt;BR /&gt;&lt;BR /&gt;The 2nd line overwrites the file with nothing, reducing the size to 0 bytes while not touching the adress of the file; i.e. The syslogdaemon still can find its present syslogfile thereafter.&lt;BR /&gt;&lt;BR /&gt;Bye&lt;BR /&gt;Ralf</description>
      <pubDate>Fri, 29 Jun 2007 01:32:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-fs-full/m-p/4028776#M301235</guid>
      <dc:creator>Ralf Seefeldt</dc:creator>
      <dc:date>2007-06-29T01:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: /root fs full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-fs-full/m-p/4028777#M301236</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm just wondering - compress the files will not work if the file system is REALLY full!&lt;BR /&gt;When compressing, a additional file will be created till compression is completed - then the old file will be deleted.&lt;BR /&gt;And a 'bdf' would be interesting, to see which directories are under /.&lt;BR /&gt;&lt;BR /&gt;Volkmar&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Jun 2007 02:38:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-fs-full/m-p/4028777#M301236</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2007-06-29T02:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: /root fs full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-fs-full/m-p/4028778#M301237</link>
      <description>&amp;gt;Volkmar: I'm just wondering - compress the files will not work if the file system is REALLY full!&lt;BR /&gt;&lt;BR /&gt;I guess you would have to copy the file to another filesystem.  Or use stdin:&lt;BR /&gt;$ cd filesystem-with-space&lt;BR /&gt;$ gzip &amp;lt; /root-fs/big-hog &amp;gt; big-hog.gz</description>
      <pubDate>Fri, 29 Jun 2007 03:22:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-fs-full/m-p/4028778#M301237</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-06-29T03:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: /root fs full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-fs-full/m-p/4028779#M301238</link>
      <description>@Dennis&lt;BR /&gt;&lt;BR /&gt;right!&lt;BR /&gt;&lt;BR /&gt;:-)</description>
      <pubDate>Fri, 29 Jun 2007 03:53:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-fs-full/m-p/4028779#M301238</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2007-06-29T03:53:29Z</dc:date>
    </item>
  </channel>
</rss>

