Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-14-2002, 12:29 PM   #1
LQ Newbie
Registered: Jun 2002
Posts: 2

Rep: Reputation: 0
Linux File System

Every time I've installed & used linux in the past I have the same problem.
Im sure that its related to my lack of knowledge.

I have partitions set up like so:
500MB /
17 GB /usr
500MB swap

Now as I start installing new progs my root dir fills up 'til finally the system starts running crappy,
& nothing works. At boot up partmon tells me that ./ has <0> space.
I go in & rm some mp3s and stuff, then like magic everything starts running right. :P

My question is: What am I doing wrong? Why is this stuff filling up my root partion?
Old 06-14-2002, 01:08 PM   #2
LQ Newbie
Registered: Jun 2002
Posts: 9

Rep: Reputation: 0
I'm not 100% sure, but perhaps if you make "/" 17 GB and "/usr" only 500 MB, possibly it may work, but I'm not for sure though. Just a suggestion.
Old 06-14-2002, 01:28 PM   #3
Registered: Apr 2002
Location: Michigan
Distribution: Slackware 8.0
Posts: 197

Rep: Reputation: 30
I think you misunderstood what the usr directory is. You must of thought that that is the home directory for your users; am I right?

Well you need to make /home 17 gigs, because that is where every users home directory is. When you download stuff to from internet, using your user account, they will go to the /home/<username> directory, and since you have set / to be 500 megs it is filling this up.

I don't think that you need to set up a partition for /usr.

maybe make / 1 Gig
/home 16.5 Gig
/swap 500 megs

Hope this helps.
Old 06-14-2002, 02:14 PM   #4
Registered: Jan 2002
Location: California
Distribution: Red Hat
Posts: 402

Rep: Reputation: 30
i guess the /usr is for the installed programs purposes...unless u are in need of many programs installed to be running on your system, then u need to setup large disk for /usr.

Basically, there are 3 partitions which need to be setup for, as for basic setup only, they are the /, /boot and the swap.

dun worry for a large disk on the / partition, as Linux filesystem is not prone to crashing always unlike windows filesystem
Old 06-14-2002, 02:44 PM   #5
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 8.04
Posts: 668

Rep: Reputation: 31
Checkout this O'Reilly site for a good general explanation of the Linux filesystem layout. The site also talks about what to allocate to each high level directory in the structure, but those guidelines are by no means mandatory.

If you are going to separate the directories under / into their own partitions, just remember what each directory is for and size based on your best guess. If you load a lot of software, then maybe /usr, or even /opt, may need to be big. If you download a lot of tunes or have a lot of documents, then maybe /home needs to be large.

On my present setup I have everything, except swap, under /. I have a new hard drive that I will install soon and will probably separate out /var, do some aggressive log rotation, and hopefully not fill it up too soon. But then again, mine is just a simple, non critical home use system.

Last edited by jglen490; 06-14-2002 at 02:45 PM.
Old 06-14-2002, 08:01 PM   #6
LQ Newbie
Registered: Jun 2002
Posts: 2

Original Poster
Rep: Reputation: 0
Thanx guys.
Im going down for a repartion then.
Preciate all the help


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
figuring out 'file system' and 'swap file system' types TrulyTessa Linux - Newbie 3 09-26-2005 06:46 PM
linux file system namich Linux - Software 2 04-13-2005 09:28 PM
let linux seethe other file system plusu Linux - Hardware 1 10-22-2004 12:04 PM
linux file system cerebellum Linux - Newbie 4 06-04-2004 02:46 AM
Linux File System Jerrac Linux - Newbie 4 12-16-2003 04:26 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:47 PM.

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