Click to See Complete Forum and Search --> : Size of different filesystems
me_meteor
10-06-2001, 02:33 AM
I would like to ask how to size
'/', '/boot', '/user'or'/home'so that I can optimize my server(7G) for maxium users?
I intend to let
/boot be 50M
/swap be 256M ( I have 256M RAM)
/ be 4G
/user be 2G
/home be 1G
Am I right?Any principle here?
Thanks guy.
[ 06 October 2001: Message edited by: me_meteor ]
bdg1983
10-06-2001, 10:25 AM
First of all /user should be /usr.
If you are planning to have a lot of users on your system, then you should increase /home as the user directories will be created there.
You could take 1G away from / and add to /home.
Anyone else?
drmbb
10-06-2001, 11:04 AM
It, of course, does depend a bit on just how many users you plan on having, AND how many apps they will have access to (or install themselves).
I would cut your "/" to 1-1.5Gb, and even reduce /boot by half or more. I have a /boot partition of 15Mb, but that's only because I have about 5 kernels installed and play with that kind of thing a lot., so didn't want to be limited.
With multiple users, I would also make a separate /var partition (200-300Mb), just so your logs can't, knock wood, swamp your disk space in the event of tragedy.
Adjust your /usr and /home to reflect how many apps are common, and how much freedom you want to give users to install their own.
stiles
10-06-2001, 02:20 PM
when your slicing your disk up your usually trying to isloate your / partition. OK here's how I'd do it.
/ (root) 100MB-250MB (my current root partition is using 24MB)
/boot (if you need it) 10-20MB
/usr 2GB (maybe more, maybe less depends on how much software your going to install, up to you)
/swap 1GB (I'll explain why later)
/var 300-500MB (if you run a news, web or mail server increase this by the appropriate amount)
/home (whatever you need for your user accounts)
/tmp (if your running the 2.4 kernel use tmpfs, this is why swap is high, here's a link (http://www-106.ibm.com/developerworks/library/l-fs3.html) about tmpfs and how to use it, I like this cause it isloates /tmp from / and makes any scripts that have to create temp files run much faster, you can also do the same for /var/tmp)
me_meteor
10-06-2001, 11:45 PM
Wow, you guys teach and help me alots, and some is new to me(e.g. about tmpfs ). Thanks all.
Actually, my HD is 40G, as I want to install other Linux distros, BSD, and Unix in this HD(totally 6 OS, too much?),so I just give Red Hat Linux 7G space.(or The HD only for Red Hat is better?)
The reason I setup a server is :I am doing a school project'Secure Linux Server',so I think the number of users can be flexible(most typical is ok).
Any suggestion again for the size of filesystems? And building a Linux server on security issue.
P.S. I will post the ip address and invite nice guy to test my server later. ;)
[ 06 October 2001: Message edited by: me_meteor ]