• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Temporary moving /var/www to mount new disk as /var/www

hbudin

New Pleskian
Server operating system version
Centos 7.9
Plesk version and microupdate number
Obisdian 18.05
Hi,

i am using Azure VM instance with Plesk preinstalled (Centos version). It come with boot disk of 30 GB, so added new 300 GB /dev/sdc1 (drive to use for storage of data inside /var/www folder)
Question - i already configured some sites and everything is working from /var/www/vhosts folder on boot disk. Server is not in production yet.
I want to mount /dev/sdc1 300 gb drive as /var/www mount point, but as this is currently used by real /var/www folder I am wndering how "dangrous" is to temporary do
Code:
mv /var/www /var/wwwtemp
, then mount 300 gb drive as /var/www. After that do mv to move all files from /var/wwwtemp to /var/www which will actually copy them to 300 GB disk space now mounted as /var/www
 
A bulk of your user's data is going to be in vhosts. I would recommend just leaving the 30GB as is, and then move the vhosts directory to the new 300GB partition by using the transvhosts utility;

https://support.plesk.com/hc/en-us/...ge-virtual-hosts-location-in-Plesk-for-Linux-
But moving via transvhosts requires to degrade security by chaning SElinux option - as per instructions Centos should stay in permissive mode. I think trade-off with securirty degradation is not worth it.
On second look, whole /var/ folder - should go to 300 gb partition because there are logs, mysql datafiles, psa dumps.... that can griow really big and 30 gb won't do it

I think I will cross my fingers and do movings :)
 
Back
Top