• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 223
  • Last Modified:

Partition & Size

I have no time to read the doc.
Which partitions I need ?
/usr
/
swap ???
How many percent of hard drive for each partitions?

Thanks for all of your comments.
0
us111
Asked:
us111
  • 5
  • 5
  • 3
1 Solution
 
forzaCommented:
I would recommend this:

/boot 10-20M
/ ~300M
/usr - here goes your programs etc, so make it as large as possible...

swap approx. the size of your physical memory.

This should give you enough space for almost everything

0
 
us111Author Commented:
I prefer to reject the answer in order to leave the question opened.
But if your answer is good I will grade it
0
 
us111Author Commented:
post again your answer as a comment
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
forzaCommented:
I would recommend this:

/boot 10-20M
/ ~300M
/usr - here goes your programs etc, so make it as large as possible...

swap approx. the size of your physical memory.

This should give you enough space for almost everything
0
 
wittyCommented:
forza's values are ok,
but I would prefer double the size of your RAM as "/swap", if you memory is less than 256MB!!

If you have many users on your box, then you will need a large "/home", too!

and if you are alone on your machine - and you don't need any security, then you can join your "/" and "/boot"!

Michael
0
 
forzaCommented:
Sorry, witty is right, I have twice the size of my RAM as /swap, 256MB as my RAM is 128MB.
And remember, you can always add temporary swap files later if you some time need to do some heavy memory consuming operations.
0
 
us111Author Commented:
All of your comment are acceptable.
I will ask another question: how about /opt or /var

After that the winner will be witty or forza ?

0
 
wittyCommented:
This depends on what you want to do with the server.
You didn't tell us what the server is for!

michael
0
 
us111Author Commented:
web
0
 
forzaCommented:
If it's a big multiuser system /var should be about 100MB and maybe you should consider giving /var/mail its own partition.
On a big server /opt could be 5-20MB.
But if you want, you can get away with just one large /usr partition...

0
 
forzaCommented:
If it's a big multiuser system /var should be about 100MB and maybe you should consider giving /var/mail its own partition.
On a big server /opt could be 5-20MB.
But if you want, you can get away with just one large /usr partition...

0
 
wittyCommented:
.. for use as I web server I indeed would link /opt to /usr/local and I wouldn't make an extra partition!!!

michael
0
 
us111Author Commented:
sorry witty.
maybe next time
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 5
  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now