How should hard drive be partitioned for Plesk Linux installation?

Created:

2016-11-16 12:44:55 UTC

Modified:

2017-04-24 11:16:46 UTC

1

Was this article helpful?


Have more questions?

Submit a request

How should hard drive be partitioned for Plesk Linux installation?

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk Onyx for Linux
  • Plesk 11.0 for Linux
  • Plesk 12.0 for Linux
  • Plesk 10.x and below for Linux

Question

How should hard drive be partitioned for Plesk Linux installation?

Answer

Plesk for Linux OS stores user data in the /var directory, by default, so the partitioning should be set up as follows:

SWAP     ->     defer to recommendations from the OS vendor (usually RAMx2)

/boot -> 128 MB

/ -> system + Plesk, updates. 5-10 GB should be enough

/tmp -> greater than 3 GB for Plesk 11.0 and later

/var -> the rest of the space (domains, mail, backups, and databases are stored there)

Note: it may vary. The /usr/local/psa/tmp/ directory (for domains backups) as well as the /usr/local/psa/PMM/tmp/ one (for full server backups) are used as a temporary placeholder for backups. For instance, when downloading a backup file via Plesk GUI, a temporary file with the same size is created in those locations.

Directories, that usually contain large amounts of data, include:

  • /var/www/vhosts ( /srv/vhosts on SuSE) - domains content

  • /var/qmail - mail configuration/content

  • /var/lib/mysql ' - MySQL databases

  • /var/lib/psa/dumps - Plesk client/domain backups

  • /var/lib/pgsql/data - PostgresQL databases

  • /var/tomcat \* - Tomcat applications

  • /var/lib/mailman - Mailman lists

The /etc/psa/psa.conf file defines other directories used by Plesk.

On Debian and Ubuntu , Plesk files are located in /opt/psa directory.

Currently supported operating systems for Plesk Onyx can be found on the product requirements page at Release Notes for Plesk Onyx for Linux Systems .

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