Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2003 11:26:25 -0500
From:      Gary <gv-list-freebsdquestions@mygirlfriday.info>
To:        "freebsd-questions" <freebsd-questions@freebsd.org>
Subject:   Re: linking a dir
Message-ID:  <958866990.20030916112625@mygirlfriday.info>
In-Reply-To: <003f01c37c6c$456bf100$f4f0a8c0@pcmedx.com>
References:  <906762293.20030916105121@mygirlfriday.info> <003f01c37c6c$456bf100$f4f0a8c0@pcmedx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Mike,

Tuesday, September 16, 2003, 11:04:55 AM, you wrote:

MM> Deleteing unused kernels would be a good start.  What is the size of your /
MM> partition?

dev/ad0s1a    128990   86254   32418    73%    /

-r-xr-xr-x   1 root  wheel  4122347 Apr  3 04:53 kernel
-r-xr-xr-x   1 root  wheel  4122347 Apr  3 04:53 kernel.GENERIC

I don't know which kernel is being used... Deleting one would surely help.

MM> Add most puzzling of all, why do you have logs in /etc? There should
MM> be very little write activity on /, so the possiblilty of it filling
MM> up shouldn't be much of a concern.

Good question. This is a production Mail / DNS server (using qmail and
djbdns), so I have logs in /etc (by the default run script) minimally at
100K each x10 (before they rotate out) for each of SMTP, SEND, another
SMTP, axfrdns, tinydns, dnscache, 2 rbls, and maybe one more... the SMTP
and SEND logs are at 250k each of 10... so you see how this can add up...

I am hoping that I will have seen just about the end of the bloating /
dir, but was concerned enough to write about it...  I should have planned
the layout better.

>> It seems that on a remote box FBSD 4.8, my /dev/ad0s1a or / dir is at 73%
>> capacity
>> already, and this has me somewhat worried.  I attribute this to the /etc
>> dir inside of the / dir, as it contains many log files, etc... or perhaps
>> the 2 kernels sitting under /  both kernel and kernel.GENERIC
>>
>> Question is can I cp /etc to say a /usr/etc and link it (as I have tons of
>> room under /usr) without any problem.
>>
>> Thanks for input..

-- 
Best regards,
 Gary 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?958866990.20030916112625>