Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Feb 1999 12:54:38 -0800
From:      Kent Stewart <kstewart@3-cities.com>
To:        Ben Smithurst <ben@scientia.demon.co.uk>
Cc:        Deepu Sebastian Joseph <dsj@engunx.unl.edu>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Swap Space
Message-ID:  <36D9AD0E.9F17CDA@3-cities.com>
References:  <Pine.OSF.4.04.9902280712500.24072-100000@engunx.unl.edu> <19990228181847.A20725@scientia.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Ben Smithurst wrote:
> 
> Deepu Sebastian Joseph wrote:
> 
> > I see that I might be just able to squeeze with:
> > / 20 MB
> > swap 20 MB
> > /usr 80 MB
> > /var 4 MB
> > Its given some where /+/usr should be 100MB.
> 
> why not just
> 
> / 104MB
> swap 20MB
> 
> ? It will warn that having separate /, /usr and /var is a good idea, but
> it won't insist that you make them separate. I've recently installed
> FreeBSD on a machine with a small disk (400MB), and I just used
> something like 30 for swap, 380 for "/". On my machine "/" is a separate
> filesystem, but if you've got so little space it probably won't hurt to
> stick them all on one filesystem.
> 
> Perhaps someone can tell me why my method is a bad idea, if it is.

There are times when you want the system to go down in a nice manner.
When you fill the entire disk, it can be rather abrupt. I missed a
digit one time and tried to edit a 50MB file with vi on our Cray. I
filled what ever space vi used for tmp and the system stopped. Nothing
that required tmp would run but they could still go in and rm my tmp
files. Then they came down and asked me what I was doing and that was
when I discovered the file was 10 times larger than I thought. There
were 150 people that couldm't work because of me. If there are only a
couple of people, I don't think it matters as long as you know what
happens when you fill the drive and how to fix it.

The plus, of course, is that you use the entire disk and not a
preconceived notion of what your needs are. I find that sooner or
later I push the size of a filesystem and all of the normal
filesystems except swp (300MB) and proc are part of /. My user
filesystem's /usr1 and /usr2 are all on separate 2.5-3.1GB drives. On
of my projects fills the 1.25GB /usr1 slice and that was before anyone
has started running the program and leaving run output files for
analysis behind.
-- 
Kent Stewart
Richland, WA

mailto:kstewart@3-cities.com
http://www.3-cities.com/~kstewart/index.html

Hunting Archibald Stewart, b 1802 in Ballymena, Antrim Co., NIR
http://www.3-cities.com/~kstewart/genealogy/archibald_stewart.html


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?36D9AD0E.9F17CDA>