Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Oct 1998 11:35:01 +0930
From:      Greg Lehey <grog@lemis.com>
To:        ron@netassociates.com
Cc:        FreeBSD Questions <questions@FreeBSD.ORG>
Subject:   Re: Clearing /var/mail
Message-ID:  <19981014113501.C21983@freebie.lemis.com>
In-Reply-To: <75B246B6570BD211815E0060B057850148EF@naeugnt1.netassociates.com>; from ron@netassociates.com on Tue, Oct 13, 1998 at 10:10:29AM -0700
References:  <75B246B6570BD211815E0060B05785010355DF@naeugnt1.netassociates.com> <75B246B6570BD211815E0060B057850148EF@naeugnt1.netassociates.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Please copy -questions on your replies.

On Tuesday, 13 October 1998 at 10:10:29 -0700, ron@netassociates.com wrote:
> On Tuesday, October 13, 1998 2:53 PM, Greg Lehey [mailto:grog@lemis.com] wrote:
>> On Tuesday, 13 October 1998 at  1:38:31 -0700, ron@netassociates.com wrote:
>>> I have a mail server that has 29727 for mail.
>>
>> Sorry, I don't understand.  Is this the number of blocks in the files
>> in the directory?
>>
>>> It is currently at 78% full.  I don't have that much mail setting
>>> the mailboxes of the clients.
>>
>> Sorry, I don't understand that sentence either.  Are you saying that
>> the file sizes don't add up?  If so, do you have files starting with a
>> period (they're used by pop).
>>
>>> It was at 11% a few days ago.  What is causing it to be full
>>
>> Files
>>
>>> and how can I fix it.
>>
>> Remove them.
>
> Sorry,
>
> I have 29727 1k blocks in the /var directory

OK.

> The sizes in the individual accounts don't add up to the blocks
> used.

How far off are they?  Consider that file storage is allocated in
fragments of between 512 and 2048 bytes.

> Yes there are files that are .pop  they don't have any bits in them.

You mean they're empty?  OK.

> Can I increase the /var/mail by symlinking to a directory (adding one called
> mail) in the /user directory?  If so how do I go about doing that.

It's difficult to do it with a symlink alone, since that would
effectively rename the directory.  You can move everything to a
different file system and have symlink pointing to the new location;
in fact, that's what I do.  This is one reason why I recommend to have
only one file system on a disk.

Greg
--
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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