1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Migration failed (space...)

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by zeki79, Mar 28, 2010.

  1. zeki79

    zeki79 Guest

    0
     
    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
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    The problem in that there is lack of diskspace in /tmp partition. Problem fixed in 9.5.0 version.
     
  3. zeki79

    zeki79 Guest

    0
     
    okay, it exist a workarround to move the domains?

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

    greets
    zeki
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Look at this thread. I hope it will help.
     
  5. zeki79

    zeki79 Guest

    0
     
    thanks igor!
     
  6. zeki79

    zeki79 Guest

    0
     
    hi igor
    where is the spce needed?

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

    thanks
    zeki
     
  7. zeki79

    zeki79 Guest

    0
     
    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
     
  8. zeki79

    zeki79 Guest

    0
     
    igor or any one who know that? ;-)
     
  9. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Do you have 2223996928 free disk space anywhere on destination server?
     
  10. zeki79

    zeki79 Guest

    0
     
    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 :(
     
  11. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    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
    But note that it is just sample and you can have other structure of /var directory! Use it as sample.
     
  12. zeki79

    zeki79 Guest

    0
     
    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
     
Loading...