LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-28-2003, 08:17 AM   #1
Kroenecker
Member
 
Registered: May 2003
Location: The States
Distribution: Gentoo
Posts: 245

Rep: Reputation: 30
partition filling up...grrrr


Just wondering how much you have allocated for the /usr partition on your systems. I am already at about 90% of my user partition and wanting to install Apache and give a try at a webserver, I am wondering what I should do. I am starting to have the feeling that even if Apache runs flawlessly at some point in the future I am going to have to deal with the /usr partition filling up due to my insatiable desire to install things....so should I try linking /usr to another partition on another disk? I may go as far as to backup my home directory as well as files I have personally made/altered (eg new kernel compile) and just reinstall the basic system so that I can give myself another gig in the /usr directory. That would be kindof a pain though. Any suggestions?
 
Old 10-28-2003, 08:56 AM   #2
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
The production solution to this type of problem is LVM (Logical Volume Manager), which allows you to dynamically resize your effective partition on the fly - at the cost of added complexity.

Short term, you might try creating a separate partition for all the neato SW you want to install, and mounting it as /usr/local. Just make sure you tarball an archive anything already located in /usr/local before you mount your new partition - then unload your tarball in your new partition. Once everything is hunky dory, you can temporarily unmount /usr/local, delete the files under the mount point, then remount. Make sure you update /etc/fstab to make your /usr/local mount automatic on reboot.
 
Old 10-28-2003, 04:18 PM   #3
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 58
Thread moved at Kroenecker's request.

Offhand, I was thinking /usr/local too, but RH or Debian probably means apt-get or rpm instead of source compiles... although the later would be a better learning experience, the former is a lot quicker and getting them to go anywhere but /usr/bin is onerous. Yeah, every once in a while, you just want to back up and start over. Although I'm with idaho, if you've got another disk around, or another partition you can zap, try out LVM, at least for the learning experience.

Cheers,

Finegan
 
Old 10-28-2003, 04:25 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
What's your current hdd layout/partitioning scheme?

You can always make a new directory on an "empty"
partition and mount that into your existing directory
structure if you don't want to start all over :)

This is just a short-term remedy, though, and I go
with idaho and fin ;) from a conceptual point of view.

Cheers,
Tink
 
Old 10-29-2003, 07:52 AM   #5
Kroenecker
Member
 
Registered: May 2003
Location: The States
Distribution: Gentoo
Posts: 245

Original Poster
Rep: Reputation: 30
Thanks guys and thanks finegan for moving my post. I will check out LVM. I guess that brings me to another point that I suppose I should look up, but....right now I have Redhat running grub as the bootloader for windows, debian, and RH9. Now if I just decide to install lilo to the MBR is there a chance that I could have a problem? I would like to do this so that I can remove redhat, install Slackware for some good healthy fun, and of course to be able to free up some space for debian using LVM. This is my last question so dont expect that by replying I will continue to hound you Just asking to see if you have done something like this before. I imagine that it should be very easy, but alterning somethign that could make booting a problem always makes me a bit nervous.
 
Old 10-29-2003, 11:53 AM   #6
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
There should not be any problems replacing grub with lilo. The procedure is to edit /etc/lilo.conf to your requirements, and then invoke lilo - repeating as necessary to resolve any errors reported by lilo after you invoke it.

Good luck.
 
Old 10-30-2003, 12:36 PM   #7
aus9
LQ Guru
 
Registered: Oct 2003
Posts: 5,124

Rep: Reputation: Disabled
You want to get rid of grub oh no. heh heh.

Now I am going to be a partiion bandit, so ignore me please

consider having 2 partitions, one for /boot and one for / (which includes the rest).

I know the gurus frown upon it, but if I read you correctly, you may get into partition trouble again soon with all the stuff you are doing.

The advantage of my technique is no parttiion fill ups until the whole drive or what ever you have partiioned linux for.

The disadvantage, is you may have to use quotas if your family are as happy to download and install as much as you

signed the partion bandit
 
Old 11-02-2003, 07:18 PM   #8
zick
LQ Newbie
 
Registered: Sep 2003
Posts: 26

Rep: Reputation: 15
Hi folks

Does any of you know how to install LVM 2.0 with device-mapper on Mandrake 9 ?
I REAME file and INSTALL file look like they are writen to people with experience and I am newbie to Pathes and Kernel configuration, compilation, etc... NEVER did that before so I am lost in the BIG mess. Can somebody give me info in steps from A-Z how to do that or at least some meaningfull info ?

Thx you help is appreciated.
 
Old 11-02-2003, 07:34 PM   #9
dkloes
Member
 
Registered: Oct 2003
Posts: 66

Rep: Reputation: 15
zick:
You need to start your own thread
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ready to pay someone to tell me how to fix this!! GRRRR DoobyWho Linux - General 8 07-23-2005 11:28 AM
/ partition filling up cgwillis Linux - Newbie 2 04-16-2004 03:31 PM
Filling the root partition causes... Uncreative Slackware 1 05-08-2003 07:46 AM
Citrix client install...grrrr 3742Main Linux - Software 1 02-07-2003 06:46 PM
grrrr gballard Linux - Networking 1 08-03-2002 02:33 AM


All times are GMT -5. The time now is 10:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration