I realize that this is a pretty open ended question and everyone has their opinion and every situation is different depending on what you want to do with the server. I've read every post on Linode's forums about partitioning I can find taking in everyone's opinion and advice. This is what I'm thinking for a partitioning scheme. I'm looking for advice, comments, criticism, etc
Intended use of the server: web using Lighttpd (host 4 or 5 sites), database MySQL (for the 4 or 5 sites), PHP, shell account (for me)
I don't intend on hosting sites for other people, though that could happen so I am trying to set things up to make that easier to do without making a lot of changes in the future.
Code:
/ = 1 GB
/home = 2 GB (for just keeping junk and personal stuff on, probably will make this smaller in the future as my ~ on my shared host only has 31MB of stuff in it)
/var = 5 GB (contains logs, cache, www)
/usr = 2 GB
/tmp = 256 MB
EDIT (forgot /swap):
/swap = 256 MB
Should I split /var into other partitions, /var/www, /var/log, etc or just wait and see how things actually go on my server and sites?
Is /tmp too small in your experience or opinion?
What about /usr? It's my understanding that's where programs typically get installed on Linux.
I'm mostly looking to separate any "dynamic" data from / to keep / from filling up. Though I could just go with one big 8GB or 9GB partition and run a cron job to run a script to check disk usage and notify my if free space falls below a specified amount.