Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How would you allocate around 18.5 GB (don't laugh) on a linux install for a webserver? I'm installing opensuse 11.3. I know I need to allocate a lot to /var, but not sure how much to allocate to /. Here's what I currently have:

Swap   1GB
/boot  47.07MB
/      2.14 GB
/var   10 GB

Should I split between / partition and /var? 5 and 5GB?

share|improve this question
up vote 1 down vote accepted

I would create only /, swap and may be /boot partitions. If it is not clear why to partition and how much, it is much better to create a big /.

share|improve this answer
---sounds good! – user68814 Jan 30 '11 at 19:13

Partition 0.5 GiB of disk space for a /boot partition, and leave the rest for use with LVM (Logical Volume Management).

Then allocate, say, 10.0 GiB of Logical Volumes (LVs) for swap and filesystems. Here is a sample breakdown that should work to start:

  • 1.0 GiB: swap
  • 3.0 GiB: /
  • 1.0 GiB: /home
  • 5.0 GiB: /var

This will leave you with roughly 8.0 GiB of unallocated space in LVM to use to expand any partition that starts to look cramped. The great thing about this approach is that it allows you to defer space allocation decisions to the future, when you will actually know more about your disk usage needs.

share|improve this answer

Your Answer


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.