From owner-freebsd-isp Wed Dec 22 7:36:10 1999 Delivered-To: freebsd-isp@freebsd.org Received: from postier.calculus.ca (www.calculus.ca [207.139.54.194]) by hub.freebsd.org (Postfix) with SMTP id A05B1150B3 for ; Wed, 22 Dec 1999 07:36:07 -0800 (PST) (envelope-from bruno.gallant@sibn.bnc.ca) Received: from sibn.bnc.ca (BGALLANT [10.26.48.146]) by postier.calculus.ca (8.6.9/8.6.9) with ESMTP id KAA00214; Wed, 22 Dec 1999 10:32:15 -0500 Message-ID: <3860EF9A.6984D47D@sibn.bnc.ca> Date: Wed, 22 Dec 1999 10:34:50 -0500 From: Bruno Gallant Organization: CESSAP-SIBN X-Mailer: Mozilla 4.7 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: martynr@invictanet.co.uk Cc: Freebsd-ISP Subject: Re: partition sizes and securelevel questions References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org as a quick and dirty solution, you could cp -Rp /var /usr/var, then mv /var /var1, then ln -s /usr/var /var. When you are assured that everything works fine, you can rm -rf /var1. (you should do that when nobody uses the system) I tried that on many machines that had their /var quite full and desperately needing attention, but it's maybe not optimal for a loaded server, because there may be a slowdown because of the symbolic link. Maybe the systems programmers could shed light on this issue. Martyn Routley wrote: > > I have a question about partitions instead of another solution. > > I have 2 disks partioned as follows: > > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/sd0s1a 248047 127859 100345 56% / > /dev/sd1s1a 248047 132352 95852 58% /backup > /dev/sd1s1e 3606670 1293230 2024907 39% /backup/usr > /dev/sd0s1e 3606670 1232703 2085434 37% /usr > procfs 4 4 0 100% /proc > > var is currently in root - obviously not a good idea and there is a lot of unused space in /usr. > > disk 0 is dumped onto disk 1 each night. > > What is the best way to redesign my partitions without (a)screwing up the entire system. & (b)long periods of downtime? > > Martyn > ----------------------------------------------------- > InvictaNet - The Internet in Plain English, Guaranteed > http://www.invictanet.co.uk > mailto:info@invictanet.co.uk > phone: 0870 7402252 > fax: +44 (0)1233 334001 > ------------------------------------------------------ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message