• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.

Resolved Change the disk where the domains are stored

Luis_V

New Pleskian
Hello
I need to change the hard drive where the domain data is stored, I've tried changing the directory in psa.conf, but it doesn't work. please help me
 
You can use different hard drive/partition even for specific domain if you want, but you need to prepare/mount these locations before using any transfer tools.
 
You can use different hard drive/partition even for specific domain if you want, but you need to prepare/mount these locations before using any transfer tools.
Ok thanks for the info, but I already had the hard drives mounted in raid 10 and still I haven't been able to make it work, can you tell me some tutorial?
 
If you didn't install Plesk yet:

Bash:
mkdir -p /var/www/vhosts

lsblk

mount /dev/<yourdevicename>/ /var/www/vhosts

lsblk (make sure it's mounted)

Then Install Plesk.

If you already installed Plesk:

Bash:
mkdir /var/www/vhosts2

mv /var/www/vhosts/* /var/www/vhosts2

lsblk (get your device name)

mount /dev/<yourdevicename>/ /var/www/vhosts

lsblk (make sure it's mounted)

mv /var/www/vhosts2/* /var/www/vhosts

rm -rf /var/www/vhosts/.skel/0

Requirements:

*You need to create full server backup before these operations.
*You need to make file system (mkfs) on the selected hard drive before these operations.
*You need to mount the location only when the target folder is empty.
*You need to make these changes persist on the next reboot by adding UUID in the fstab file.
*You need to remove the 0 folder on the last command after completion.
 
If you didn't install Plesk yet:

Bash:
mkdir -p /var/www/vhosts

lsblk

mount /dev/<yourdevicename>/ /var/www/vhosts

lsblk (make sure it's mounted)

Then Install Plesk.

If you already installed Plesk:

Bash:
mkdir /var/www/vhosts2

mv /var/www/vhosts/* /var/www/vhosts2

lsblk (get your device name)

mount /dev/<yourdevicename>/ /var/www/vhosts

lsblk (make sure it's mounted)

mv /var/www/vhosts2/* /var/www/vhosts

rm -rf /var/www/vhosts/.skel/0

Requirements:

*You need to create full server backup before these operations.
*You need to make file system (mkfs) on the selected hard drive before these operations.
*You need to mount the location only when the target folder is empty.
*You need to make these changes persist on the next reboot by adding UUID in the fstab file.
*You need to remove the 0 folder on the last command after completion.

Ok thank you very much I will try it if it works, I have already tried several methods and nothing if this works
 
Back
Top