From owner-freebsd-isp Wed Jun 4 03:31:32 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA15695 for isp-outgoing; Wed, 4 Jun 1997 03:31:32 -0700 (PDT) Received: from bagpuss.visint.co.uk (bagpuss.vis.net.uk [194.207.134.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA15689 for ; Wed, 4 Jun 1997 03:31:27 -0700 (PDT) Received: from dylan.visint.co.uk (dylan.visint.co.uk [194.207.134.180]) by bagpuss.visint.co.uk (8.7.5/8.7.3) with SMTP id LAA26075; Wed, 4 Jun 1997 11:34:23 +0100 (BST) Date: Wed, 4 Jun 1997 11:30:19 +0100 (BST) From: Stephen Roome To: Muditha Gunatilake cc: freebsd-isp@FreeBSD.ORG Subject: Re: Partitions In-Reply-To: <3395346A.4416@seychelles.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, 4 Jun 1997, Muditha Gunatilake wrote: > Hi, > We are using POP and SMTP for our mail. The /var partition is almost > full and everyday have to get people to remove large mails files to keep > alive. What is the best way to add a new hard disk or reallocate some > space from /home which has quite a bit of space left? Method 1: a) back the partition up. b) delete the partition completely. c) add a new disk. d) make yourself a bigger var partition e) put the data back in it. It's a hassle, but any other method like soft linking home most of var into home tends to lose the point of a /var partition. Method 2: Use less of /var, i.e. move log files you aren't too worried about somewhere else or have a cron that chops them up regularly and puts the digested data elsewhere. If it's mail filling it up you can get mail delivered directly to someones home directory instead. You would need to check out something like ftp://ftp.cs.columbia.edu/pub/hlfsd/README.hlfsd or if you know how just change the local mailer you use, procmail will do it for you. Method 3: *dons flame protection* Other than that you could always just enlarge the size of the partition with disklabel and hope it works, quite often it does if you play with newfs a bit it'll work =) *removes flame protection* Method 4: delete things. =) Steve Roome.