• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Question How do I move the "/var/lib/mysql" and "/var/qmail/mailnames" directories to a different volume under /mnt/drivename/... ?

Tim den Dikken

New Pleskian
Hi Pleskians,

I'm hosting on a DO droplet which I configured with a extra drive mounted via the /mnt/ folder in Plesk. As I want to give all the subscriptions some extra disk, e-mail and database space. I already moved the vhosts folder with the "transvhosts.pl" utility. This works great now, this leaves me with the "/var/lib/mysql" and "/var/qmail/mailnames" folder yet to be moved.

I've looked all over the form and there has been some threads here and there, but none of them seem to have a complete solution. I assume it is not as simple as just moving the directories as for the vhosts it changed all the config files.

I really hope someone could help me out here!
 
You can use bind command and add line to /etc/fstab

/mnt/disc/qmail /var/qmail/mailnames none defaults,bind 0 0
/mnt/disc/mysql /var/mysql none defaults,bind 0 0

Don't forget to set the correct permissions and owner.
 
of course - a little mistake in 2nd line: (mysql datadir is default /var/lib/mysql)

/mnt/disc/mysql /var/lib/mysql none defaults,bind 0 0
 
Back
Top