Migration fails due to insufficient disk space on the source server to store temporary files for transfer.

Created:

2016-11-16 12:43:00 UTC

Modified:

2017-04-24 12:14:16 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Migration fails due to insufficient disk space on the source server to store temporary files for transfer.

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

Symptoms

A. Tried to transfer data from another one Plesk server and got the Warning:

    Insufficient disk space on the source server to store temporary files for transfer. Available: 16868 MB. Required: 109833 MB. Please free disk space on the source server.

Is it possible to increase the disk space with external hard drive and how can we do that?

B. Got the same warinig, where stated that: Available: 0 MB. Required: 500 MB.

Cause

A. Insufficient disk space on the source server.

B. The default path for 'tail' points to a binary, different from the one which is provided by 'coreutils' package.

Resolution

A. Change the location of temporary file in Migration Manager settings:

  • Migration & Transfer Agent upload path
  • Temporary Files Location

If there is not enough disk space, an external hard drive can be attached and mounted to a separate directory. Then this directory can be used as location for upload path and temporary files.

  1. Create a new directory (for upload path):

    # mkdir /new_disk
  2. Mount the new hard drive to that directory :

    # mount /dev/sdb1 /new_disk -t ext3 -o rw
  3. Create var directory inside the new directory (for temporary files):

    #  mkdir /new_disk/var
  4. Set permissions to avoid write access problems by Plesk Migrator:

    # chmod -R 755 /new_disk
  5. Start the new migration with new paths for upload directory and temporary files.

Note: /tmp/ directory does not contain any huge temporary files which can significantly reduce free disc space. In this case there is no any reasons to extend this partition.

B. Verify that path for 'tail' points to a valid binary which is provided by 'coreutils' package.

    # which tail
/bin/tail

     # rpm -qf /bin/tail
file /bin/tail is not owned by any package

     # rpm -ql coreutils | grep tail 
/usr/bin/tail

Either replace with proper file or create a symlink to it.

# mv /bin/tail{,.invalid}
# ln -s /usr/bin/tail /bin/tail
Have more questions? Submit a request
Please sign in to leave a comment.