Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > The Community > Everything BSD > Need help with expanding disk space in root directory

Forgot Password?
 Everything BSD   For all discussions regarding Free/NetBSD and OpenBSD.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 05-15-2007   #1 (permalink)
Just Joined!
 
Join Date: May 2007
Posts: 2
Need help with expanding disk space in root directory

Hi Forum,

This is my first post. The organization that I am working for is using a squid/Dans -guardian proxy server and the person who set it up was smart enough to put 100MB of space on root directory and 10GB on home.

Now the root directory has run out of space and I cannot save any changed to the squid config file or dans guardian config file. I was wondering if there any way to move the free space on home directory to root directory. Also I would need to do it through command line as the version of linux in use is totally command line based. ( The linux Distro being used is FreeBSD, and I believe its atleast a 3 year old version). Command line gurus please help.......................

Last edited by devils casper; 05-15-2007 at 04:04 PM.. Reason: moved to Everything BSD Forum.
msood is offline  



Reply With Quote
Old 05-15-2007   #2 (permalink)
Linux Guru
 
anomie's Avatar
 
Join Date: Mar 2005
Location: Texas
Posts: 1,696
Is adding another disk an option here? Which version of FreeBSD is this? uname -a will tell you.

I don't know of a way to shrink a ufs partition (only grow it).

Also, FreeBSD is not a Linux distro. There is a separate forum here for BSD questions.
anomie is offline   Reply With Quote
Old 05-16-2007   #3 (permalink)
Just Joined!
 
Join Date: May 2007
Posts: 2
Quote:
Originally Posted by anomie View Post
Is adding another disk an option here? Which version of FreeBSD is this? uname -a will tell you.

I don't know of a way to shrink a ufs partition (only grow it).

Also, FreeBSD is not a Linux distro. There is a separate forum here for BSD questions.

uname -a, resulted in the following -

OpenBSD proxy.gwl.local 3.6 GENERIC#59 i386

Buying a new hard drive can be an option as well. What's the trick there?
msood is offline   Reply With Quote
Old 05-16-2007   #4 (permalink)
Linux Guru
 
anomie's Avatar
 
Join Date: Mar 2005
Location: Texas
Posts: 1,696
msood,

You're running OpenBSD (not FreeBSD). Unfortunately I can't help with that.

Quote:
Buying a new hard drive can be an option as well. What's the trick there?
Here's the strategy on a general level:
  • Add a second physical disk.
  • Create a new partition / disklabel for it.
  • Move the /usr filesystem from to its own partition (on the new disk).
  • (You might consider a more elaborate strategy where you move /tmp and /var off as well.)

Since I haven't worked with OpenBSD, I won't be able to give you specifics instructions.

Check out the OpenBSD Frequently Asked Questions -- section 14 may (or may not) be helpful.

Good luck.
anomie is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 05:34 AM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1