Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Sep 2000 15:38:53 +0100
From:      Daniel Bye <Daniel.Bye@uk.uu.net>
To:        'Mike Meyer' <mwm@mired.org>
Cc:        questions@freebsd.org
Subject:   RE: Max partitions per slice
Message-ID:  <FB7CAC781DB6D311BEE800805FE6FADA2F4C06@camexch4.cam.uk.internal>

next in thread | raw e-mail | index | archive | help
Looking at your point at the bottom of this reply, I am reminded of a
question I had a while ago.  Does FreeBSD have a maximum amount of swap
space it can use?  Linux (back when I used it, anyway) didn't like swap
partitions of more than 1024MB (I think...  I know there was an upper limit
per swap partition).  Does FreeBSD have any such limits?

I ask merely for information - I can't think of a situation, with my current
setup, where I will get even close to needing that much swap space :o)

Thanks,

Dan

> -----Original Message-----
> From: Mike Meyer [mailto:mwm@mired.org]
> Sent: Tuesday, September 26, 2000 10:31 AM
> To: David J. Kanter
> Cc: questions@freebsd.org
> Subject: Re: Max partitions per slice
> 
> 
> David J. Kanter writes:
> > On Mon, Sep 25, 2000 at 08:50:58AM -0500, Mike Meyer wrote:
> > > Of course, I've never seen
> > > anyone who needed more than 7 active partitions, so I've 
> not seen it
> > > done.
> > Fair enough. What partitioning scheme do you recommend?
> 
> As usual, the correct answer to that question is "it depends". I've
> done just / and /var for servers, and my last install (a system for
> testing some commercial software on) had nothing but /.
> 
> > This will be just a home machine. /tmp and /var generally 
> seem like good
> > candidates for separate file systems. Does breaking up /usr 
> into /usr/src
> > and /usr/obj seem foolish? All of this will be on one disk.
> 
> For a personal workstation, I'd say /, /usr and /home (or whatever you
> want to call the local stuff). /home gets separated from the system so
> I can move "just my stuff" easily if I need to. Some fairly sharp
> people believe a / & /usr split is no longer needed, but I have
> different backup strategies for / and /usr. For servers - which
> presumably will be logging things to /var frequently - I'd add
> /var. /tmp can be left alone, mounted on mfs or md, symlinked to a
> different partition (which means some things won't work until it's
> mounted) or mounted on a small partion. Personally, I add said small
> partition to swap and put it on mfs, just so it gets cleaned across
> reboots.
> 
> Putting /usr/src and /usr/obj in separate partitions on the same disk
> seems very foolish. You've just *guaranteed* lots of head movement on
> that disk when doing a make. I leave /usr/obj on /usr, and symlink
> /usr/src to a second disk. That way I get the benefit of overlapping
> I/O operations (you need SCSI or different IDE controllers for that),
> and if /usr gets fried, I can rebuild from the src on the second disk.
> 
> > Oh, and what do you think about sizes for those partitions?
> 
> / can be very small; 32MB is doable, but a bit tight. 64MB is more
> than enough.  If you need more than that for /var, you probably
> shouldn't put /var on / anyway. You may want to move /compat/linux off
> of root.
> 
> Swap has to be twice memory (+ any mfs space) so the system can do a
> core dump on crashes. If you can afford the disk space, more isn't a
> bad thing.
> 
> /usr - with src & obj on it - a gig. If you're going to be building
> lots of ports and not cleaning up, more. I have 2 gig, src (> 500meg)
> elsewhere, and nothing but the system and ports on /usr, and I run out
> of room pretty regularly. That means I have to do a "make clean" in
> the ports tree.
> 
> 	<mike
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 


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?FB7CAC781DB6D311BEE800805FE6FADA2F4C06>