Index | Thread | Search

From:
"Theo de Raadt" <deraadt@openbsd.org>
Subject:
Re: /usr size needed for upgrade
To:
jasites <jas@jasites.com>
Cc:
Adriano Barbosa <barbosa.aob@gmail.com>, tech@openbsd.org
Date:
Fri, 24 Oct 2025 12:52:57 -0600

Download raw body.

Thread
  • jasites:

    /usr size needed for upgrade

  • Bunkmate:

    /usr size needed for upgrade

  • jasites <jas@jasites.com> wrote:
    
    > > On Oct 24, 2025, at 09:39, Adriano Barbosa <barbosa.aob@gmail.com> wrote:
    > > 
    > > Hi,
    > > 
    > > The upgrade instructions say "Verify that the /usr partition has a
    > > size of at least 1.1G". My upgrade 7.8 failed because there wasn't
    > > enough space in /usr, but my partition size is 2.0G.
    > > /dev/sd1e      2.0G    1.7G    205M    90%    /usr
    > > 
    > > Should the instructions be updated, or do they refer to *free* space?
    > > 
    > 
    > Since others have been helpfully answering how you might go about cleaning up space, or what to look for in that partition, but not answering this question directly, I hope to correctly answer based on reading previous messages on these lists. If I’m wrong, then you’ll have another justification for updating the instructions, at least for clarity.
    > 
    > According to https://openbsd.org/faq/upgrade78.html, where it says “Verify that the /usr partition has a size of at least 1.1G”, the line is prefaced with “Check available disk space in /usr”, which I read to mean that the /usr partition should have at least that much free space available.
    
    Your interpretation is incorrect.
    
    It is presuming a few things:
    
    1) that /usr/local and other sub-directories are seperate partitions
    
    2) that you don't have a massive pile of junk from old releases, in particular
       shared libraries, which we cannot delete because we don't know if there is
       some binary somewhere relying upo that library
    
    But it is a general rule.  If you want to read specific details into it which
    we didn't write, you get all the pieces because there's no warranty or
    refunds.
    
    
  • jasites:

    /usr size needed for upgrade

  • Bunkmate:

    /usr size needed for upgrade