• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Migration failed (space...)

Z

zeki79

Guest
hello
i want to move domains from one server to another

server1:

/dev/mapper/VolGroup00-LogVol00
80407368 60277128 16045712 79% /
/dev/sdb1 103210940 89897192 8070940 92% /home
/dev/sdc1 20635700 18617720 969744 96% /home/httpd/vhosts/domain.xy
/dev/sda1 101086 22849 73018 24% /boot
none 1936704 160 1936544 1% /dev/shm
/filesystems/tmp_fs 1032088 45536 934124 5% /tmp

server2:
filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 8022104 5360236 2247796 71% /
/dev/sdc1 101572540 3059560 93270172 4% /var
/dev/sdd1 203145236 9357248 183302368 5% /home
/dev/sdb1 988088 62444 874640 7% /tmp
/dev/sda1 101086 18069 77798 19% /boot
tmpfs 1548556 0 1548556 0% /dev/shm
tmpfs 1548556 0 1548556 0% /usr/local/psa/handlers/before-local
tmpfs 1548556 0 1548556 0% /usr/local/psa/handlers/before-queue
tmpfs 1548556 0 1548556 0% /usr/local/psa/handlers/before-remote
tmpfs 1548556 28 1548528 1% /usr/local/psa/handlers/info
tmpfs 1548556 0 1548556 0% /usr/local/psa/handlers/spool


when i move (s1 to s2) a domain bigger than 2.2GB i get a no space error on the migration.log
as migration path on the agent i use /home/migration (and there i have enough space)


any tip?

thanks
zeki
 
The problem in that there is lack of diskspace in /tmp partition. Problem fixed in 9.5.0 version.
 
okay, it exist a workarround to move the domains?

when i mount a bigger temporary partition to /tmp. the problem is solved?

greets
zeki
 
hi igor
where is the spce needed?

a) source server1
b) source and destination server1+2
b) destination server2

thanks
zeki
 
my server1 now have this:

/dev/mapper/VolGroup00-LogVol00
80407368 61964612 14358228 82% /
/dev/sdb1 103210940 88367500 9600632 91% /home
/dev/sdc1 20635700 18618080 969384 96% /home/httpd/vhosts/gallery.contura08.ch
/dev/sda1 101086 22849 73018 24% /boot
none 1936704 0 1936704 0% /dev/shm
/dev/sdd1 51605436 97064 48886968 1% /tmp


and i have still this error:

[root@xy 20100329192752309]# tail migration.log
17:38:13 INFO ------------------------------------------------------------


NotEnoughSpace: Selected filesystem has only 2223996928 free space, but 3355475349 is needed for operation [./actions.cpp:446]
[19:41:54|INFO:28930:p.log] Launchpad finished. Exit code: 2
[root@xy 20100329192752309]#


are you sure, that /tmp have to be bigger?

thanks
zeki
 
Do you have 2223996928 free disk space anywhere on destination server?
 
thats my destition server:

filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 8022104 5360236 2247796 71% /
/dev/sdc1 101572540 3059560 93270172 4% /var
/dev/sdd1 203145236 9357248 183302368 5% /home
/dev/sdb1 988088 62444 874640 7% /tmp
/dev/sda1 101086 18069 77798 19% /boot
tmpfs 1548556 0 1548556 0% /dev/shm
tmpfs 1548556 0 1548556 0% /usr/local/psa/handlers/before-local
tmpfs 1548556 0 1548556 0% /usr/local/psa/handlers/before-queue
tmpfs 1548556 0 1548556 0% /usr/local/psa/handlers/before-remote
tmpfs 1548556 28 1548528 1% /usr/local/psa/handlers/info
tmpfs 1548556 0 1548556 0% /usr/local/psa/handlers/spool


i dont know why plesk say, that i need 2223996928 free space :(
 
Despite specifying /var partition as data dump location (Look at "Directory on the target host where Migration Manager will transfer and store temporary migration files." in Plesk Migration Manager GUI), still /usr partition is used for intermediate data storage.
Alternative solution is possible by symlinking /usr/local/psa/PMM directory to directory in /var partition where you have enough disk space. You can move content of /usr/local/psa/PMM directory to /var/migration/PMM and create symlink from /usr/local/psa/PMM to /var/migration/PMM with something like
# ln -s /var/migration/PMM /usr/local/psa/PMM

But note that it is just sample and you can have other structure of /var directory! Use it as sample.
 
cool, now it works. so the path i can put in before the migration start dont have an effect. the data still stored in /usr.... that was i dont understand. now all its clear....

thanks igor
 
Back
Top