From owner-freebsd-questions Tue Sep 26 7:44:59 2000 Delivered-To: freebsd-questions@freebsd.org Received: from boat.mail.pipex.net (our.mail.pipex.net [158.43.128.75]) by hub.freebsd.org (Postfix) with SMTP id 91FE937B42C for ; Tue, 26 Sep 2000 07:44:45 -0700 (PDT) Received: (qmail 19289 invoked from network); 26 Sep 2000 14:44:44 -0000 Received: from mailhost.puck.pipex.net (HELO mailhost.uk.internal) (194.130.147.54) by our.mail.pipex.net with SMTP; 26 Sep 2000 14:44:44 -0000 Received: (qmail 4875 invoked from network); 26 Sep 2000 14:44:43 -0000 Received: from camgate2.cam.uk.internal (172.31.6.21) by mailhost.uk.internal with SMTP; 26 Sep 2000 14:44:43 -0000 Received: by camgate2.cam.uk.internal with Internet Mail Service (5.5.2650.21) id ; Tue, 26 Sep 2000 15:43:53 +0100 Message-ID: From: Daniel Bye To: 'Mike Meyer' Cc: questions@freebsd.org Subject: RE: Max partitions per slice Date: Tue, 26 Sep 2000 15:38:53 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. > > > > > 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