• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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