Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am setting up an ubuntu server to be used for experimentation, testing and learning. Basically with LAMP and then setting up WordPress and most likely Drupal. I also plan to experiment with setting up a home intranet. This system will not be serving over the Internet.

My desktop has a fairly standard /, swap, /home partitioning scheme. Would this be an adequate scheme for the server as well? Or would it be beneficial to do something fancy like creating separate partitions for /usr, /var, /tmp, and /home?

I'll probably wind up doing things like corrupting MySQL and having to start over while on my learning curve. Also, I have 2 drives and plan on setting up with software RAID0 if that matters.

Thanks.

share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

For a production system it can be a good idea to put directories that can fill up quickly on their own partitions, like /tmp/ or parts of /var.

Sometimes you want to use different file systems or file systems with different parameters for some directories, like big mail or news spools which hold very much small files.

If /usr is on its own partition it can be mounted read-only so it doesn't get corrupted at system crashes.

For a learning system this things aren't needed - but maybe it's something you want to play with.

share|improve this answer
add comment

I think from your standpoint there would be no real benefit to creating more partitions outside of your standard partitioning scheme. Your not going to be overloading the system or mapping core directories to nfs shares or seperate drives, so I don't see any benefit to it.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.