• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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