<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>Lowyat.NET: Latest topics by c9</title>
        <description></description>
        <link>http://forum.lowyat.net/</link>
        <lastBuildDate>Mon, 20 Jul 2026 01:57:55 +0800</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>/var : write failed, filesystem is full</title>
            <link>http://forum.lowyat.net/topic/454467</link>
            <description>Hi guys, &lt;br /&gt;&lt;br /&gt;It seems that /var is always full. I can&amp;#39;t seem compile anything else. Sigh.. Below is the detail. &lt;br /&gt;&lt;br /&gt;&lt;!--QuoteBegin--&gt;&lt;div class='quotetop'&gt;QUOTE&lt;/div&gt;&lt;div class='quotemain'&gt;&lt;!--QuoteEBegin--&gt;webtv# uname -a&lt;br /&gt;FreeBSD *.*.gov.my 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May&amp;nbsp; 8 10:21:06 UTC 2005&amp;nbsp; &amp;nbsp;  root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC&amp;nbsp; i386&lt;!--QuoteEnd--&gt;&lt;/div&gt;&lt;!--QuoteEEnd--&gt;&lt;br /&gt;&lt;!--QuoteBegin--&gt;&lt;div class='quotetop'&gt;QUOTE&lt;/div&gt;&lt;div class='quotemain'&gt;&lt;!--QuoteEBegin--&gt;webtv# df -h&lt;br /&gt;Filesystem&amp;nbsp; &amp;nbsp;  Size&amp;nbsp; &amp;nbsp; Used&amp;nbsp;  Avail Capacity&amp;nbsp; Mounted on&lt;br /&gt;/dev/da0s1a&amp;nbsp; &amp;nbsp; 248M&amp;nbsp; &amp;nbsp; 246M&amp;nbsp; &amp;nbsp; -18M&amp;nbsp;  108%&amp;nbsp; &amp;nbsp; /&lt;br /&gt;devfs&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1.0K&amp;nbsp; &amp;nbsp; 1.0K&amp;nbsp; &amp;nbsp; &amp;nbsp; 0B&amp;nbsp;  100%&amp;nbsp; &amp;nbsp; /dev&lt;br /&gt;/dev/da0s1e&amp;nbsp; &amp;nbsp; 248M&amp;nbsp; &amp;nbsp;  14K&amp;nbsp; &amp;nbsp; 228M&amp;nbsp; &amp;nbsp;  0%&amp;nbsp; &amp;nbsp; /tmp&lt;br /&gt;/dev/da0s1f&amp;nbsp; &amp;nbsp;  32G&amp;nbsp; &amp;nbsp;  19G&amp;nbsp; &amp;nbsp; 9.9G&amp;nbsp; &amp;nbsp; 66%&amp;nbsp; &amp;nbsp; /usr&lt;br /&gt;/dev/da0s1d&amp;nbsp; &amp;nbsp; 248M&amp;nbsp; &amp;nbsp; 248M&amp;nbsp; &amp;nbsp; -20M&amp;nbsp;  109%&amp;nbsp; &amp;nbsp; /var&lt;!--QuoteEnd--&gt;&lt;/div&gt;&lt;!--QuoteEEnd--&gt;&lt;br /&gt;The most taken disk space are from these:&lt;br /&gt;&lt;br /&gt;&lt;!--QuoteBegin--&gt;&lt;div class='quotetop'&gt;QUOTE&lt;/div&gt;&lt;div class='quotemain'&gt;&lt;!--QuoteEBegin--&gt;webtv# du -h /var&lt;br /&gt;225M&amp;nbsp; &amp;nbsp; ./log&lt;br /&gt; 16M&amp;nbsp; &amp;nbsp; ./spool&lt;br /&gt; 16M&amp;nbsp; &amp;nbsp; ./spool/clientmqueue&lt;br /&gt;2.1M&amp;nbsp; &amp;nbsp; ./db&lt;br /&gt;4.0K&amp;nbsp; &amp;nbsp; ./crash&lt;br /&gt;4.0K&amp;nbsp; &amp;nbsp; ./cron&lt;br /&gt;4.0K&amp;nbsp; &amp;nbsp; ./msgs&lt;br /&gt;4.0K&amp;nbsp; &amp;nbsp; ./named/var/run&lt;br /&gt;4.0K&amp;nbsp; &amp;nbsp; ./spool/output&lt;br /&gt;4.0K&amp;nbsp; &amp;nbsp; ./tmp/etc/gnats&lt;br /&gt;4.5M&amp;nbsp; &amp;nbsp; ./mail&lt;!--QuoteEnd--&gt;&lt;/div&gt;&lt;!--QuoteEEnd--&gt;&lt;br /&gt;So, I did try to overcome these by trying to symlink it to home directory. Unfortunately I can&amp;#39;t rename the log folder into anything else. Below is how I did. &lt;br /&gt;&lt;br /&gt;&lt;!--QuoteBegin--&gt;&lt;div class='quotetop'&gt;QUOTE&lt;/div&gt;&lt;div class='quotemain'&gt;&lt;!--QuoteEBegin--&gt;webtv# su&lt;br /&gt;webtv# mkdir -p /home/var.log&lt;br /&gt;webtv# cp -Rp log /home/var.log&lt;br /&gt;webtv# mv log oldlog&lt;br /&gt;mv: rename log to oldlog: Operation not permitted&lt;!--QuoteEnd--&gt;&lt;/div&gt;&lt;!--QuoteEEnd--&gt;&lt;br /&gt;Was it because file permission error? Or something is actually running in the background? I did stop syslogd and all. Still, it didn&amp;#39;t work. I can&amp;#39;t run as single user as I&amp;#39;m remotely connected to the server. The server is in Melaka.&lt;br /&gt;&lt;br /&gt;So, I&amp;#39;m hoping if there&amp;#39;s a workaround to this. Be it how to force rename or how to solve this /var issue. Thanks.</description>
            <author>c9</author>
            <category>Linux &amp;amp; Open Source Software</category>
            <pubDate>Wed, 09 May 2007 18:48:08 +0800</pubDate>
        </item>
    </channel>
</rss>
