SimplerCloud Pte Ltd

×
×

How do I make use of my data-disk for my Plesk data files?

Back

Since Plesk was installed as part of the OS template (on the Ubuntu+Plesk template), it was installed on the root-disk, which has limited capacity.

To make use of your data-disk (mounted under /data on your servelet) for your Plesk data files, such as the website files or the mailboxes, you can move some specific folders to your data-disk, and create symbolic link to it. It's advisable to do this right after you installed and configured Plesk, before you add any new domains or sites.

Some folders which you can move to the data-disk are:

/var/www/vhosts - websites/domains content
/var/qmail - mail configuration/content

You will have to understand basic Unix commands to do these steps.

These are the steps on how to move /var/www/vhosts to /data/vhosts and create the symbolic link for /var/www/vhosts:

cd /var/www
mv vhosts /data
ln -s /data/vhosts vhosts

To verify:

root@Ubuntu-12043-Plesk-3:/var/www# ls -la vhosts
lrwxrwxrwx 1 root root 12 Sep 18 15:38 vhosts -> /data/vhosts

These are the steps on how to move /var/qmail to /data/qmail and create the symbolic link for /var/qmail:

cd /var
mv qmail /data
ln -s /data/qmail qmail

To verify:

root@Ubuntu-12043-Plesk-3:/var# ls -la qmail
lrwxrwxrwx 1 root root 11 Sep 18 15:39 qmail -> /data/qmail

Was this article helpful?
Dislike0 Like0
Views: 19558