Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Dec 1999 10:34:50 -0500
From:      Bruno Gallant <bruno.gallant@sibn.bnc.ca>
To:        martynr@invictanet.co.uk
Cc:        Freebsd-ISP <freebsd-isp@FreeBSD.ORG>
Subject:   Re: partition sizes and securelevel questions
Message-ID:  <3860EF9A.6984D47D@sibn.bnc.ca>
References:  <NDBBKODAOKAJLGIOGBIAAEOJCFAA.martynr@invictanet.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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