To add my 2-cents worth... I have never found much use for separating out the /boot, /var, and /tmp filesystems. The practice harkens back to the day when a 100MB hard drive was considered HUGE! What's more, the assumption above is that "most" of your storage would be on the / (root) partition -- VERY bad form!
The general reason for all of the partitioning schemes before was to separate "user" files from "system" files. The / (root) partition will have several directory trees that house the *nix system files (like /dev, /etc, /bin, /sbin, /usr, /opt and a few more). Putting THOSE directories into your "main storage bin" is not recommended.
Because you have so much space available, I personally would allocate 20GB for root, 32GB for swap, the REST of the RAID1 array (roughly 180GB) as /home (for non-database files), and then partition the RAID10 array as needed for your database(s). (NOTE: I'm not being specific here because you haven't been specific about how many databases or db applications you're intending to run.) Just for "show", I'll say allocate all 750 raw GB into a single partition at /data.
More important than the partitions, IMHO, is your choice of filesystems. I would make the root (which in my scheme houses /boot, /etc, /bin, /tmp, /var, and the rest) an ext3 filesystem -- but I would then make the /home and /data partitions XFS filesystems -- faster access, better recovery options, and faster fsck on those few days you'll have to run it.
Now before I get slammed by everyone else that THEIR way is better, let me re-re-re-iterate that choosing your partitioning scheme and filesystems is akin to choosing your operating system -- which is to say EVERYONE has a different opinion, and clearly everyone else's opinion is based upon lies, falsehoods, misunderstandings, or plain and simple idiocy... (that's sarcasm, if you didn't recognize it). That being said, my opinion is worth exactly what you paid for it!
Good Luck!
Dan
IT4SOHO
Main Topics
Browse All Topics





by: mrcustardPosted on 2009-09-03 at 20:16:53ID: 25256635
I would do this:
Raid 1
/boot = 100MB
/var = 5GB
/swap = 32GB
/tmp = 10GB
/home = 200GB
/ = what ever is left
Raid 10
/<database partition> = separate the partitions as needed
The os doesn't really need much, but I like to give enough room for logs (var), tmp, and home. Here's why:
/var - logs can build up quickly if there are issues, if you deal with application teams they will write as many logs as they can without regard to how much space is actually on the server. Mail for the server is also stored on this partition so if you are using the local mail MTA for alerts and there is a problem, mail will stack up on the partition.
/tmp - just good practice - you never know what or who will write something here. Some Oracle guys like to use the /tmp partition.
/home - when people download and install software - this is where the generally store it ... it will make your users more comfortable.
hope this helps!