From owner-freebsd-bugs Sat Dec 9 7:50:10 2000 From owner-freebsd-bugs@FreeBSD.ORG Sat Dec 9 07:50:02 2000 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 045CA37B401 for ; Sat, 9 Dec 2000 07:50:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eB9Fo1j30023; Sat, 9 Dec 2000 07:50:01 -0800 (PST) (envelope-from gnats) Resent-Date: Sat, 9 Dec 2000 07:50:01 -0800 (PST) Resent-Message-Id: <200012091550.eB9Fo1j30023@freefall.freebsd.org> Resent-From: gnats-admin@FreeBSD.org (GNATS Management) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: gnats-admin@FreeBSD.org, kelly@geeba.net Received: from geeba.net (unknown [63.170.231.16]) by hub.freebsd.org (Postfix) with ESMTP id 42A6237B400 for ; Sat, 9 Dec 2000 07:47:58 -0800 (PST) Received: (from kelly@localhost) by geeba.net (8.11.1/8.11.1) id eB9Fm1c63958; Sat, 9 Dec 2000 07:48:01 -0800 (PST) (envelope-from kelly) Message-Id: <200012091548.eB9Fm1c63958@geeba.net> Date: Sat, 9 Dec 2000 07:48:01 -0800 (PST) From: Sean Kelly Reply-To: kelly@geeba.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: conf/23402: sysinstall upgrade ought to check partition sizes Resent-Sender: gnats@FreeBSD.org Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 23402 >Category: conf >Synopsis: sysinstall upgrade ought to check partition sizes >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Dec 09 07:50:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Sean Kelly >Release: FreeBSD 4.2-RELEASE i386 >Organization: Hardly any >Environment: Running sysinstall upgrade on a 3.1-RELEASE system with a / parition with 32MB in size. >Description: Back in my SunOS 3.5 and 4.1 days, I partitioned systems with a small root. I've done the same with FreeBSD. Back in the 2.0 days, 32MB was more than generous. I could give 64MB to /var and have plenty of space for logs and email. 192MB for /usr, which was mounted read-only, was sufficient. /usr/local and /home would be where all the action took place. 32MB under / was generous. But now it barely fits the kernel and the loadable modules. It'd sure be nice if sysinstall could check your partition sizes against your chosen distributions and say "Your /usr partition isn't large enough to hold the selected packages" or "Your root partition needs to be at least 58MB". >How-To-Repeat: Make a FreeBSD 3.1 system with a 32MB root partition. Run the 4.2 sysinstall and choose upgrade. Read the scary stuff, proceed with the upgrade. Mark the mountpoints for the previous filesystems. Choose distributions. Proceed. Wait for the File System Full messages to appear. This has happened before, too, when my /usr was too small. I now have a /usr of 300MB, and a 4.2 system with man, catman, info, and doc is 94% full. >Fix: Realize that things are only going to get bigger and repartition before you upgrade. Blow away /sbin/mount_* for unsupported/buggy filesystems. Move /stand to /usr and symlink it. Remove loadable modules you won't need. Drop kernel.GENERIC. Config a small kernel. Scratch and scrape for every last bit of space and hope there's enough room for kernel.old in case the new one doesn't work. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message