Date: Sat, 9 Dec 2000 07:48:01 -0800 (PST) From: Sean Kelly <kelly@geeba.net> To: FreeBSD-gnats-submit@freebsd.org Subject: conf/23402: sysinstall upgrade ought to check partition sizes Message-ID: <200012091548.eB9Fm1c63958@geeba.net> Resent-Message-ID: <200012091550.eB9Fo1j30023@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012091548.eB9Fm1c63958>
