That is indeed an old post and much has changed. My Linode 80 is all grown up into a Linode 512 now, but it is still running the same filesystem layout. For newer machines, I have abandoned Logical Volume Manager so that I can use the Linode backup system. Here's a more up-to-date layout:
Code:
/dev/xvda 2.0G /
/dev/xvdb 256M swap
/dev/xvdc 4.0G /srv
/dev/xvdd 2.0G /var
/dev/xvde 1.0G /var/log
/dev/xvdf 24G /vmail
You can see that I have abandoned a lot of the separate partitions that I used to have -- experience has shown them to be unnecessary. I would still use a separate '/home' if there were a lot of 'real' users on the machine, to make it easier to preserve the data across system rebuilds, but this machine has only virtual mail users and a few admins -- hence the big '/vmail' partition. I keep a separate '/var/log' partition because it makes it easier to see when a problem is filling up the logs and reduces the problems that occur if a process goes mad and fills the log partition right up. The separate '/srv' and 'var' partitions are a personal preference -- we are moving a lot of stuff here from other servers and I resize them as we figure out what space we need. When we are done, I will allocate the unused space to vmail.
Kyle wrote:
1. What is/was the purpose of the separate /usr partition/image?
Experience has shown this to be unnecessary.
Kyle wrote:
2. You said that if a person doesn't need /opt, they don't need to separate it out. For what would it be needed as a separate partition/image?
See [1]
Kyle wrote:
3. What kinds of things do you find yourself storing in /home? Most people simply say "personal files." As someone who only wants to run a web server, I'm wondering what kinds of things I'd be storing in /home.
Nothing, apart from a few SSH certificates for connecting to other VPSs.
Kyle wrote:
4. What was the purpose of the "emergency" partition/image you recommended?
I used to keep a minimalist Debian distro installed for maintenance if I really broke the main install. Now, I use the Finnix recovery facility provided by Linode.
Kyle wrote:
5. Where do you store your website files?
Stuff that I create, I put in '/srv/www/websitename'. Things that the package manager installs (e.g. squirrelmail, postfixadmin, munin, aegir, drupal), I leave where they are ('/var/whatever', '/usr/share/whatever', etc.) and link to them from '/srv/www' if necessary.