From owner-freebsd-questions@FreeBSD.ORG Fri Oct 9 06:39:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06815106568B for ; Fri, 9 Oct 2009 06:39:59 +0000 (UTC) (envelope-from sektie@gmail.com) Received: from mail-pz0-f202.google.com (mail-pz0-f202.google.com [209.85.222.202]) by mx1.freebsd.org (Postfix) with ESMTP id CBD658FC08 for ; Fri, 9 Oct 2009 06:39:58 +0000 (UTC) Received: by pzk40 with SMTP id 40so6879047pzk.7 for ; Thu, 08 Oct 2009 23:39:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=a59Ft0j4mpLDI7P0kPbBhDwzkH4q4Nzo5qyPwuWj000=; b=g6sieSm3CEgfcRZS5+Rq2IPkdBBeHdqUA45w0Yf7jaBuEPlM0yU1UlOmyWVJDv7R57 HcEf0N2S1YcbO5/Wgy9izez5U0bMHAz5kbMlvGwLZNcIaBLVBe8Ua49a3ESsKv5ehjKY HgAQg6j94fPl0ahQcnvLweTnRdf6YaPCQw2QI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=YiqNLiS142ScLqOBw1cAC3RbYOM+kV0dKw33CcWZAxDt9ymZIg3n37ZDPd+91UwPMg vgJDGZVJ3FGbnHyijk5XlH7o4zD4byLPo5zw4UsdXjfXucomL3+Xskyk/z/ROqc6wsXd tZmFRI7i6g5vU8WEZ31WMvQnrIZGto1OgL3T0= MIME-Version: 1.0 Sender: sektie@gmail.com Received: by 10.142.249.7 with SMTP id w7mr190241wfh.317.1255070398316; Thu, 08 Oct 2009 23:39:58 -0700 (PDT) In-Reply-To: <4acd9c98.Mf06e1KlRm+blPrD%perryh@pluto.rain.com> References: <200910071110.n97BANiE012861@lurza.secnetix.de> <4acd9c98.Mf06e1KlRm+blPrD%perryh@pluto.rain.com> Date: Thu, 8 Oct 2009 23:39:58 -0700 X-Google-Sender-Auth: cd014cdb37859c6b Message-ID: From: Randi Harper To: perryh@pluto.rain.com Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: chrisstankevitz@yahoo.com, olli@lurza.secnetix.de, freebsd-questions@freebsd.org Subject: Re: / almost out of space just after installation 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: Fri, 09 Oct 2009 06:39:59 -0000 On Thu, Oct 8, 2009 at 1:02 AM, wrote: > At least as far back as SunOs 3.5* the installer was able to auto- > size the partitions based on the selected distribution sets. Of > course, this means that the installer must know the size of each > distribution set -- on each of /, /usr, and /var -- and that the > selection of what to install has to happen before the partitioning > is actually done. I would think that the sizing of the distribution > sets could easily be automated as part of the release process, and > that the needed reordering of the installation process would not > be all that difficult for someone familiar with sysinstall and > accustomed to coding in the language involved. > 1.) Look at the PR database and search for sysinstall. See all those open reports, some from 8 years ago? sysinstall needs some babying. There are bugs that need to be addressed, and I'm making those a much higher priority than feature requests, although this isn't to say that you can't submit a feature request anyways. 2.) The problem isn't that the current default partition sizing doesn't work with a newly installed system. It does. The problem is what happens afterwords: compiling a new kernel or two, installing third party software (while it's true that most files from installed ports are installed to /usr/local, that doesn't mean that they are all configured to only write data to /usr/local at run time, obviously), etc. syslogd is installed by default, but there's no way for me to know if you plan on logging to a remote host, or even using this host as a syslog server for multiple hosts, or what your log retention is going to be, nor do I know if this is going to be a database or mail server, so I can't guess the size of /var. Knowing the size of the data to be installed is easily enough done, but it's not going to solve this problem at all. 3.) Although your comparison to SunOS isn't really all that relevant, your complaint about default partition size is. This is something that I'm considering changing, although I expect some backlash/bikeshed. I've not yet run into problems with / unless I had more than 2 kernels around, but I have seen a default-sized /tmp fill up due to some third party software. I was thinking that a more acceptable default layout (leaving swap at it's current default size) would be: / = 1GB /var = 2GB /tmp = 2GB One thing to remember is that these are just suggested defaults. Most experienced users are going to use a custom layout when setting up a new server, so the goal here is to have partition sizes that work for everyone else. Although FreeBSD does work on older hardware, I'd guess that most of the hardware it is being installed on now is less than 10 years old. The defaults we currently have in place are outdated. They are targeted more for older systems, perhaps because sysinstall hasn't been touched in quite a while. I'm looking for community input on this, so feel free to pipe up with your $.02. -- randi