Guest User

Untitled

a guest
Feb 20th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.07 KB | None | 0 0
  1. Hello,
  2.  
  3. I apologize for all the confusion. In point of fact, you are correct about the drive configuration on the CCI interfering with the migration.
  4.  
  5. [15:05:50|INFO:23217:p.log] CantRetrieveDump: Error during dump retrieval [./actions.cpp:490]
  6. Inner exception: NotEnoughSpace: Selected filesystem has only 20213747712 free space, but 54164103334 is needed for operation [./actions.cpp:446]
  7.  
  8. Plesk's default configuration is for the site data directories to be on the servers primary drive. For scalability and dependability reasons, the CCIs have a small primary drive for OS and service operation, and a secondary drive for data storage:
  9.  
  10. [root@test ~]# df -h
  11. Filesystem Size Used Avail Use% Mounted on
  12. /dev/xvda2 25G 4.1G 19G 18% /
  13. /dev/xvda1 97M 27M 66M 29% /boot
  14. tmpfs 513M 0 513M 0% /dev/shm
  15. tmpfs 513M 0 513M 0% /usr/local/psa/handlers/before-local
  16. tmpfs 513M 0 513M 0% /usr/local/psa/handlers/before-queue
  17. tmpfs 513M 0 513M 0% /usr/local/psa/handlers/before-remote
  18. tmpfs 513M 0 513M 0% /usr/local/psa/handlers/info
  19. tmpfs 513M 0 513M 0% /usr/local/psa/handlers/spool
  20. /dev/xvdc1 148G 188M 148G 1% /disk2
  21. [root@test ~]#
  22.  
  23. While it does present a road bump, its not insurmountable. In fact the migration manager has a feature to designate where the dump files are placed on the destination server:
  24.  
  25. "Directory on the target host where Migration Manager will transfer and store temporary migration files."
  26.  
  27. In the configuration of the migration, this should allow you to have that massive amount of data moved over to the /disk2 folder, where you have space for it.
  28.  
  29. Of course, this is only half the battle. Once the dumps are moved over, they have to be restored to the operating directories. Plesk has the vhost directory set by default at /var/www/vhosts/domainname.com. Unfortuantely, /var is on the primary drive which does not have enough space for your data. Your server has 148G on the /disk2 partition, and since you have 106GB of data that you need to move over, this would be the logical location for your sites to be at. The default vhost home directory folder is set in /etc/psa/psa.conf. I've taken the liberty of changing this for you:
  30.  
  31. [root@test ~]# diff /etc/psa/psa.conf /root/psa.conf.backupbySL
  32. 31c31
  33. < HTTPD_VHOSTS_D /disk2/www/vhosts
  34. ---
  35. > HTTPD_VHOSTS_D /var/www/vhosts
  36. [root@test ~]#
  37.  
  38. I do see one more potential hurdle. According to the error message, the migration requires 54164103334 Bytes, or just over 50 GigaBytes. The dump file for moving over the data wont be deleted until the restoration process is complete. Using your aforementioned designation of 106 GB of data needing to be moved, this means you need at least 154 GB of space for the migration to complete successfully.
  39.  
  40. My suggestion is to go ahead and try the migration without upgrading first. Perhaps it will squeak by. However, you may likely need to upgrade your secondary disk to a 200 GB Local Disk.
Add Comment
Please, Sign In to add comment