We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

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

abel
abel asked
on
Medium Priority
1,587 Views
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!
ScreenShot055.png
Comment
Watch Question

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Top Expert 2009

Author

Commented:
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?
Top Expert 2009

Author

Commented:
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.
Maciej Ssysadmin
CERTIFIED EXPERT
Commented:
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 ;)
Top Expert 2009

Author

Commented:
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?
Top Expert 2009

Author

Commented:
closing q. though the answer was not amongst them, I decided to go for a reinstall which worked well enough.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.