Why it is nesessary to allocate /var, /tmp and root partition separately

Created:

2016-11-16 13:10:02 UTC

Modified:

2017-05-22 16:28:04 UTC

2

Was this article helpful?


Have more questions?

Submit a request

Why it is nesessary to allocate /var, /tmp and root partition separately

Applicable to:

  • Plesk 12.5 for Linux

Question

Is it necessary to allocate /tmp, /var, root partitions separately?What if all the disk space is allocated to root file system?

Answer

It is strongly recommended to allocate /tmp, /var, root partitions separately. /var and /tmp partitions' content is very variable and separate partitioning helps avoid filling the disk at 100% of its capacity. This way, only a particular partition can run out of disk space bringing some services down. The system will stay functional.

If all the disk space is allocated to root file system, potentially, disk overflow can happen. For example, all disk space can be filled with mail messages, web content, temporary data used by some application, or backup files. It can bring all system down.

Have more questions? Submit a request
Please sign in to leave a comment.