[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2009-02-17
8
Medium Priority
?
1,553 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
0
Comment
Question by:abel
  • 4
6 Comments
 
LVL 32

Accepted Solution

by:
Kamran Arshad earned 1000 total points
ID: 23689015
0
 
LVL 39

Author Comment

by:abel
ID: 23732757
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?
0
 
LVL 39

Author Comment

by:abel
ID: 23937823
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.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 23

Assisted Solution

by:Maciej S
Maciej S earned 1000 total points
ID: 23945182
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 ;)
0
 
LVL 39

Author Comment

by:abel
ID: 23970138
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?
0
 
LVL 39

Author Closing Comment

by:abel
ID: 31547895
closing q. though the answer was not amongst them, I decided to go for a reinstall which worked well enough.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses
Course of the Month18 days, 15 hours left to enroll

834 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