• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Using the second Hard Disc in Plesk.

U

ullone

Guest
I have the problem that i have 2 HD and the first is quite full. I would like to use the second HD in Plesk.
Have you some instructions about using the second HD in plesk ?
Yes. At the moment. In my experience the second drive , with Plesk, is useful only to store backups. I have not any backup , then, it is useful for nothing. My problem is that with 100 domains , i have in /home/httpd/vhosts/ 25 GB of files php. I do not store any backup at the moment in the second drive. My problem is that if possible i would like to move some domains (the php files) from /home/httpd/vhosts/ in the first hard disk to a location in the second hard disk , but is it possible to change the dir that refer plesk from /home/httpd/vhosts/ to a location in the second server ?
What is the system to use the second HD in Plesk ? If it is not possible for me to use the second HD in Plesk the second HD is not useful for nothing. Have you some instructions about using the second HD in plesk ?
 
/opt/psa/bin/transvhosts.pl -h | head -1
Utility to transfer vhosts content to new place.
 
Since you are such a big proponent of Xen what exactly is it and how will it help this user's disk space problem? I looked at the web site and it's not really obvious (to me at least).
 
xen is a slightly different approach to machine virtualization (ala vmware, etc)

doesnt sound like so much of a plesk problem as a mount point problem. You will need to look at your mount point config. try:

df -h
cat /etc/mtab
cat /etc/fstab

- to get an idea of how you mount points are being used

It is possible to move mount points to other disks and/or resize non boot partitions.

this is NOT for the inexperienced linux admin!

It would likely require booting into runlevel 1 (maintenance mode?) and dd'ing and remounting partitions.... again - this is not a beginner or even intermediate admin task...

edit:
there are several different ways and preferences on partitioning a linux box, but many times, the / (root) and /home (home) and /boot (boot/kernel) partitiosn will be separated

while im guessing it would be possible to split up the /home mount point, i doubt that it would be adviseable. I would move the /home mount point on a separate disk if necessary (this is adviseable for security & performance reasons anyhow), or look at expanding the size of the partition (and respectively decreasing the size of another unnecessarily large partition?)


PSS. now that I think of it, it should be possible to shut down all services using /home partition, format and create a big partition on the second drive, dismount and copy (dd) the old /home partition to the new drive, then edit /etc/fstab and /etc/mtab to point to the new partition, then remount the new partition. Other partitions like / (root) and /var will require more delicate handling (can't be done so easily)
 
Also bear in mind if you're doing this work on a new install the path to web files changed in Plesk 7.5.4 from /home/http/vhosts to /var/www/vhosts on Plesk 8.0 (on my box at least!)
 
Back
Top