Search code examples
debianpartitioningdedicated

Does it makes sense to partition a dedicated server hard drive?


I am going to install Debian on our new dedicated server and I have a chance to set up hard drive partitions.

The server has two 750GB drives configured as RAID 1. We are going to have 10 Postgresql databases, where each database will be about 2 GB. There will be of course Apache/PHP on this server too. We'll use the server for only our own web applications.

The hosting company strongly recommends to create separate two partitions. First small one for "/" and second very big for the "/home". But I have some doubts about this. I have a feeling that one big partition for "/" directory is just fine. Answers to this question suggest also that it doesn't make sense to divide the disk into several partitions.

Is disk partitioning still relevant in such cases?


Solution

  • It is relevant if you have a place where data may fill up the partition and prevent something else from running; application log files may fill up a partition and leave no tmp space for other apps to write to, or the OS to write to, so yes, there are still relevant reasons to partition. Just look at what you need and decide if anything could prevent the rest of the system from being used. If so, you want to partition that off so if it does max out space, it only harms itself.