From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 20:02:08 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C193016A400 for ; Tue, 6 Mar 2007 20:02:08 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id 7973C13C4A3 for ; Tue, 6 Mar 2007 20:02:07 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from archangel.daleco.biz ([69.27.149.254]) by ezekiel.daleco.biz (8.13.4/8.13.1) with ESMTP id l26K25Y7017609; Tue, 6 Mar 2007 14:02:06 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <45EDC8B7.1050909@daleco.biz> Date: Tue, 06 Mar 2007 14:01:59 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.2pre) Gecko/20070221 SeaMonkey/1.1 MIME-Version: 1.0 To: Jerry McAllister References: <69af686f0703060819r557fea9cj22cd8c560f17e9a4@mail.gmail.com> <45EDABC0.2060306@daleco.biz> <20070306183951.GA9940@gizmo.acns.msu.edu> In-Reply-To: <20070306183951.GA9940@gizmo.acns.msu.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Joshua Kordani , freebsd-questions@freebsd.org Subject: Re: using sysinstall upgrade as a repair solution X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 20:02:08 -0000 Jerry McAllister wrote: > > The long ago origins of making things in many partitions was when > disks were much much smaller. So were backup media. It was common > to have each piece on a separate disk. Then disks got big enough > to put more than one part on and so on. > > Now, there are a couple of good reasons to still divide a disk in to > partitions. One is mentioned, sort of, above. You want to isolate > areas that may grow unexpectedly from critical disk space. So, /var > which contains logs and database stuff and spools gets its own partition > to keep it from over-filling root. /tmp and user home directory space > are also such disk areas whose growth might not be predictable. > > Another reason is for convenience with backups. You may want to > reduce the size of partitions that are being backed up, either to > fit media or to be more convenient. If only stuff in the partition > with users' home directories changes, then you only have to make > regular backups of that. The other parts you only backup when you > make a new install or whatever. Some things like /tmp you don't bother > to ever back up. It also can be less to have to restore if one > partition goes belly up, though that is less true nowdays when the users' > space (not necessarily /usr - that is an old convention. Now it is > common to use /home for users' home directories, since /usr really contains > installed software) may be by far the largest space on a system, depending > on how the system is used. > > Another reason to break things up is to have to load the least amount > possible when there are problems. You have to have / to boot in to > single user mode to work on things. But you don't have to have the > rest of the stuff. The smaller you make root the less likely some > disk problem will show up in the root partition, making it more likely > you can get at least some of the system up to work on the problem. > > The fourth reason to have separate partitions is to make it easier > to isolate things. You may want to make a certain amount of space > available for users to write in, but want to keep them out of other > space. There are various ways to do it. Having things grouped > conveniently in some defined area makes it a little easier. > What Jerry said ;-). Thanks for expressing what I couldn't OTTOMH. >> Incidentally, 150MB doesn't seem very large for a root partition IMHO. >> I've not read the handbook recently, but I generally use a gig for /. > > If you divide out /var and /usr and /tmp and /home, then 150 MB is > plenty for root. I am currently using about 120 MB on this machine > which is due a good cleanup. I only partition /, /var/, and /usr/, so /tmp stays in the root slice; I make mention of this fact (150M being small) because of the previously-mentioned case in which installworld puked because / was full (this *was* with a separate /tmp) and there was nothing really there except default stuff (had been a DesktopBSD system, maybe someone with more experience there could comment). The box was going from 5.3 under an (older) DesktopBSD test install to FBSD 6.2; I worked 'round the issue by moving /stand, but ended up re-installing 6.2 from CD to give a slightly more junior guy more experience with sysinstall (AAMOF I've made him do it on two boxen today, heh heh heh).... Kevin Kinsey -- Life is what happens to you while you're busy making other plans. -- John Lennon, Beautiful Boy