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.