LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-07-2004, 12:21 PM   #1
fzx1
Member
 
Registered: Apr 2004
Posts: 31

Rep: Reputation: 15
Partition Info


mount point type size
/ ext2 800 MB
/usr ext2 5000 MB
/usr/local ext2 3000 MB
/home ext2 5200 MB
swap swap 1000 MB

i saw this on a website, i know my linux is partitioned with

/boot
/
swap

what does adding hard drive space to /usr do?
lets say i partition 10gb to / wouldn't /usr be entitled to using it?
so adding 5gb to /usr gives that particular directory 5 more gigs of space only usable in the folder?
 
Old 04-07-2004, 12:45 PM   #2
Gnuru
Member
 
Registered: Jan 2004
Posts: 53

Rep: Reputation: 15
Your partitioning is fine. And is ideal for a newbie or SOHO system.

The problem with mounting directories on dedicated partitions is that if your needs change it is far harder to change the partition size rather than if you had just put the whole file system on one partition.

On the other hand, dedicated partitions for certain file systems can make backing up easier. For example, you might want to backup /var and /home quite frequently as they are likely to change often.

Similarly, you might want to put /usr/local on a separate system and back it up reasonably often because it contains sotware that does not form a standard part of a distribution.

Some people might decide to put /usr on a separate partition and never back it up because they reckon they can install all the software from scratch easily if something goes wrong.

It can also be a good idea to put data that is updated often onto different partitions that are rarely updated because the more writes there are to disk the higher the chance of something going wrong, so /var and /home should sometimes be on their own partition(s) and a different one from /usr or /opt.

If you are running servers different considerations apply. If I was running a news server I'd certainly put /var/spool/news on its own partition and if I was running a mail server /var/mail (or /var/spool/mail) should be on its own.

It just depends on what you want to do, but your scheme is beautiful for its simplicity. There are a few more thoughts here:

http://gnuru.org/index.pl?node_id=700
 
Old 04-07-2004, 12:57 PM   #3
fzx1
Member
 
Registered: Apr 2004
Posts: 31

Original Poster
Rep: Reputation: 15
Great job explaining that. I had a rough idea of the concept but now its clear.
 
Old 04-07-2004, 01:03 PM   #4
fzx1
Member
 
Registered: Apr 2004
Posts: 31

Original Poster
Rep: Reputation: 15
im not running any dedicated servers or anything but just in case lets say:

i did

/ and /usr/name

when im in linux and i save something to /usr/name such as a link or file, is it physically stored on the /usr/name partition or on the / partition?

the /boot on my partition was setup by the install cd for fedora, is there any reason /boot would need its own partition?

Last edited by fzx1; 04-07-2004 at 01:32 PM.
 
  


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
Wrong partition table info Maik Linux - General 5 01-19-2005 01:42 PM
Do you see anything unusual in my partition info (FC1) slackist Linux - Newbie 2 06-01-2004 10:38 AM
Partition Info /, /usr, ext2 Eric Garib Linux - Newbie 7 07-10-2003 12:17 PM
Partition info help BamaFeva Linux - Newbie 5 10-28-2002 11:12 AM
Hard drive partition info dai Linux - General 4 08-09-2002 06:13 AM


All times are GMT -5. The time now is 02:32 PM.

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