How to increase filesystem size or add new filesystem to /usr?

Posted on 2009-02-17
Last Modified: 2013-12-06
Hi all,

Short question: what is the easiest way to increase size of a mounted volume to 8GB and what steps are needed.

Being new to FreeBSD I need some hands on step by step instructions, I don't seem to understand the manpages well because of too many too unfamiliar terms.

While installing KDE 4.2 (giving me many headaches, but that's a different story) the installation aborted because of not enough disk space. The FreeBSD system is inside a VMWare host and I can assign as much disk space as needed, but how do I do that? Can I use growfs? If so, how do I mount / unmount? I'd like to increase to 8GB, how do I do so? Can I add another Filesystem (partition?) to a mounted volume (meaning: /usr)? If yes, how?

Because I might not be using the right terms, I added a screenshot. The /usr entry is the one I want to increase.

Thanks for any help!
Question by:abel
    LVL 32

    Accepted Solution

    LVL 39

    Author Comment

    Thanks for your answer. The first link only seems to explain that mounting additional space is not possible to an existing mount. The second is about disk organization of which I'm aware. I'm after a hands-on step-by-step to increase my disk space. On Windows (or Linux) a third party tool like PartitionMagic should do, but I was under the impression that on well designed unix/bsd based systems such thing would not be necessary. Why else is there the growfs command?
    LVL 39

    Author Comment

    It can't be that hard, can it? Isn't there anybody around with sufficient freebsd experience that can show me how to do this?

    Increased points to 500.
    LVL 23

    Assisted Solution

    As far as I know, you can't do it on mounted filesystem.
    If you do it on mounted fs (from man growfs) "your system may panic and you will not be able to use the file system any longer". I think it's not worth trying ;)
    LVL 39

    Author Comment

    Thanks for your answer, oklit. If this is not the way to do it, what steps (hope they're quite trivial) can I undertake to enlarge the partition? Or can I unmount a part, use growfs and remount, even if it is in use (probably not)?

    In Windows I would use PartitionMagic or something along those lines. How do others deal with this?
    LVL 39

    Author Closing Comment

    closing q. though the answer was not amongst them, I decided to go for a reinstall which worked well enough.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
    Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now