<?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: Linux root partition issue in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/linux-root-partition-issue/m-p/4365870#M35366</link>
    <description>HI Karasik&lt;BR /&gt;&lt;BR /&gt;Please find the output</description>
    <pubDate>Thu, 26 Feb 2009 10:32:25 GMT</pubDate>
    <dc:creator>muralikrishna</dc:creator>
    <dc:date>2009-02-26T10:32:25Z</dc:date>
    <item>
      <title>Linux root partition issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-root-partition-issue/m-p/4365867#M35363</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;i am using more crontab entries so that i am getting sendmails more. I deleted all logs from rescepctive folders i.e /var/log/, /var/spool/clientmqueue/, var/spool/mqueue/, /var/spool/mail.   If these folders are empty also root partition is increasing day by day. After rebooting my root partition size is resized i.e i am getting more space in root partition.&lt;BR /&gt;&lt;BR /&gt;I want know where linux storing temparory data. I am using itanium server.   my tmp folder is not more than 10mb always.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;p</description>
      <pubDate>Wed, 25 Feb 2009 06:28:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-root-partition-issue/m-p/4365867#M35363</guid>
      <dc:creator>muralikrishna</dc:creator>
      <dc:date>2009-02-25T06:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Linux root partition issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-root-partition-issue/m-p/4365868#M35364</link>
      <description>Can you please send us output of:&lt;BR /&gt;&lt;BR /&gt;1) df &lt;BR /&gt;&lt;BR /&gt;2) du -x / |sort -rn |head</description>
      <pubDate>Wed, 25 Feb 2009 08:58:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-root-partition-issue/m-p/4365868#M35364</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2009-02-25T08:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Linux root partition issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-root-partition-issue/m-p/4365869#M35365</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;You need to identify the distribution to get accurate help.&lt;BR /&gt;&lt;BR /&gt;You have for Red Hat covered all the temporary storage areas for mail.&lt;BR /&gt;&lt;BR /&gt;What you need to do next is find the source of the email.&lt;BR /&gt;&lt;BR /&gt;/var/log/maillog&lt;BR /&gt;&lt;BR /&gt;Contains a record.&lt;BR /&gt;&lt;BR /&gt;The source may be external. It may be internal. Someone could be trying to relay spam through your server.&lt;BR /&gt;&lt;BR /&gt;Take a look at what cron is running versus the logfile and see if you can find the source.&lt;BR /&gt;&lt;BR /&gt;df -kh&lt;BR /&gt;fdisk -l&lt;BR /&gt;&lt;BR /&gt;Provide information on partition structure.&lt;BR /&gt;&lt;BR /&gt;One of the things Red Hat default configuration does I don't like is not providing distinct file systems. By default there is / and nothing else, or /boot plus / in lvm.&lt;BR /&gt;&lt;BR /&gt;This is not a good management approach.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Feb 2009 08:59:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-root-partition-issue/m-p/4365869#M35365</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-02-25T08:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Linux root partition issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-root-partition-issue/m-p/4365870#M35366</link>
      <description>HI Karasik&lt;BR /&gt;&lt;BR /&gt;Please find the output</description>
      <pubDate>Thu, 26 Feb 2009 10:32:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-root-partition-issue/m-p/4365870#M35366</guid>
      <dc:creator>muralikrishna</dc:creator>
      <dc:date>2009-02-26T10:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Linux root partition issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-root-partition-issue/m-p/4365871#M35367</link>
      <description>weird! for now you about 12GB free into your "/", it should be enough.&lt;BR /&gt;&lt;BR /&gt;Can you please run the same commands when your "/" usage is close to 100%?</description>
      <pubDate>Thu, 26 Feb 2009 10:53:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-root-partition-issue/m-p/4365871#M35367</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2009-02-26T10:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Linux root partition issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-root-partition-issue/m-p/4365872#M35368</link>
      <description>The disk space was freed when rebooting the server? &lt;BR /&gt;&lt;BR /&gt;Maybe you deleted a file that was held open by some application. If you do that, the file vanishes from the directory but the disk space is not freed until the application closes the file. This is standard Unix behaviour.&lt;BR /&gt;&lt;BR /&gt;Before deleting any log files, you should use the "fuser" command to make sure the log file is not held open by any process. &lt;BR /&gt;&lt;BR /&gt;If the file is held open, it is better to truncate it to zero size rather than delete it. This causes the disk space to be freed immediately.&lt;BR /&gt;&lt;BR /&gt;Example: to truncate the file /some/logfile.txt to zero size, use this command:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; /some/logfile.txt&lt;BR /&gt;&lt;BR /&gt;(Yes, the command is just a "&amp;gt;" sign.)&lt;BR /&gt;&lt;BR /&gt;If someone has deleted files that are held open by an application, the only way to free the disk space without rebooting is to make the application stop using the file. Often this means stopping &amp;amp; restarting the application.&lt;BR /&gt;&lt;BR /&gt;To identify the application that is holding the deleted files, use this command:&lt;BR /&gt;&lt;BR /&gt;lsof +L1&lt;BR /&gt;&lt;BR /&gt;It will list all deleted files that are still open, and the PIDs of the processes that are holding the files.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Thu, 26 Feb 2009 12:31:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-root-partition-issue/m-p/4365872#M35368</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2009-02-26T12:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Linux root partition issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-root-partition-issue/m-p/4365873#M35369</link>
      <description>Good call Matti. We had a rogue java process here holding onto a multi-gig file that filled /home. The file had been 'deleted', but since the process was never manually killed, it kept filling the 'deleted' file. Rebooting, of course, killed the process and free'd up that space. I'm wondering if the situation is the same in muralikrishna's case.</description>
      <pubDate>Thu, 26 Feb 2009 18:11:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-root-partition-issue/m-p/4365873#M35369</guid>
      <dc:creator>Steven McCoy</dc:creator>
      <dc:date>2009-02-26T18:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Linux root partition issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-root-partition-issue/m-p/4365874#M35370</link>
      <description>Hi Matti&lt;BR /&gt;&lt;BR /&gt;is it possible to assign for all files in a directory ?&lt;BR /&gt;&amp;gt; /some/log.txt&lt;BR /&gt;&lt;BR /&gt;i need to resize entire folder.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Feb 2009 06:18:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-root-partition-issue/m-p/4365874#M35370</guid>
      <dc:creator>muralikrishna</dc:creator>
      <dc:date>2009-02-27T06:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Linux root partition issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-root-partition-issue/m-p/4365875#M35371</link>
      <description>I think you'll get an 'ambigous redirect' message by doing that. What I would recommend:&lt;BR /&gt;&lt;BR /&gt;for i in /var/log/somewhere/*; do &amp;gt;${i}; done&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Fri, 27 Feb 2009 12:11:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-root-partition-issue/m-p/4365875#M35371</guid>
      <dc:creator>Steven McCoy</dc:creator>
      <dc:date>2009-02-27T12:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Linux root partition issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-root-partition-issue/m-p/4365876#M35372</link>
      <description>but before cleaning your logfiles I suggest to verify that they are really taking many diskspace.&lt;BR /&gt;till now we don't know that.</description>
      <pubDate>Fri, 27 Feb 2009 13:31:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-root-partition-issue/m-p/4365876#M35372</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2009-02-27T13:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Linux root partition issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-root-partition-issue/m-p/4365877#M35373</link>
      <description>cd /var&lt;BR /&gt;du -k | sort -rn | more&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 27 Feb 2009 13:46:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-root-partition-issue/m-p/4365877#M35373</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-02-27T13:46:12Z</dc:date>
    </item>
  </channel>
</rss>

