Recommended partition size for each filesystem?
i would like to setup more then 1 partition on my linux box when i install it, and was wondering what you guys would recommend for the partition sizes for these various filesystems, I've got a 10gig HD, so i dont have to worry too much about space:
swap (512meg) / (256meg) /tmp (128meg) /var (256meg) /usr (1024meg) /usr/local (600meg) /home (2048meg) /scr0 (?) and any other partitions you can recommend? the sizes in () are what i've found just searchin websites. are they good? or bad. Vector :Pengy: |
How much of the 10G's do you have to use? You really don't NEED that many partitions, but you can. The swap could be lower depending on how much RAM you have. This is MY opinion so of course it's not law (it should be) LOL!!! ;) Assuming you can use the whole 10G's I would do this:
/ = 9,750MB /swap = 250MB There you have it...This is just how I like to have mine, other ideas may work also. It's your preference. |
i can use the whoel 10gig, its dedicated for linux. but i would prefer more partitions rather then just / and swap
|
Putting everything (except swap) in one big partition is certainly a bad idea.
At the very least I would put /home on a different partition so that is can survive the rest of the system being blown away. Having /var is quite a good idea if you are running a newserver or doing a lot of logging. My layout is Code:
Filesystem Size Used Avail Use% Mounted on |
If you are using separate partitions for /usr, /usr/local, /var, etc., neither / nor /home need to be too large. Also, if you have 265M of RAM or more, a swap of 128M is more than enough for a normal desktop box. Here's how I've split my 10G:
Code:
Filesystem 1k-blocks Used Available Use% Mounted on |
Quote:
|
If it's Redhat make a /boot partition big enough for the kernels you will have, It will complain about less then 20 MB but you should not ever need more than that.
/boot should be the first thing on the drive physically |
All times are GMT -5. The time now is 07:49 PM. |