From owner-freebsd-newbies@FreeBSD.ORG Thu Jul 22 14:52:55 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 28FFE16A4CE for ; Thu, 22 Jul 2004 14:52:55 +0000 (GMT) Received: from fidel.freesurf.fr (fidel.freesurf.fr [212.43.206.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC19143D46 for ; Thu, 22 Jul 2004 14:52:54 +0000 (GMT) (envelope-from ogautherot@freesurf.fr) Received: from freesurf.fr (arlette.freesurf.fr [212.43.206.12]) by fidel.freesurf.fr (Postfix) with SMTP id 418152A612C for ; Thu, 22 Jul 2004 16:52:53 +0200 (CEST) Received: from 62.240.243.205 (SquirrelMail authenticated user ogautherot) by arlette.freesurf.fr with HTTP; Thu, 22 Jul 2004 16:52:53 +0200 (CEST) Message-ID: <3411.62.240.243.205.1090507973.squirrel@arlette.freesurf.fr> Date: Thu, 22 Jul 2004 16:52:53 +0200 (CEST) From: To: X-Priority: 3 In-Reply-To: <3905EA84-DBCE-11D8-8A99-000A2791B6EC@illusionart.com> References: <3905EA84-DBCE-11D8-8A99-000A2791B6EC@illusionart.com> Importance: Normal X-MSMail-Priority: Normal X-Mailer: SquirrelMail (version 1.2.5) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: /var running out of space X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jul 2004 14:52:55 -0000 Hi Vonleigh! > I think that this /var is way too small, considering that 20 mail > users with 10MB of email each, would be 200MB and could easily saturate > it. > > I'm wondering what would be the best way of going about this. My > initial thought was to just link /var/mail to /home/mail and that way > let it grow however it needs to. However, maybe setting /var/mail to > it's own partition might be advantageous, although I don't know if this > requires reformatting the whole HD. If you move your mail directory to /home, make sure it ends up on the /usr partition rather then / (the default location of /home is on /). Another option is to "growfs" the /var partition: it is a utility that resizes the partitions nearly live. Since resizing is only possible while the partitions are umounted, make sure you do that during boot (option 4 of the BSD boot manager, that stops after fsck). You can also use growfs to reserve some space for an additional label within the slice (i.e. partition), which you could assign to /var/mail. > I don't have access to the server (I'm renting it in a facility), so > reformatting is not an option, it's also on a mirrored RAID if that > changes anything. Good point: does growfs work on RAID-based partitions? Hope it helps Olivier